| Package | Description |
|---|---|
| fathom.authz |
| Modifier and Type | Class and Description |
|---|---|
class |
DomainPermission
Provides a base Permission class from which type-safe/domain-specific subclasses may extend.
|
| Modifier and Type | Field and Description |
|---|---|
protected Collection<Permission> |
Authorizations.aggregatePermissions |
protected Set<Permission> |
Authorizations.permissions |
protected Set<Permission> |
Role.permissions |
| Modifier and Type | Method and Description |
|---|---|
Collection<Permission> |
Authorizations.getAggregatePermissions()
Gets the collection of permissions including the role permissions and discrete permissions.
|
Set<Permission> |
Authorizations.getPermissions()
Returns all type-safe
Permissions assigned to the corresponding Account. |
Set<Permission> |
Role.getPermissions() |
| Modifier and Type | Method and Description |
|---|---|
Role |
Role.addPermission(Permission permission) |
boolean |
Permission.implies(Permission p)
Returns
true if this current instance implies all the functionality and/or resource access
described by the specified Permission argument, false otherwise. |
protected boolean |
Authorizations.isPermitted(Permission permission) |
boolean |
Role.isPermitted(Permission permission) |
| Modifier and Type | Method and Description |
|---|---|
Authorizations |
Authorizations.addPermissions(Collection<Permission> permissions)
Adds (assigns) a permission to those directly associated with the Account.
|
Role |
Role.addPermissions(Collection<Permission> perms) |
void |
Authorizations.setPermissions(Collection<Permission> permissions)
Sets the string-based permissions assigned directly to the Account.
|
void |
Role.setPermissions(Set<Permission> permissions) |
| Constructor and Description |
|---|
Authorizations(Set<Role> roles,
Set<Permission> permissions)
Creates a new instance with the specified Roles and Permissions.
|
Role(String name,
Set<Permission> permissions) |
Copyright © 2017. All rights reserved.