Class NTLMScheme

    • Constructor Detail

      • NTLMScheme

        public NTLMScheme()
        Deprecated.
        Default constructor for the NTLM authentication scheme.
        Since:
        3.0
    • Method Detail

      • isComplete

        public boolean isComplete()
        Deprecated.
        Tests if the NTLM authentication process has been completed.
        Specified by:
        isComplete in interface AuthScheme
        Returns:
        true if Basic authorization has been processed, false otherwise.
        Since:
        3.0
      • getSchemeName

        public String getSchemeName()
        Deprecated.
        Returns textual designation of the NTLM authentication scheme.
        Specified by:
        getSchemeName in interface AuthScheme
        Returns:
        ntlm
      • getRealm

        public String getRealm()
        Deprecated.
        The concept of an authentication realm is not supported by the NTLM authentication scheme. Always returns null.
        Specified by:
        getRealm in interface AuthScheme
        Returns:
        null
      • getID

        public String getID()
        Deprecated.
        no longer used
        Returns a String identifying the authentication challenge. This is used, in combination with the host and port to determine if authorization has already been attempted or not. Schemes which require multiple requests to complete the authentication should return a different value for each stage in the request.

        Additionally, the ID should take into account any changes to the authentication challenge and return a different value when appropriate. For example when the realm changes in basic authentication it should be considered a different authentication attempt and a different value should be returned.

        Specified by:
        getID in interface AuthScheme
        Returns:
        String a String identifying the authentication challenge. The returned value may be null.
      • getParameter

        public String getParameter​(String name)
        Deprecated.
        Returns the authentication parameter with the given name, if available.

        There are no valid parameters for NTLM authentication so this method always returns null.

        Specified by:
        getParameter in interface AuthScheme
        Parameters:
        name - The name of the parameter to be returned
        Returns:
        the parameter with the given name
      • isConnectionBased

        public boolean isConnectionBased()
        Deprecated.
        Returns true. NTLM authentication scheme is connection based.
        Specified by:
        isConnectionBased in interface AuthScheme
        Returns:
        true.
        Since:
        3.0