public class SAML2AssertionHandler extends SAMLAssertionHandler
| Constructor and Description |
|---|
SAML2AssertionHandler(org.opensaml.saml2.core.Assertion samlAssertion) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.axiom.om.OMElement |
getAssertionElement()
Gets the assertion element as an Axiom OMElement.
|
byte[] |
getAssertionKeyInfoSecret(org.apache.ws.security.components.crypto.Crypto signatureCrypto,
TokenCallbackHandler tokenCallbackHandler)
Gets the secret in assertion.
|
boolean |
isBearerAssertion()
Checks whether SAML assertion is bearer - urn:oasis:names:tc:SAML:2.0:cm:bearer
|
protected void |
processSAMLAssertion() |
getAssertionId, getDateNotBefore, getDateNotOnOrAfter, setAssertionId, setDateNotBefore, setDateNotOnOrAfterpublic SAML2AssertionHandler(org.opensaml.saml2.core.Assertion samlAssertion)
public boolean isBearerAssertion()
isBearerAssertion in class SAMLAssertionHandlerprotected void processSAMLAssertion()
processSAMLAssertion in class SAMLAssertionHandlerpublic byte[] getAssertionKeyInfoSecret(org.apache.ws.security.components.crypto.Crypto signatureCrypto,
TokenCallbackHandler tokenCallbackHandler)
throws org.apache.ws.security.WSSecurityException
SAMLAssertionHandlergetAssertionKeyInfoSecret in class SAMLAssertionHandlersignatureCrypto - Signature crypto info, private,public keys.tokenCallbackHandler - The token callback class. TODO Why ?org.apache.ws.security.WSSecurityException - If an error occurred while validating the signature.public org.apache.axiom.om.OMElement getAssertionElement()
throws TrustException
SAMLAssertionHandlergetAssertionElement in class SAMLAssertionHandlerTrustException - if an error occurred while converting Assertion to an OMElement.Copyright © Apache Software Foundation. All Rights Reserved.