| Package | Description |
|---|---|
| com.holonplatform.auth | |
| com.holonplatform.auth.internal |
| 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 Authorizer<Permission> |
Authorizer.create()
Create a default Authorizer.
|
| Modifier and Type | Method and Description |
|---|---|
<P extends Permission> |
Realm.addAuthorizer(Authorizer<P> authorizer)
Add and
Authorizer to support a specific Permission type |
default <P extends Permission> |
Realm.Builder.authorizer(Authorizer<P> authorizer)
Deprecated.
|
<P extends Permission> |
Realm.Builder.withAuthorizer(Authorizer<P> authorizer)
Register given
Authorizer in Realm. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAuthorizer<P extends Permission>
Abstract
Authorizer implementation |
class |
DefaultAuthorizer
Default
Authorizer implementation. |
class |
DefaultRealm
Default
Realm implementation |
| Modifier and Type | Method and Description |
|---|---|
<P extends Permission> |
DefaultRealm.addAuthorizer(Authorizer<P> authorizer) |
<P extends Permission> |
DefaultRealm.RealmBuilder.withAuthorizer(Authorizer<P> authorizer) |
Copyright © 2019 The Holon Platform. All rights reserved.