## Uses of Interface
com.holonplatform.auth.Authenticator

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

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

    Subinterfaces of Authenticator in com.holonplatform.auth
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `Realm` A Realm represents a security abstraction providing operations for principals authentication (for example login a user relying on user accounts informations) and authorization (permission check against principal grants stored in this realm).

    Methods in com.holonplatform.auth that return Authenticator
    Modifier and Type | Method and Description
    --- | ---
    `static Authenticator<AccountCredentialsToken>` | Account.`authenticator(Account.AccountProvider accountProvider)` Build an `Authenticator` using `Account.AccountProvider` to load `Account` data and accepting `AccountCredentialsToken` as credentials.
    `static Authenticator<AccountCredentialsToken>` | Account.`authenticator(Account.AccountProvider accountProvider, CredentialsContainer.CredentialsMatcher credentialsMatcher)` Build an `Authenticator` using `Account.AccountProvider` to load `Account` data and accepting `AccountCredentialsToken` as credentials.
    `static <T extends AuthenticationToken> Authenticator<T>` | Authenticator.`create(Class<? extends T> tokenType, Function<T,Authentication> authenticationFunction)` Create an `Authenticator` bound to the given token type and which uses the provided callback `Function` to perform the authentication strategy.

    Methods in com.holonplatform.auth with parameters of type Authenticator
    Modifier and Type | Method and Description
    --- | ---
    `<T extends AuthenticationToken> void` | Realm.`addAuthenticator(Authenticator<T> authenticator)` Add a concrete `Authenticator` for a specific `AuthenticationToken` type to this Realm
    `default <T extends AuthenticationToken> Realm.Builder` | Realm.Builder.`authenticator(Authenticator<T> authenticator)` Deprecated. Use `Realm.Builder.withAuthenticator(Authenticator)`
    `<T extends AuthenticationToken> Realm.Builder` | Realm.Builder.`withAuthenticator(Authenticator<T> authenticator)` Register given `Authenticator` in Realm.

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

    Classes in com.holonplatform.auth.internal that implement Authenticator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AccountAuthenticator` `Authenticator` which uses an `Account.AccountProvider` to load `Account` data for authentication and a `CredentialsContainer.CredentialsMatcher` for credentials validation.
    `class` | `DefaultCallbackAuthenticator<T extends AuthenticationToken>` A default `Authenticator` implementation which uses a callback `Function` to perform the authentication strategy.
    `class` | `DefaultRealm` Default `Realm` implementation

    Methods in com.holonplatform.auth.internal with parameters of type Authenticator
    Modifier and Type | Method and Description
    --- | ---
    `<T extends AuthenticationToken> void` | DefaultRealm.`addAuthenticator(Authenticator<T> authenticator)`
    `<T extends AuthenticationToken> Realm.Builder` | DefaultRealm.RealmBuilder.`withAuthenticator(Authenticator<T> authenticator)`

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

    Subinterfaces of Authenticator in com.holonplatform.auth.jwt
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `JwtAuthenticator` An `Authenticator` able to authenticate `BearerAuthenticationToken` tokens, expecting a JWT token as bearer token and using a `JwtConfiguration` to perform authentication.

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

    Classes in com.holonplatform.auth.jwt.internal that implement Authenticator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultJwtAuthenticator` Default `JwtAuthenticator` implementation.

  - ### Uses of Authenticator in com.holonplatform.spring.security

    Methods in com.holonplatform.spring.security that return Authenticator
    Modifier and Type | Method and Description
    --- | ---
    `static Authenticator<AccountCredentialsToken>` | SpringSecurity.`accountCredentialsAuthenticator(org.springframework.security.authentication.AuthenticationManager authenticationManager)` Create an `Authenticator` for the default `AccountCredentialsToken`, using the Spring Security `AuthenticationManager` to perform the authentication operations.
    `static Authenticator<SpringSecurityAuthenticationToken>` | SpringSecurity.`authenticator(org.springframework.security.authentication.AuthenticationManager authenticationManager)` Create an `Authenticator` which supports `SpringSecurityAuthenticationToken` types and uses the Spring Security `AuthenticationManager` to perform the authentication operations.

    Methods in com.holonplatform.spring.security with parameters of type Authenticator
    Modifier and Type | Method and Description
    --- | ---
    `static <T extends AuthenticationToken,A extends org.springframework.security.core.Authentication> org.springframework.security.authentication.AuthenticationProvider` | SpringSecurity.`authenticationProvider(Authenticator<T> authenticator, Class<A> authenticationType, Function<A,T> converter)` Create a Spring Security `AuthenticationProvider` using an `Authenticator` as concrete authentication provider.

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

    Classes in com.holonplatform.spring.security.internal that implement Authenticator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractAuthenticationManagerAuthenticator<T extends AuthenticationToken>` Abstract class for `AuthenticationManager` based `Authenticator`s.
    `class` | `AccountCredentialsAuthenticationManagerAuthenticator` An `Authenticator` bound to the default `AccountCredentialsToken` which uses Spring Security `AuthenticationManager` to perform the authentication operations.
    `class` | `DefaultAuthenticationManagerAuthenticator` Default Spring Security `Authenticator` using `SpringSecurityAuthenticationToken` types.

    Constructors in com.holonplatform.spring.security.internal with parameters of type Authenticator
    Constructor and Description
    `AuthenticationProviderAdapter(Authenticator<T> authenticator, Class<A> authenticationType, Function<A,T> converter)` Constructor.

Copyright © 2019 The Holon Platform. All rights reserved.