Class WSTrustSAMLAuthenticator


  • public class WSTrustSAMLAuthenticator
    extends Object
    Provides a WS-Trust SAML2 Authenticator parser class for delegated user authentication.

    Security Manager Configuration Parameters

    Below is the list of Security Manager configuration Parameters which are used by this class.
    • SAML Group Attribute Name
    • SAML XML Node Name
    • WS-Addressing Endpoint Reference
    • WS-Trust Endpoint URI
    • WS-Trust Request Template
    Since:
    4.1.3
    • Field Detail

      • PARAMETER_SAML_GROUP_ATTRIBUTE_NAME

        public static final String PARAMETER_SAML_GROUP_ATTRIBUTE_NAME
        The Security Manager Parameter Name "SAML Group Attribute Name"
        See Also:
        Constant Field Values
      • PARAMETER_SAML_XML_NODE_NAME

        public static final String PARAMETER_SAML_XML_NODE_NAME
        The Security Manager Parameter Name "SAML XML Node Name"
        See Also:
        Constant Field Values
      • PARAMETER_TRUST_ENDPOINT_REFERENCE

        public static final String PARAMETER_TRUST_ENDPOINT_REFERENCE
        The Security Manager Parameter Name "WS-Addressing Endpoint Reference"
        See Also:
        Constant Field Values
      • PARAMETER_TRUST_ENDPOINT_URI

        public static final String PARAMETER_TRUST_ENDPOINT_URI
        The Security Manager Parameter Name "WS-Trust Endpoint URI"
        See Also:
        Constant Field Values
      • PARAMETER_TRUST_REQUEST_TEMPLATE

        public static final String PARAMETER_TRUST_REQUEST_TEMPLATE
        The Security Manager Parameter Name "WS-Trust Request Template"
        See Also:
        Constant Field Values
    • Constructor Detail

      • WSTrustSAMLAuthenticator

        public WSTrustSAMLAuthenticator​(org.springframework.security.authentication.UsernamePasswordAuthenticationToken credentialToken,
                                        SecurityManager securityManager)
        Create a WS-Trust SAML authenticator with the given authentication token and security manager.
        Parameters:
        credentialToken - the request authentication token (required)
        securityManager - the security manager (required)
    • Method Detail

      • getSSOAuthenticationToken

        public SSOAuthenticationToken getSSOAuthenticationToken()
                                                         throws org.springframework.security.authentication.AuthenticationServiceException
        Return the SSO Authentication Token for the request.
        Returns:
        the SSO Authentication Token for the request.
        Throws:
        org.springframework.security.authentication.AuthenticationServiceException - if an error occurs