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

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

- - ### 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` | Authenticator.MessageAuthenticator.`authenticate(Message<?,?> message, String... schemes)` Try to authenticate given `message` with the same contract as `Authenticator.authenticate(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.`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.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.

Copyright © 2019 The Holon Platform. All rights reserved.