|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAssertionValidator
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
void configure(ConfigurationBean configuration)
org.opensaml.saml2.core.Assertion validateAssertions(String xml)
throws AssertionValidationException,
org.opensaml.xml.ConfigurationException
xml - SAML assertion in String
AssertionValidationException - in case of any exceptions
org.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 assertion
org.opensaml.xml.ConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||