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, java.lang.String respMessageID)
          Generates a SASL response according to the SASL request
 

Method Detail

processSASLRequest

public SASLResponse processSASLRequest(SASLRequest saslReq,
                                       Message message,
                                       java.lang.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


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.