public class BaseAuthModule extends Object implements ServerAuthModule, ServerAuthContext
| Modifier and Type | Field and Description |
|---|---|
protected CallbackHandler |
callbackHandler
Deprecated.
|
protected static String |
LOGIN_SERVICE_KEY
Deprecated.
|
| Constructor and Description |
|---|
BaseAuthModule()
Deprecated.
|
BaseAuthModule(CallbackHandler callbackHandler)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected static final String LOGIN_SERVICE_KEY
protected CallbackHandler callbackHandler
public BaseAuthModule()
public BaseAuthModule(CallbackHandler callbackHandler)
public Class[] getSupportedMessageTypes()
getSupportedMessageTypes in interface ServerAuthModulepublic void initialize(MessagePolicy requestPolicy, MessagePolicy responsePolicy, CallbackHandler handler, Map options) throws AuthException
initialize in interface ServerAuthModuleAuthExceptionpublic void cleanSubject(MessageInfo messageInfo, Subject subject) throws AuthException
cleanSubject in interface ServerAuthAuthExceptionpublic AuthStatus secureResponse(MessageInfo messageInfo, Subject serviceSubject) throws AuthException
secureResponse in interface ServerAuthAuthExceptionpublic AuthStatus validateRequest(MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject) throws AuthException
validateRequest in interface ServerAuthAuthExceptionprotected boolean isMandatory(MessageInfo messageInfo)
messageInfo - message info to examine for mandatory flagprotected boolean login(Subject clientSubject, String credentials, String authMethod, MessageInfo messageInfo) throws IOException, UnsupportedCallbackException
protected boolean login(Subject clientSubject, String username, Credential credential, String authMethod, MessageInfo messageInfo) throws IOException, UnsupportedCallbackException
Copyright © 1995-2015 Webtide. All Rights Reserved.