com.sun.xml.wss.provider.wsit
Class WSITClientAuthModule

java.lang.Object
  extended by com.sun.xml.wss.provider.wsit.WSITClientAuthModule
All Implemented Interfaces:
ClientAuth, ClientAuthModule

public class WSITClientAuthModule
extends java.lang.Object
implements ClientAuthModule

Author:
kumar.jayanti

Field Summary
protected static java.lang.String DEBUG
           
 
Constructor Summary
WSITClientAuthModule()
          Creates a new instance of WSITClientAuthModule
 
Method Summary
 void cleanSubject(MessageInfo messageInfo, javax.security.auth.Subject subject)
           
 java.lang.Class[] getSupportedMessageTypes()
           
 void initialize(MessagePolicy requestPolicy, MessagePolicy responsePolicy, javax.security.auth.callback.CallbackHandler handler, java.util.Map options)
           
 AuthStatus secureRequest(MessageInfo messageInfo, javax.security.auth.Subject clientSubject)
           
 AuthStatus validateResponse(MessageInfo messageInfo, javax.security.auth.Subject clientSubject, javax.security.auth.Subject serviceSubject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

protected static final java.lang.String DEBUG
See Also:
Constant Field Values
Constructor Detail

WSITClientAuthModule

public WSITClientAuthModule()
Creates a new instance of WSITClientAuthModule

Method Detail

initialize

public void initialize(MessagePolicy requestPolicy,
                       MessagePolicy responsePolicy,
                       javax.security.auth.callback.CallbackHandler handler,
                       java.util.Map options)
                throws AuthException
Specified by:
initialize in interface ClientAuthModule
Throws:
AuthException

getSupportedMessageTypes

public java.lang.Class[] getSupportedMessageTypes()
Specified by:
getSupportedMessageTypes in interface ClientAuthModule

secureRequest

public AuthStatus secureRequest(MessageInfo messageInfo,
                                javax.security.auth.Subject clientSubject)
                         throws AuthException
Specified by:
secureRequest in interface ClientAuth
Throws:
AuthException

validateResponse

public AuthStatus validateResponse(MessageInfo messageInfo,
                                   javax.security.auth.Subject clientSubject,
                                   javax.security.auth.Subject serviceSubject)
                            throws AuthException
Specified by:
validateResponse in interface ClientAuth
Throws:
AuthException

cleanSubject

public void cleanSubject(MessageInfo messageInfo,
                         javax.security.auth.Subject subject)
                  throws AuthException
Specified by:
cleanSubject in interface ClientAuth
Throws:
AuthException


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.