Package org.apache.wss4j.stax.test.saml
Class SAML2CallbackHandler
- java.lang.Object
-
- org.apache.wss4j.dom.common.AbstractSAMLCallbackHandler
-
- org.apache.wss4j.dom.common.SAML2CallbackHandler
-
- org.apache.wss4j.stax.test.saml.SAML2CallbackHandler
-
- All Implemented Interfaces:
CallbackHandler
public class SAML2CallbackHandler extends SAML2CallbackHandler
A Callback Handler implementation for a SAML 2 assertion. By default it creates an authentication assertion using Sender Vouches.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.wss4j.dom.common.AbstractSAMLCallbackHandler
AbstractSAMLCallbackHandler.Statement
-
-
Field Summary
-
Fields inherited from class org.apache.wss4j.dom.common.AbstractSAMLCallbackHandler
authenticationInstant, certIdentifier, certs, conditions, confirmationMethod, customAttributeValues, ephemeralKey, issuer, issuerFormat, resource, sessionNotOnOrAfter, statement, subjectConfirmationData, subjectConfirmationNameID, subjectLocalityDnsAddress, subjectLocalityIpAddress, subjectName, subjectNameIDFormat, subjectQualifier
-
-
Constructor Summary
Constructors Constructor Description SAML2CallbackHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(Callback[] callbacks)
void
setSignAssertion(boolean signAssertion)
-
Methods inherited from class org.apache.wss4j.dom.common.SAML2CallbackHandler
setSubjectName
-
Methods inherited from class org.apache.wss4j.dom.common.AbstractSAMLCallbackHandler
createAndSetStatement, createKeyInfo, getAssertionAdviceElement, getAuthenticationInstant, getEphemeralKey, getIssuerCrypto, getIssuerName, getIssuerPassword, getKeyInfoElement, getSubjectConfirmationNameID, isSignAssertion, setAssertionAdviceElement, setAuthenticationInstant, setCertIdentifier, setCerts, setConditions, setConfirmationMethod, setCustomAttributeValues, setIssuer, setIssuerCrypto, setIssuerFormat, setIssuerName, setIssuerPassword, setKeyInfoElement, setResource, setSessionNotOnOrAfter, setStatement, setSubjectConfirmationData, setSubjectConfirmationNameID, setSubjectLocality, setSubjectNameIDFormat
-
-
-
-
Method Detail
-
setSignAssertion
public void setSignAssertion(boolean signAssertion)
- Overrides:
setSignAssertion
in classAbstractSAMLCallbackHandler
-
handle
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
- Specified by:
handle
in interfaceCallbackHandler
- Overrides:
handle
in classSAML2CallbackHandler
- Throws:
IOException
UnsupportedCallbackException
-
-