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

java.lang.Object
  extended by com.sun.xml.wss.provider.wsit.WSITServerAuthModule
All Implemented Interfaces:
ServerAuthModule, ServerAuth

public class WSITServerAuthModule
extends java.lang.Object
implements ServerAuthModule

Author:
kumar.jayanti

Field Summary
protected static java.lang.String DEBUG
           
 
Constructor Summary
WSITServerAuthModule()
          Creates a new instance of WSITServerAuthModule
 
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 secureResponse(MessageInfo messageInfo, javax.security.auth.Subject serviceSubject)
           
 AuthStatus validateRequest(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

WSITServerAuthModule

public WSITServerAuthModule()
Creates a new instance of WSITServerAuthModule

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 ServerAuthModule
Throws:
AuthException

getSupportedMessageTypes

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

validateRequest

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

secureResponse

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

cleanSubject

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


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