Package com.avoka.fc.core.security
Class WSTrustSAMLAuthenticator
- java.lang.Object
-
- com.avoka.fc.core.security.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 Summary
Fields Modifier and Type Field Description static String
PARAMETER_SAML_GROUP_ATTRIBUTE_NAME
The Security Manager Parameter Name "SAML Group Attribute Name"static String
PARAMETER_SAML_XML_NODE_NAME
The Security Manager Parameter Name "SAML XML Node Name"static String
PARAMETER_TRUST_ENDPOINT_REFERENCE
The Security Manager Parameter Name "WS-Addressing Endpoint Reference"static String
PARAMETER_TRUST_ENDPOINT_URI
The Security Manager Parameter Name "WS-Trust Endpoint URI"static String
PARAMETER_TRUST_REQUEST_TEMPLATE
The Security Manager Parameter Name "WS-Trust Request Template"
-
Constructor Summary
Constructors Constructor Description WSTrustSAMLAuthenticator(org.springframework.security.authentication.UsernamePasswordAuthenticationToken credentialToken, SecurityManager securityManager)
Create a WS-Trust SAML authenticator with the given authentication token and security manager.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SSOAuthenticationToken
getSSOAuthenticationToken()
Return the SSO Authentication Token for the request.
-
-
-
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
-
-