## Uses of Class
org.apache.hadoop.security.authentication.server.AuthenticationToken

- Packages that use AuthenticationToken
  Package | Description
  --- | ---
  org.apache.hadoop.security.authentication.server | Provides the server-side framework for authentication.

- - ### Uses of AuthenticationToken in org.apache.hadoop.security.authentication.server

    Fields in org.apache.hadoop.security.authentication.server declared as AuthenticationToken
    Modifier and Type | Field and Description
    --- | ---
    `static AuthenticationToken` | AuthenticationToken.`ANONYMOUS` Constant that identifies an anonymous request.

    Methods in org.apache.hadoop.security.authentication.server that return AuthenticationToken
    Modifier and Type | Method and Description
    --- | ---
    `abstract AuthenticationToken` | AltKerberosAuthenticationHandler.`alternateAuthenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)` Subclasses should implement this method to provide the custom authentication to be used for browsers.
    `AuthenticationToken` | JWTRedirectAuthenticationHandler.`alternateAuthenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)`
    `AuthenticationToken` | KerberosAuthenticationHandler.`authenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)` It enforces the the Kerberos SPNEGO authentication sequence returning an `AuthenticationToken` only after the Kerberos SPNEGO sequence has completed successfully.
    `AuthenticationToken` | AltKerberosAuthenticationHandler.`authenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)` It enforces the the Kerberos SPNEGO authentication sequence returning an `AuthenticationToken` only after the Kerberos SPNEGO sequence has completed successfully (in the case of Java access) and only after the custom authentication implemented by the subclass in alternateAuthenticate has completed successfully (in the case of browser access).
    `AuthenticationToken` | PseudoAuthenticationHandler.`authenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)` Authenticates an HTTP client request.
    `AuthenticationToken` | AuthenticationHandler.`authenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)` Performs an authentication step for the given HTTP client request.
    `AuthenticationToken` | MultiSchemeAuthenticationHandler.`authenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)`
    `AuthenticationToken` | LdapAuthenticationHandler.`authenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)`
    `protected AuthenticationToken` | AuthenticationFilter.`getToken(javax.servlet.http.HttpServletRequest request)` Returns the `AuthenticationToken` for the request.
    `static AuthenticationToken` | AuthenticationToken.`parse(String tokenStr)` Parses a string into an authentication token.

    Methods in org.apache.hadoop.security.authentication.server with parameters of type AuthenticationToken
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | KerberosAuthenticationHandler.`managementOperation(AuthenticationToken token, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)` This is an empty implementation, it always returns `TRUE`.
    `boolean` | PseudoAuthenticationHandler.`managementOperation(AuthenticationToken token, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)` This is an empty implementation, it always returns `TRUE`.
    `boolean` | AuthenticationHandler.`managementOperation(AuthenticationToken token, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)` Performs an authentication management operation.
    `boolean` | MultiSchemeAuthenticationHandler.`managementOperation(AuthenticationToken token, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)`
    `boolean` | LdapAuthenticationHandler.`managementOperation(AuthenticationToken token, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)`
    `protected boolean` | AuthenticationFilter.`verifyTokenType(AuthenticationHandler handler, AuthenticationToken token)` This method verifies if the specified token type matches one of the the token types supported by a specified `AuthenticationHandler`.

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.