Class DefaultWsFedAuthenticator
- java.lang.Object
-
- org.forgerock.openam.saml2.plugins.DefaultWsFedAuthenticator
-
- All Implemented Interfaces:
WsFedAuthenticator
public class DefaultWsFedAuthenticator extends Object implements WsFedAuthenticator
The defaultWsFedAuthenticatorimplementation that just authenticates using the default authentication chain in the selected realm.
-
-
Constructor Summary
Constructors Constructor Description DefaultWsFedAuthenticator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SSOTokenauthenticate(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.xml.soap.SOAPMessage soapMessage, String realm, String username, char[] password)Authenticates the end-user for the incoming active WS-Federation request.
-
-
-
Method Detail
-
authenticate
public SSOToken authenticate(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.xml.soap.SOAPMessage soapMessage, String realm, String username, char[] password) throws ActiveRequestorException
Description copied from interface:WsFedAuthenticatorAuthenticates the end-user for the incoming active WS-Federation request.- Specified by:
authenticatein interfaceWsFedAuthenticator- Parameters:
request- The HTTP request.response- The HTTP response.soapMessage- The SOAP message received by the STS endpoint.realm- The realm that is associated with the incoming request.username- The username extracted from the SOAP message.password- The password extracted from the SOAP message.- Returns:
- The
SSOTokencorresponding to the successful authentication. May not be null. - Throws:
ActiveRequestorException- If there was any problem during the authentication, or if the authentication was unsuccessful.
-
-