|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.eng.rdlab.soa3.assertion.validation.Assertionsvalidation
public class Assertionsvalidation
Assertions validator - This class provides the functionality to validate the signature of the assertions xmlobject
| Constructor Summary | |
|---|---|
Assertionsvalidation()
This is a requirement for the Opensaml lib - public no arg constructor |
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Assertionsvalidation()
| Method Detail |
|---|
public void configure(ConfigurationBean configuration)
configure in interface IAssertionValidator
public org.opensaml.saml2.core.Assertion validateAssertions(String xml)
throws AssertionValidationException,
org.opensaml.xml.ConfigurationException
IAssertionValidator
validateAssertions in interface IAssertionValidatorxml - SAML assertion in String
AssertionValidationException - in case of any exceptions
org.opensaml.xml.ConfigurationException - if an invalid configuration has been insertedpublic org.opensaml.saml2.core.Assertion getAssertionObject(String assertionString)
IAssertionValidator
getAssertionObject in interface IAssertionValidatorpublic boolean validateTimeInterval(org.opensaml.saml2.core.Assertion assertion)
IAssertionValidator
validateTimeInterval in interface IAssertionValidator
public boolean validateSignature(org.opensaml.saml2.core.Assertion assertion)
throws org.opensaml.xml.ConfigurationException
IAssertionValidator
validateSignature in interface IAssertionValidatorassertion - the assertion
org.opensaml.xml.ConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||