| 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).
|
| 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.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. |
| Modifier and Type | Method and Description |
|---|---|
<T extends AuthenticationToken> |
Realm.addAuthenticator(Authenticator<T> authenticator)
Add a concrete
Authenticator for a specific AuthenticationToken type to this Realm |
default <T extends AuthenticationToken> |
Realm.Builder.authenticator(Authenticator<T> authenticator)
Deprecated.
|
<T extends AuthenticationToken> |
Realm.Builder.withAuthenticator(Authenticator<T> authenticator)
Register given
Authenticator in Realm. |
| 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 |
| Modifier and Type | Method and Description |
|---|---|
<T extends AuthenticationToken> |
DefaultRealm.addAuthenticator(Authenticator<T> authenticator) |
<T extends AuthenticationToken> |
DefaultRealm.RealmBuilder.withAuthenticator(Authenticator<T> authenticator) |
| 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. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultJwtAuthenticator
Default
JwtAuthenticator implementation. |
| 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. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends AuthenticationToken,A extends org.springframework.security.core.Authentication> |
SpringSecurity.authenticationProvider(Authenticator<T> authenticator,
Class<A> authenticationType,
Function<A,T> converter)
Create a Spring Security
AuthenticationProvider using an Authenticator as concrete authentication
provider. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAuthenticationManagerAuthenticator<T extends AuthenticationToken>
Abstract class for
AuthenticationManager based Authenticators. |
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. |
| Constructor and Description |
|---|
AuthenticationProviderAdapter(Authenticator<T> authenticator,
Class<A> authenticationType,
Function<A,T> converter)
Constructor.
|
Copyright © 2019 The Holon Platform. All rights reserved.