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