| Package | Description |
|---|---|
| com.holonplatform.auth |
| Modifier and Type | Method and Description |
|---|---|
static Account.Builder |
Account.builder(String accountId)
Builder to create
Account instances |
Account.Builder |
Account.Builder.credentials(Credentials credentials)
Set Account credentials as a
Credentials object |
Account.Builder |
Account.Builder.credentials(Object credentials)
Set Account credentials
|
default <T> Account.Builder |
Account.Builder.detail(ConfigProperty<T> property,
T value)
Deprecated.
|
default Account.Builder |
Account.Builder.detail(String key,
Object value)
Deprecated.
|
Account.Builder |
Account.Builder.details(Map<String,Object> details)
Set Account details.
|
Account.Builder |
Account.Builder.enabled(boolean enabled)
Set whether is enabled (default is
true) |
Account.Builder |
Account.Builder.expired(boolean expired)
Set whether has expired
|
Account.Builder |
Account.Builder.locked(boolean locked)
Set whether is locked
|
default Account.Builder |
Account.Builder.permission(Permission permission)
Deprecated.
|
default Account.Builder |
Account.Builder.permission(String permission)
Deprecated.
|
Account.Builder |
Account.Builder.permissions(Collection<Permission> permissions)
Set permissions granted to Account.
|
Account.Builder |
Account.Builder.permissionStrings(Collection<String> permissions)
Set permissions granted to Account using String representations.
|
default Account.Builder |
Account.Builder.permissionStrings(String... permissions)
Set permissions granted to Account using String representations.
|
Account.Builder |
Account.Builder.root(boolean root)
Set whether Account is considered a
root principal, for which permission checking is always
skipped, assuming that any permission is granted. |
default <T> Account.Builder |
Account.Builder.withDetail(ConfigProperty<T> property,
T value)
Add (or replace if given key already exists) an Account detail using a
ConfigProperty. |
Account.Builder |
Account.Builder.withDetail(String key,
Object value)
Add (or replace if given key already exists) an Account detail
|
Account.Builder |
Account.Builder.withPermission(Permission permission)
Add a permission granted to Account
|
Account.Builder |
Account.Builder.withPermission(String permission)
Add a permission granted to Account using String representation.
|
Copyright © 2019 The Holon Platform. All rights reserved.