Class 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.
    • 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • maxNonceAge

        protected long maxNonceAge
        Deprecated.
      • nonceSecret

        protected long nonceSecret
        Deprecated.
      • useStale

        protected boolean useStale
        Deprecated.
    • Constructor Detail

      • DigestAuthModule

        public DigestAuthModule()
        Deprecated.
      • DigestAuthModule

        public DigestAuthModule​(javax.security.auth.callback.CallbackHandler callbackHandler,
                                java.lang.String realmName)
        Deprecated.
    • 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 interface javax.security.auth.message.module.ServerAuthModule
        Overrides:
        initialize in class BaseAuthModule
        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 interface javax.security.auth.message.ServerAuth
        Overrides:
        validateRequest in class BaseAuthModule
        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 nonce
        timestamp - should be timestamp of request.
        Returns:
        -1 for a bad nonce, 0 for a stale none, 1 for a good nonce