Class SamlCallbackHandler
- java.lang.Object
-
- org.apache.cxf.sts.token.provider.SamlCallbackHandler
-
- All Implemented Interfaces:
CallbackHandler
public class SamlCallbackHandler extends Object implements 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 Constructor Description SamlCallbackHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(Callback[] callbacks)voidsetAttributeBeans(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 ConditionsBeanvoidsetIssuer(String issuerName)Set the issuer namevoidsetSubjectBean(org.apache.wss4j.common.saml.bean.SubjectBean subjectBean)Set the SubjectBeanvoidsetTokenProviderParameters(TokenProviderParameters tokenProviderParameters)Set the TokenProviderParameters.
-
-
-
Method Detail
-
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
public void setTokenProviderParameters(TokenProviderParameters tokenProviderParameters)
Set the TokenProviderParameters.
-
setIssuer
public void setIssuer(String issuerName)
Set the issuer name
-
handle
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
- Specified by:
handlein interfaceCallbackHandler- Throws:
IOExceptionUnsupportedCallbackException
-
-