| Package | Description |
|---|---|
| com.onelogin.saml2.authn | |
| com.onelogin.saml2.logout | |
| com.onelogin.saml2.util |
| 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.
|
protected void |
SamlResponse.validateAudiences()
Validates the audiences.
|
protected void |
SamlResponse.validateDestination(Element element)
Validate the destination.
|
boolean |
SamlResponse.validateSignedElements(ArrayList<String> signedElements)
Verifies that the document has the expected signed nodes.
|
protected void |
SamlResponse.validateSpNameQualifier(String spNameQualifier)
Validates a SPNameQualifier.
|
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 fully built and ready to validate the saml response.
|
| Modifier and Type | Method and Description |
|---|---|
SamlResponseStatus |
LogoutResponse.getSamlResponseStatus()
Gets the Status of the Logout Response.
|
| Modifier and Type | Method and Description |
|---|---|
static SamlResponseStatus |
Util.getStatus(String statusXpath,
Document dom)
Get Status from a Response
|
Copyright © 2018. All rights reserved.