public class DefaultWsFedAuthenticator extends Object implements WsFedAuthenticator
WsFedAuthenticator
implementation that just authenticates using the default authentication chain
in the selected realm.Constructor and Description |
---|
DefaultWsFedAuthenticator() |
Modifier and Type | Method and Description |
---|---|
SSOToken |
authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SOAPMessage soapMessage,
String realm,
String username,
char[] password)
Authenticates the end-user for the incoming active WS-Federation request.
|
public SSOToken authenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SOAPMessage soapMessage, String realm, String username, char[] password) throws ActiveRequestorException
WsFedAuthenticator
authenticate
in interface WsFedAuthenticator
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.SSOToken
corresponding to the successful authentication. May not be null.ActiveRequestorException
- If there was any problem during the authentication, or if the authentication was
unsuccessful.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.