Class DigestAuthModule
- java.lang.Object
-
- org.eclipse.jetty.security.jaspi.modules.BaseAuthModule
-
- org.eclipse.jetty.security.jaspi.modules.DigestAuthModule
-
- All Implemented Interfaces:
javax.security.auth.message.config.ServerAuthContext
,javax.security.auth.message.module.ServerAuthModule
,javax.security.auth.message.ServerAuth
@Deprecated public class DigestAuthModule extends BaseAuthModule
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description protected long
maxNonceAge
Deprecated.protected long
nonceSecret
Deprecated.protected boolean
useStale
Deprecated.-
Fields inherited from class org.eclipse.jetty.security.jaspi.modules.BaseAuthModule
callbackHandler, LOGIN_SERVICE_KEY
-
-
Constructor Summary
Constructors Constructor Description DigestAuthModule()
Deprecated.DigestAuthModule(javax.security.auth.callback.CallbackHandler callbackHandler, java.lang.String realmName)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
checkNonce(java.lang.String nonce, long timestamp)
Deprecated.void
initialize(javax.security.auth.message.MessagePolicy requestPolicy, javax.security.auth.message.MessagePolicy responsePolicy, javax.security.auth.callback.CallbackHandler handler, java.util.Map options)
Deprecated.java.lang.String
newNonce(long ts)
Deprecated.javax.security.auth.message.AuthStatus
validateRequest(javax.security.auth.message.MessageInfo messageInfo, javax.security.auth.Subject clientSubject, javax.security.auth.Subject serviceSubject)
Deprecated.-
Methods inherited from class org.eclipse.jetty.security.jaspi.modules.BaseAuthModule
cleanSubject, getSupportedMessageTypes, isMandatory, login, login, secureResponse
-
-
-
-
Method Detail
-
initialize
public void initialize(javax.security.auth.message.MessagePolicy requestPolicy, javax.security.auth.message.MessagePolicy responsePolicy, javax.security.auth.callback.CallbackHandler handler, java.util.Map options) throws javax.security.auth.message.AuthException
Deprecated.- Specified by:
initialize
in interfacejavax.security.auth.message.module.ServerAuthModule
- Overrides:
initialize
in classBaseAuthModule
- Throws:
javax.security.auth.message.AuthException
-
validateRequest
public javax.security.auth.message.AuthStatus validateRequest(javax.security.auth.message.MessageInfo messageInfo, javax.security.auth.Subject clientSubject, javax.security.auth.Subject serviceSubject) throws javax.security.auth.message.AuthException
Deprecated.- Specified by:
validateRequest
in interfacejavax.security.auth.message.ServerAuth
- Overrides:
validateRequest
in classBaseAuthModule
- Throws:
javax.security.auth.message.AuthException
-
newNonce
public java.lang.String newNonce(long ts)
Deprecated.
-
checkNonce
public int checkNonce(java.lang.String nonce, long timestamp)
Deprecated.- Parameters:
nonce
- the noncetimestamp
- should be timestamp of request.- Returns:
- -1 for a bad nonce, 0 for a stale none, 1 for a good nonce
-
-