org.eclipse.jetty.security.jaspi.modules
Class BaseAuthModule

java.lang.Object
  extended by org.eclipse.jetty.security.jaspi.modules.BaseAuthModule
All Implemented Interfaces:
ServerAuthContext, ServerAuthModule, ServerAuth
Direct Known Subclasses:
BasicAuthModule, ClientCertAuthModule, DigestAuthModule, FormAuthModule

Deprecated. use *ServerAuthentication

public class BaseAuthModule
extends Object
implements ServerAuthModule, ServerAuthContext

Version:
$Rev: 4792 $ $Date: 2009-03-18 22:55:52 +0100 (Wed, 18 Mar 2009) $

Field Summary
protected  CallbackHandler callbackHandler
          Deprecated.  
protected static String LOGIN_SERVICE_KEY
          Deprecated.  
 
Constructor Summary
BaseAuthModule()
          Deprecated.  
BaseAuthModule(CallbackHandler callbackHandler)
          Deprecated.  
 
Method Summary
 void cleanSubject(MessageInfo messageInfo, Subject subject)
          Deprecated.  
 Class[] getSupportedMessageTypes()
          Deprecated.  
 void initialize(MessagePolicy requestPolicy, MessagePolicy responsePolicy, CallbackHandler handler, Map options)
          Deprecated.  
protected  boolean isMandatory(MessageInfo messageInfo)
          Deprecated.  
protected  boolean login(Subject clientSubject, String username, Credential credential, String authMethod, MessageInfo messageInfo)
          Deprecated.  
protected  boolean login(Subject clientSubject, String credentials, String authMethod, MessageInfo messageInfo)
          Deprecated.  
 AuthStatus secureResponse(MessageInfo messageInfo, Subject serviceSubject)
          Deprecated.  
 AuthStatus validateRequest(MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGIN_SERVICE_KEY

protected static final String LOGIN_SERVICE_KEY
Deprecated. 
See Also:
Constant Field Values

callbackHandler

protected CallbackHandler callbackHandler
Deprecated. 
Constructor Detail

BaseAuthModule

public BaseAuthModule()
Deprecated. 

BaseAuthModule

public BaseAuthModule(CallbackHandler callbackHandler)
Deprecated. 
Method Detail

getSupportedMessageTypes

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

initialize

public void initialize(MessagePolicy requestPolicy,
                       MessagePolicy responsePolicy,
                       CallbackHandler handler,
                       Map options)
                throws AuthException
Deprecated. 
Specified by:
initialize in interface ServerAuthModule
Throws:
AuthException

cleanSubject

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

secureResponse

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

validateRequest

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

isMandatory

protected boolean isMandatory(MessageInfo messageInfo)
Deprecated. 
Parameters:
messageInfo - message info to examine for mandatory flag
Returns:
whether authentication is mandatory or optional

login

protected boolean login(Subject clientSubject,
                        String credentials,
                        String authMethod,
                        MessageInfo messageInfo)
                 throws IOException,
                        UnsupportedCallbackException
Deprecated. 
Throws:
IOException
UnsupportedCallbackException

login

protected boolean login(Subject clientSubject,
                        String username,
                        Credential credential,
                        String authMethod,
                        MessageInfo messageInfo)
                 throws IOException,
                        UnsupportedCallbackException
Deprecated. 
Throws:
IOException
UnsupportedCallbackException


Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.