| Package | Description |
|---|---|
| fathom.authz | |
| fathom.realm |
| Modifier and Type | Field and Description |
|---|---|
protected Set<Role> |
Authorizations.roles |
| Modifier and Type | Method and Description |
|---|---|
Role |
Role.addPermission(Permission permission) |
Role |
Role.addPermission(String permission) |
Role |
Role.addPermissions(Collection<Permission> perms) |
Role |
Role.addPermissions(String... perms) |
| Modifier and Type | Method and Description |
|---|---|
Set<Role> |
Authorizations.getRoles()
Returns the Roles assigned to the corresponding Account.
|
| Modifier and Type | Method and Description |
|---|---|
Authorizations |
Authorizations.addRole(Role role)
Adds (assigns) multiple roles to those associated with the Account.
|
| Modifier and Type | Method and Description |
|---|---|
Authorizations |
Authorizations.addRoles(Collection<Role> roles)
Adds (assigns) multiple roles to those associated with the Account.
|
Authorizations |
Authorizations.setRoles(Set<Role> roles)
Sets the roles assigned to the Account.
|
| Constructor and Description |
|---|
Authorizations(Set<Role> roles,
Set<Permission> permissions)
Creates a new instance with the specified Roles and Permissions.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Role> |
MemoryRealm.parseDefinedRoles(com.typesafe.config.Config config)
Parse the Roles specified in the Config object.
|
Copyright © 2017. All rights reserved.