## Uses of Class
com.holonplatform.auth.exceptions.AuthenticationException

- Packages that use AuthenticationException
  Package | Description
  --- | ---
  com.holonplatform.auth |
  com.holonplatform.auth.exceptions |
  com.holonplatform.auth.internal |
  com.holonplatform.auth.jwt |
  com.holonplatform.auth.jwt.internal |
  com.holonplatform.spring.security.internal |

- - ### Uses of AuthenticationException in com.holonplatform.auth

    Methods in com.holonplatform.auth that throw AuthenticationException
    Modifier and Type | Method and Description
    --- | ---
    `Authentication` | AuthContext.`authenticate(AuthenticationToken authenticationToken)` Attempts to authenticate a user using given `AuthenticationToken`.
    `Authentication` | AuthContext.`authenticate(Message<?,?> message, String... schemes)` Attempts to authenticate using given `message` with the same contract as `AuthContext.authenticate(AuthenticationToken)`, using `Realm` registered `AuthenticationToken.AuthenticationTokenResolver`s for given message type, if any.
    `Authentication` | Authenticator.MessageAuthenticator.`authenticate(Message<?,?> message, String... schemes)` Try to authenticate given `message` with the same contract as `Authenticator.authenticate(AuthenticationToken)`.
    `Authentication` | Authenticator.`authenticate(T authenticationToken)` Attempts to perform authentication using given `AuthenticationToken`.
    `boolean` | CredentialsContainer.CredentialsMatcher.`credentialsMatch(CredentialsContainer provided, CredentialsContainer stored)` Check if provided credentials match the given stored credentials
    `Optional<AuthenticationToken>` | AuthenticationToken.AuthenticationTokenResolver.`getAuthenticationToken(R request)` Parse given `request` message and try to obtain an `AuthenticationToken` if request is eligible for this resolver authentication mechanism.

  - ### Uses of AuthenticationException in com.holonplatform.auth.exceptions

    Subclasses of AuthenticationException in com.holonplatform.auth.exceptions
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DisabledAccountException` Exception for authentication failure: Account is disabled
    `class` | `ExpiredCredentialsException` Exception for authentication failure: Credentials are expired
    `class` | `InvalidCredentialsException` Exception for authentication failure: Credentials are not valid
    `class` | `InvalidTokenException` Exception for authentication failure: `AuthenticationToken` is not valid or malformed
    `class` | `LockedAccountException` Exception for authentication failure: Account is locked
    `class` | `UnexpectedAuthenticationException` Exception for a generic authentication failure
    `class` | `UnknownAccountException` Exception for authentication failure: Account not found
    `class` | `UnsupportedMessageException` Exception for unsupported authentication messages
    `class` | `UnsupportedTokenException` Exception for authentication failure: `AuthenticationToken` type not supported by current `Authenticator`

  - ### Uses of AuthenticationException in com.holonplatform.auth.internal

    Methods in com.holonplatform.auth.internal that throw AuthenticationException
    Modifier and Type | Method and Description
    --- | ---
    `Authentication` | AccountAuthenticator.`authenticate(AccountCredentialsToken authenticationToken)`
    `Authentication` | DefaultAuthContext.`authenticate(AuthenticationToken authenticationToken)`
    `Authentication` | DefaultRealm.`authenticate(AuthenticationToken authenticationToken)`
    `Authentication` | DefaultAuthContext.`authenticate(Message<?,?> message, String... schemes)`
    `Authentication` | DefaultRealm.`authenticate(Message<?,?> message, String... schemes)`
    `Authentication` | DefaultCallbackAuthenticator.`authenticate(T authenticationToken)`
    `boolean` | DefaultCredentialsMatcher.`credentialsMatch(CredentialsContainer provided, CredentialsContainer stored)`
    `Optional<AuthenticationToken>` | BasicAuthenticationTokenResolver.`getAuthenticationToken(HttpRequest request)`
    `Optional<AuthenticationToken>` | BearerAuthenticationTokenResolver.`getAuthenticationToken(HttpRequest request)`
    `Optional<AuthenticationToken>` | CallbackAuthenticationTokenResolver.`getAuthenticationToken(M request)`

  - ### Uses of AuthenticationException in com.holonplatform.auth.jwt

    Methods in com.holonplatform.auth.jwt that throw AuthenticationException
    Modifier and Type | Method and Description
    --- | ---
    `Authentication.Builder` | JwtTokenParser.`parseJwt(JwtConfiguration configuration, String jwt)` Parse given JWT and obtain it as an `Authentication` instance.

  - ### Uses of AuthenticationException in com.holonplatform.auth.jwt.internal

    Methods in com.holonplatform.auth.jwt.internal that throw AuthenticationException
    Modifier and Type | Method and Description
    --- | ---
    `Authentication` | DefaultJwtAuthenticator.`authenticate(BearerAuthenticationToken authenticationToken)`
    `Authentication.Builder` | DefaultJwtTokenParser.`parseJwt(JwtConfiguration configuration, String jwt)`

  - ### Uses of AuthenticationException in com.holonplatform.spring.security.internal

    Methods in com.holonplatform.spring.security.internal that throw AuthenticationException
    Modifier and Type | Method and Description
    --- | ---
    `Authentication` | AbstractAuthenticationManagerAuthenticator.`authenticate(T authenticationToken)`

Copyright © 2019 The Holon Platform. All rights reserved.