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, setDateNotOnOrAfter
public SAML2AssertionHandler(org.opensaml.saml2.core.Assertion samlAssertion)
public boolean isBearerAssertion()
isBearerAssertion
in class SAMLAssertionHandler
protected void processSAMLAssertion()
processSAMLAssertion
in class SAMLAssertionHandler
public byte[] getAssertionKeyInfoSecret(org.apache.ws.security.components.crypto.Crypto signatureCrypto, TokenCallbackHandler tokenCallbackHandler) throws org.apache.ws.security.WSSecurityException
SAMLAssertionHandler
getAssertionKeyInfoSecret
in class SAMLAssertionHandler
signatureCrypto
- 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
SAMLAssertionHandler
getAssertionElement
in class SAMLAssertionHandler
TrustException
- if an error occurred while converting Assertion to an OMElement.Copyright © Apache Software Foundation. All Rights Reserved.