| Package | Description |
|---|---|
| com.onelogin.saml2.authn |
| Modifier and Type | Method and Description |
|---|---|
void |
SamlResponse.checkStatus()
Checks the Status
|
HashMap<String,List<String>> |
SamlResponse.getAttributes()
Gets the Attributes from the AttributeStatement element.
|
List<String> |
SamlResponse.getIssuers()
Gets the Issuers (from Response and Assertion).
|
static SamlResponseStatus |
SamlResponse.getStatus(Document dom)
Get Status from a Response
|
void |
SamlResponse.loadXmlFromBase64(String responseStr)
Load a XML base64encoded SAMLResponse
|
ArrayList<String> |
SamlResponse.processSignedElements()
Verifies the signature nodes:
- Checks that are Response or Assertion
- Check that IDs and reference URI are unique and consistent.
|
boolean |
SamlResponse.validateSignedElements(ArrayList<String> signedElements)
Verifies that the document has the expected signed nodes.
|
boolean |
SamlResponse.validateTimestamps()
Verifies that the document is still valid according Conditions Element.
|
| Constructor and Description |
|---|
SamlResponse(Saml2Settings settings,
HttpRequest request)
Constructor to have a Response object full builded and ready to validate
the saml response
|
Copyright © 2017. All rights reserved.