|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.rampart.saml.SAMLAssertionHandler
public abstract class SAMLAssertionHandler
A class to handle attributes to common SAML1 and SAML2 assertions.
Constructor Summary | |
---|---|
SAMLAssertionHandler()
|
Method Summary | |
---|---|
abstract org.apache.axiom.om.OMElement |
getAssertionElement()
Gets the assertion element as an Axiom OMElement. |
java.lang.String |
getAssertionId()
|
abstract byte[] |
getAssertionKeyInfoSecret(org.apache.ws.security.components.crypto.Crypto signatureCrypto,
TokenCallbackHandler tokenCallbackHandler)
Gets the secret in assertion. |
java.util.Date |
getDateNotBefore()
|
java.util.Date |
getDateNotOnOrAfter()
|
abstract boolean |
isBearerAssertion()
Checks whether SAML assertion is bearer - urn:oasis:names:tc:SAML:2.0:cm:bearer |
protected abstract void |
processSAMLAssertion()
|
protected void |
setAssertionId(java.lang.String assertionId)
|
protected void |
setDateNotBefore(java.util.Date dateNotBefore)
|
protected void |
setDateNotOnOrAfter(java.util.Date dateNotOnOrAfter)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SAMLAssertionHandler()
Method Detail |
---|
public java.lang.String getAssertionId()
protected void setAssertionId(java.lang.String assertionId)
public java.util.Date getDateNotBefore()
protected void setDateNotBefore(java.util.Date dateNotBefore)
public java.util.Date getDateNotOnOrAfter()
protected void setDateNotOnOrAfter(java.util.Date dateNotOnOrAfter)
public abstract boolean isBearerAssertion()
protected abstract void processSAMLAssertion()
public abstract byte[] getAssertionKeyInfoSecret(org.apache.ws.security.components.crypto.Crypto signatureCrypto, TokenCallbackHandler tokenCallbackHandler) throws org.apache.ws.security.WSSecurityException
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 abstract org.apache.axiom.om.OMElement getAssertionElement() throws TrustException
TrustException
- if an error occurred while converting Assertion to an OMElement.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |