com.sun.identity.liberty.ws.authnsvc.mechanism
Interface MechanismHandler
public interface MechanismHandler
The MechanismHandler
interface needs to be implemented
for different SASL mechanisms to authenticate. Each SASL mechanism
will correspond to one handler implementation which processes incoming
SASL request and generates SASL response.
processSASLRequest
SASLResponse processSASLRequest(SASLRequest saslReq,
Message message,
String respMessageID)
- Generates a SASL response according to the SASL request.
- Parameters:
saslReq
- a SASL requestmessage
- a SOAP Message containing the SASL requestrespMessageID
- messageID of SOAP Message response that will
contain returned SASL response
- Returns:
- a SASL response