public class DigestAuthModule extends BaseAuthModule
Modifier and Type | Field and Description |
---|---|
protected long |
maxNonceAge
Deprecated.
|
protected long |
nonceSecret
Deprecated.
|
protected boolean |
useStale
Deprecated.
|
callbackHandler, LOGIN_SERVICE_KEY
Constructor and Description |
---|
DigestAuthModule()
Deprecated.
|
DigestAuthModule(CallbackHandler callbackHandler,
String realmName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
checkNonce(String nonce,
long timestamp)
Deprecated.
|
void |
initialize(MessagePolicy requestPolicy,
MessagePolicy responsePolicy,
CallbackHandler handler,
Map options)
Deprecated.
|
String |
newNonce(long ts)
Deprecated.
|
AuthStatus |
validateRequest(MessageInfo messageInfo,
Subject clientSubject,
Subject serviceSubject)
Deprecated.
|
cleanSubject, getSupportedMessageTypes, isMandatory, login, login, secureResponse
protected long maxNonceAge
protected long nonceSecret
protected boolean useStale
public DigestAuthModule()
public DigestAuthModule(CallbackHandler callbackHandler, String realmName)
public void initialize(MessagePolicy requestPolicy, MessagePolicy responsePolicy, CallbackHandler handler, Map options) throws AuthException
initialize
in interface ServerAuthModule
initialize
in class BaseAuthModule
AuthException
public AuthStatus validateRequest(MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject) throws AuthException
validateRequest
in interface ServerAuth
validateRequest
in class BaseAuthModule
AuthException
public String newNonce(long ts)
public int checkNonce(String nonce, long timestamp)
nonce
- timestamp
- should be timestamp of request.Copyright © 1995-2015 Webtide. All Rights Reserved.