|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Role | |
---|---|
org.janux.bus.security | The org.janux.bus.security package, soon to be renamed the org.janux.authorization package, contains interfaces that define a very flexible Permission-Based scheme for doing Authorization within an application; this scheme makes it possible to define whatever permissions suit a specific domain, and aggregate them into existing or new roles without having to make code changes; the key interfaces of this package are PermissionsCapable , Account , Role , and PermissionContext . |
Uses of Role in org.janux.bus.security |
---|
Classes in org.janux.bus.security with type parameters of type Role | |
---|---|
interface |
RoleDaoGeneric<T extends Role>
Used to create, save, retrieve, update and delete Role objects from persistent storage |
Methods in org.janux.bus.security that return Role | |
---|---|
Role |
RoleDao.findByName(String name)
Deprecated. Returns an Role by names, or null if the Role is not found. |
Role |
RoleDaoGeneric.findByName(String name)
Returns an Role by names, or null if the Role is not found. |
Role |
AccountService.findRoleByName(String name)
Returns a Role by names, or null if the Role is not found. |
Role |
RoleDao.loadByName(String name)
Deprecated. loads an Role object, or throws exception if Role with that name is not found |
Role |
RoleDaoGeneric.loadByName(String name)
loads an Role object, or throws exception if Role with that name is not found |
Role |
AccountService.loadRoleByName(String name)
loads an Role object, or throws exception if Role with that name is not found |
Methods in org.janux.bus.security that return types with arguments of type Role | |
---|---|
List<Role> |
Role.getRoles()
the sub-roles that this Role aggregates |
List<Role> |
Account.getRoles()
The Roles that have been granted to this Account |
SortedSet<Role> |
RoleDao.loadAll()
Deprecated. Loads all Roles defined in the system, along with their Permissions and SubRoles; a SubRole may appear individually, as well as part of the children of the Super Roles that may contain it |
SortedSet<Role> |
RoleDaoGeneric.loadAll()
Loads all Roles defined in the system, along with their Permissions and SubRoles; a SubRole may appear individually, as well as part of the children of the Super Roles that may contain it |
SortedSet<Role> |
AccountService.loadAllRoles()
Loads all Roles defined in the system |
Method parameters in org.janux.bus.security with type arguments of type Role | |
---|---|
void |
Role.setRoles(List<Role> roles)
|
void |
Account.setRoles(List<Role> roles)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |