Class SamlCallbackHandler
java.lang.Object
org.apache.cxf.sts.token.provider.SamlCallbackHandler
- All Implemented Interfaces:
CallbackHandler
This CallbackHandler implementation is populated with SAML Beans by the SAMLTokenProvider, and is tasked
with setting them on a SAMLCallback object, which will be parsed (by WSS4J) into a SAML Assertion.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetAttributeBeans(List<AttributeStatementBean> attributeBeanList) Set the list of AttributeStatementBeans.voidsetAuthDecisionStatementBeans(List<AuthDecisionStatementBean> authDecisionBeanList) Set the list of AuthDecisionStatementBeans.voidsetAuthenticationBeans(List<AuthenticationStatementBean> authBeanList) Set the list of AuthenticationStatementBeans.voidsetConditionsBean(ConditionsBean conditionsBean) Set the ConditionsBeanvoidSet the issuer namevoidsetSubjectBean(SubjectBean subjectBean) Set the SubjectBeanvoidsetTokenProviderParameters(TokenProviderParameters tokenProviderParameters) Set the TokenProviderParameters.
-
Constructor Details
-
SamlCallbackHandler
public SamlCallbackHandler()
-
-
Method Details
-
setAttributeBeans
Set the list of AttributeStatementBeans. -
setAuthenticationBeans
Set the list of AuthenticationStatementBeans. -
setAuthDecisionStatementBeans
Set the list of AuthDecisionStatementBeans. -
setSubjectBean
Set the SubjectBean -
setConditionsBean
Set the ConditionsBean -
setTokenProviderParameters
Set the TokenProviderParameters. -
setIssuer
Set the issuer name -
handle
- Specified by:
handlein interfaceCallbackHandler- Throws:
IOExceptionUnsupportedCallbackException
-