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<org.apache.wss4j.common.saml.bean.AttributeStatementBean> attributeBeanList) Set the list of AttributeStatementBeans.voidsetAuthDecisionStatementBeans(List<org.apache.wss4j.common.saml.bean.AuthDecisionStatementBean> authDecisionBeanList) Set the list of AuthDecisionStatementBeans.voidsetAuthenticationBeans(List<org.apache.wss4j.common.saml.bean.AuthenticationStatementBean> authBeanList) Set the list of AuthenticationStatementBeans.voidsetConditionsBean(org.apache.wss4j.common.saml.bean.ConditionsBean conditionsBean) Set the ConditionsBeanvoidSet the issuer namevoidsetSubjectBean(org.apache.wss4j.common.saml.bean.SubjectBean subjectBean) Set the SubjectBeanvoidsetTokenProviderParameters(TokenProviderParameters tokenProviderParameters) Set the TokenProviderParameters.
-
Constructor Details
-
SamlCallbackHandler
public SamlCallbackHandler()
-
-
Method Details
-
setAttributeBeans
public void setAttributeBeans(List<org.apache.wss4j.common.saml.bean.AttributeStatementBean> attributeBeanList) Set the list of AttributeStatementBeans. -
setAuthenticationBeans
public void setAuthenticationBeans(List<org.apache.wss4j.common.saml.bean.AuthenticationStatementBean> authBeanList) Set the list of AuthenticationStatementBeans. -
setAuthDecisionStatementBeans
public void setAuthDecisionStatementBeans(List<org.apache.wss4j.common.saml.bean.AuthDecisionStatementBean> authDecisionBeanList) Set the list of AuthDecisionStatementBeans. -
setSubjectBean
public void setSubjectBean(org.apache.wss4j.common.saml.bean.SubjectBean subjectBean) Set the SubjectBean -
setConditionsBean
public void setConditionsBean(org.apache.wss4j.common.saml.bean.ConditionsBean conditionsBean) Set the ConditionsBean -
setTokenProviderParameters
Set the TokenProviderParameters. -
setIssuer
Set the issuer name -
handle
- Specified by:
handlein interfaceCallbackHandler- Throws:
IOExceptionUnsupportedCallbackException
-