public interface IAssertionValidator
| Modifier and Type | Method and Description |
|---|---|
void |
configure(ConfigurationBean configuration) |
org.opensaml.saml2.core.Assertion |
getAssertionObject(String assertionString)
Generates an assertion object from a string
|
org.opensaml.saml2.core.Assertion |
validateAssertions(String xml)
This method is invoked by the clients/stubs to validate the signature of
assertions using the public key of the signed entity read from a file, returns null if signature is not valid
|
boolean |
validateSignature(org.opensaml.saml2.core.Assertion assertion)
Validates the signature of the assertion
|
boolean |
validateTimeInterval(org.opensaml.saml2.core.Assertion assertion)
Validates the lifetime of the assertion basing on the notBefore and notOnOrAfter properties
|
void configure(ConfigurationBean configuration)
org.opensaml.saml2.core.Assertion validateAssertions(String xml) throws AssertionValidationException, org.opensaml.xml.ConfigurationException
xml - SAML assertion in StringAssertionValidationException - in case of any exceptionsorg.opensaml.xml.ConfigurationException - if an invalid configuration has been insertedorg.opensaml.saml2.core.Assertion getAssertionObject(String assertionString)
assertionString - boolean validateTimeInterval(org.opensaml.saml2.core.Assertion assertion)
assertion - boolean validateSignature(org.opensaml.saml2.core.Assertion assertion)
throws org.opensaml.xml.ConfigurationException
assertion - the assertionorg.opensaml.xml.ConfigurationExceptionCopyright © 2017. All Rights Reserved.