| Package | Description |
|---|---|
| org.hawkular.accounts.api |
Provides the main API for Hawkular components intending to perform permission checking and authorization procedures.
|
| org.hawkular.accounts.api.internal.impl | |
| org.hawkular.accounts.api.model |
Entities related to the API.
|
| Modifier and Type | Method and Description |
|---|---|
Role |
RoleService.getByName(String name)
Retrieves the persistent Role based on its fixed name.
|
Role |
RoleService.produceRoleByName(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
CDI producer method for Role beans annotated with
NamedRole. |
| Modifier and Type | Method and Description |
|---|---|
Set<Role> |
PersonaService.getEffectiveRolesForResource(Persona persona,
Resource resource)
Retrieves the effective role of a Persona on a given Resource.
|
Set<Role> |
RoleService.getImplicitPermittedRoles(Role role)
Following Wildfly's definition of roles, this method returns all roles that are implicit from the given role from
the perspective of an operation.
|
Set<Role> |
RoleService.getImplicitPermittedRoles(String name)
Following Wildfly's definition of roles, this method returns all roles that are implicit from the given role from
the perspective of an operation.
|
Set<Role> |
RoleService.getImplicitUserRoles(Role role)
Following Wildfly's definition of roles, this method returns all roles that are implicit from the given role from
the User's perspective (ie: user has the given role).
|
Set<Role> |
RoleService.getImplicitUserRoles(String name)
Following Wildfly's definition of roles, this method returns all roles that are implicit from the given role from
the User's perspective (ie: user has the given role).
|
Set<Role> |
PermissionService.getPermittedRoles(Operation operation)
Provides a list of roles that have permission to perform the given operation.
|
| Modifier and Type | Method and Description |
|---|---|
OperationService.Setup |
OperationService.Setup.add(Role... roles)
Adds new roles for the current operation with identical semantics as
OperationService.Setup.add(Role). |
OperationService.Setup |
OperationService.Setup.add(Role role)
Adds a new role for the current operation
|
OperationService.Setup |
OperationService.Setup.add(Role role1,
Role role2)
Adds new roles for the current operation with identical semantics as
OperationService.Setup.add(Role). |
OperationService.Setup |
OperationService.Setup.add(Role role1,
Role role2,
Role role3)
Adds new roles for the current operation with identical semantics as
OperationService.Setup.add(Role). |
Set<Role> |
RoleService.getImplicitPermittedRoles(Role role)
Following Wildfly's definition of roles, this method returns all roles that are implicit from the given role from
the perspective of an operation.
|
Set<Role> |
RoleService.getImplicitUserRoles(Role role)
Following Wildfly's definition of roles, this method returns all roles that are implicit from the given role from
the User's perspective (ie: user has the given role).
|
| Modifier and Type | Method and Description |
|---|---|
Role |
RoleServiceImpl.getByName(String name) |
Role |
RoleServiceImpl.produceRoleByName(javax.enterprise.inject.spi.InjectionPoint injectionPoint) |
| Modifier and Type | Method and Description |
|---|---|
Set<Role> |
PersonaServiceImpl.getEffectiveRolesForResource(Persona persona,
Resource resource) |
Set<Role> |
RoleServiceImpl.getImplicitPermittedRoles(Role role) |
Set<Role> |
RoleServiceImpl.getImplicitPermittedRoles(String name) |
Set<Role> |
RoleServiceImpl.getImplicitUserRoles(Role role) |
Set<Role> |
RoleServiceImpl.getImplicitUserRoles(String name) |
Set<Role> |
PermissionServiceImpl.getPermittedRoles(Operation operation) |
| Modifier and Type | Method and Description |
|---|---|
OperationService.Setup |
OperationServiceImpl.Setup.add(Role... roles) |
OperationService.Setup |
OperationServiceImpl.Setup.add(Role role) |
OperationService.Setup |
OperationServiceImpl.Setup.add(Role role1,
Role role2) |
OperationService.Setup |
OperationServiceImpl.Setup.add(Role role1,
Role role2,
Role role3) |
Set<Role> |
RoleServiceImpl.getImplicitPermittedRoles(Role role) |
Set<Role> |
RoleServiceImpl.getImplicitUserRoles(Role role) |
| Modifier and Type | Field and Description |
|---|---|
static javax.persistence.metamodel.SingularAttribute<Role,String> |
Role_.description |
static javax.persistence.metamodel.SingularAttribute<Role,String> |
Role_.name |
static javax.persistence.metamodel.SingularAttribute<Permission,Role> |
Permission_.role |
static javax.persistence.metamodel.SingularAttribute<OrganizationMembership,Role> |
OrganizationMembership_.role |
static javax.persistence.metamodel.SingularAttribute<PersonaResourceRole,Role> |
PersonaResourceRole_.role |
| Modifier and Type | Method and Description |
|---|---|
Role |
OrganizationMembership.getRole() |
Role |
PersonaResourceRole.getRole() |
Role |
Permission.getRole() |
| Constructor and Description |
|---|
OrganizationMembership(Organization organization,
Member member,
Role role) |
OrganizationMembership(String id,
Organization organization,
Member member,
Role role) |
Permission(Operation operation,
Role role) |
Permission(String id,
Operation operation,
Role role) |
PersonaResourceRole(Persona persona,
Role role,
Resource resource) |
PersonaResourceRole(String id,
Persona persona,
Role role,
Resource resource) |
Copyright © 2015 Red Hat, Inc.. All rights reserved.