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.


Method Summary
 SASLResponse processSASLRequest(SASLRequest saslReq, Message message, String respMessageID)
          Generates a SASL response according to the SASL request.
 

Method Detail

processSASLRequest

SASLResponse processSASLRequest(SASLRequest saslReq,
                                Message message,
                                String respMessageID)
Generates a SASL response according to the SASL request.

Parameters:
saslReq - a SASL request
message - a SOAP Message containing the SASL request
respMessageID - messageID of SOAP Message response that will contain returned SASL response
Returns:
a SASL response