| Package | Description |
|---|---|
| com.holonplatform.auth |
| Modifier and Type | Method and Description |
|---|---|
default <T extends AuthenticationToken> |
Realm.Builder.authenticator(Authenticator<T> authenticator)
Deprecated.
|
default <P extends Permission> |
Realm.Builder.authorizer(Authorizer<P> authorizer)
Deprecated.
|
static Realm.Builder |
Realm.builder()
Builder to create Realm instances
|
default Realm.Builder |
Realm.Builder.listener(Authentication.AuthenticationListener authenticationListener)
Deprecated.
Use withAuthenticationListener(AuthenticationListener)
|
Realm.Builder |
Realm.Builder.name(String name)
Set Realm name
|
default Realm.Builder |
Realm.Builder.resolver(AuthenticationToken.AuthenticationTokenResolver<?> authenticationTokenResolver)
Deprecated.
Use withResolver(AuthenticationTokenResolver)
|
Realm.Builder |
Realm.Builder.withAuthenticationListener(Authentication.AuthenticationListener authenticationListener)
Register an
Authentication.AuthenticationListener for authentication events |
<T extends AuthenticationToken> |
Realm.Builder.withAuthenticator(Authenticator<T> authenticator)
Register given
Authenticator in Realm. |
<P extends Permission> |
Realm.Builder.withAuthorizer(Authorizer<P> authorizer)
Register given
Authorizer in Realm. |
Realm.Builder |
Realm.Builder.withDefaultAuthorizer()
Register the default
Authorizer |
Realm.Builder |
Realm.Builder.withResolver(AuthenticationToken.AuthenticationTokenResolver<?> authenticationTokenResolver)
Add an
AuthenticationToken.AuthenticationTokenResolver to translate Messages into AuthenticationTokens. |
Copyright © 2019 The Holon Platform. All rights reserved.