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 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

      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:
      handle in interface CallbackHandler
      Throws:
      IOException
      UnsupportedCallbackException