Package | Description |
---|---|
com.holonplatform.auth | |
com.holonplatform.auth.internal |
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 Message s into AuthenticationToken s. |
Modifier and Type | Class and Description |
---|---|
static class |
DefaultRealm.RealmBuilder
Default
Builder implementation. |
Modifier and Type | Method and Description |
---|---|
Realm.Builder |
DefaultRealm.RealmBuilder.name(String name) |
Realm.Builder |
DefaultRealm.RealmBuilder.withAuthenticationListener(Authentication.AuthenticationListener authenticationListener) |
<T extends AuthenticationToken> |
DefaultRealm.RealmBuilder.withAuthenticator(Authenticator<T> authenticator) |
<P extends Permission> |
DefaultRealm.RealmBuilder.withAuthorizer(Authorizer<P> authorizer) |
Realm.Builder |
DefaultRealm.RealmBuilder.withDefaultAuthorizer() |
Realm.Builder |
DefaultRealm.RealmBuilder.withResolver(AuthenticationToken.AuthenticationTokenResolver<?> authenticationTokenResolver) |
Copyright © 2019 The Holon Platform. All rights reserved.