| Package | Description |
|---|---|
| com.holonplatform.auth | |
| com.holonplatform.auth.jwt |
| 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. |
| 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 |
<T extends AuthenticationToken> |
Realm.Builder.authenticator(Authenticator<T> authenticator)
Register given
Authenticator in Realm. |
| 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. |
Copyright © 2017 The Holon Platform. All rights reserved.