Package com.avoka.fc.core.security
Class WSTrustSAMLAuthenticator
java.lang.Object
com.avoka.fc.core.security.WSTrustSAMLAuthenticator
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
Modifier and TypeFieldDescriptionstatic final String
The Security Manager Parameter Name "SAML Group Attribute Name"static final String
The Security Manager Parameter Name "SAML XML Node Name"static final String
The Security Manager Parameter Name "WS-Addressing Endpoint Reference"static final String
The Security Manager Parameter Name "WS-Trust Endpoint URI"static final String
The Security Manager Parameter Name "WS-Trust Request Template" -
Constructor Summary
ConstructorDescriptionWSTrustSAMLAuthenticator
(org.springframework.security.authentication.UsernamePasswordAuthenticationToken credentialToken, SecurityManager securityManager) Create a WS-Trust SAML authenticator with the given authentication token and security manager. -
Method Summary
Modifier and TypeMethodDescriptionReturn the SSO Authentication Token for the request.
-
Field Details
-
PARAMETER_SAML_GROUP_ATTRIBUTE_NAME
The Security Manager Parameter Name "SAML Group Attribute Name"- See Also:
-
PARAMETER_SAML_XML_NODE_NAME
The Security Manager Parameter Name "SAML XML Node Name"- See Also:
-
PARAMETER_TRUST_ENDPOINT_REFERENCE
The Security Manager Parameter Name "WS-Addressing Endpoint Reference"- See Also:
-
PARAMETER_TRUST_ENDPOINT_URI
The Security Manager Parameter Name "WS-Trust Endpoint URI"- See Also:
-
PARAMETER_TRUST_REQUEST_TEMPLATE
The Security Manager Parameter Name "WS-Trust Request Template"- See Also:
-
-
Constructor Details
-
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 Details
-
getSSOAuthenticationToken
public SSOAuthenticationToken getSSOAuthenticationToken() throws org.springframework.security.authentication.AuthenticationServiceExceptionReturn 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
-