Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.deegree.security.drm.model.Role

Packages that use Role
org.deegree.portal.standard.security.control |
org.deegree.security.drm |
org.deegree.security.drm.model |
org.deegree.tools.security |

Uses of Role in org.deegree.portal.standard.security.control

Methods in org.deegree.portal.standard.security.control that return Role
`static Role` | `SecurityHelper.checkForAdminOrSubadminRole(SecurityAccess access)` Returns the associated 'Administrator'- or 'SUBADMIN:'-role of the token holder.
`static Role` | `ClientHelper.checkForAdminOrSubadminRole(SecurityAccess access)` Returns the associated 'Administrator'- or 'SUBADMIN:'-role of the token holder.
`static Role` | `SecurityHelper.findAdminForRole(SecurityAccess access, Role role)` Returns the administrator (the 'Administrator'- or a 'SUBADMIN:'-role) for the given role.
`static Role` | `ClientHelper.findAdminForRole(SecurityAccess access, Role role)` Returns the administrator (the 'Administrator'- or a 'SUBADMIN:'-role) for the given role.

Methods in org.deegree.portal.standard.security.control with parameters of type Role
`static Role` | `SecurityHelper.findAdminForRole(SecurityAccess access, Role role)` Returns the administrator (the 'Administrator'- or a 'SUBADMIN:'-role) for the given role.
`static Role` | `ClientHelper.findAdminForRole(SecurityAccess access, Role role)` Returns the administrator (the 'Administrator'- or a 'SUBADMIN:'-role) for the given role.

Uses of Role in org.deegree.security.drm

Methods in org.deegree.security.drm that return Role
`Role[]` | `SecurityTransaction.addRoles(Role[] roles, Role role)` Returns the conjunction of an array of roles plus a single role.
`static Role` | `SecurityHelper.checkForAdminOrSubadminRole(SecurityAccess access)` Returns the associated 'Administrator'- or 'SUBADMIN:'-role of the token holder.
`static Role` | `SecurityHelper.findAdminForRole(SecurityAccess access, Role role)` Returns the administrator (the 'Administrator'- or a 'SUBADMIN:'-role) for the given role.
`Role[]` | `SecurityAccess.getAllRoles()` Retrieves all `Role` s from the `Registry`, except those that are only used internally (these have a namespace starting with the $ symbol);
`Role[]` | `SecurityRegistry.getAllRoles(SecurityAccess securityAccess)` Retrieves all `Role` s from the `Registry`, except those that are only used internally (these end with a $ symbol);
`Role[]` | `SQLRegistry.getAllRoles(SecurityAccess securityAccess)` Retrieves all `Role` s from the `Registry`, except those that are only used internally (these have namespaces that begin with $).
`Role[]` | `SecurityAccess.getAllRolesForGroup(Group group)` Returns all `Role` s that the given `Group` is associated with (directly and via group memberships).
`Role[]` | `SecurityAccess.getAllRolesForUser(User user)` Returns all `Role` s that the given `User` is associated with (directly and via group memberships).
`Role` | `SecurityAccess.getRoleById(int id)`
`Role` | `SecurityRegistry.getRoleById(SecurityAccess securityAccess, int id)` Retrieves a `Role` from the `Registry`.
`Role` | `SQLRegistry.getRoleById(SecurityAccess securityAccess, int id)` Retrieves a `Role` from the `Registry`.
`Role` | `SecurityRegistry.getRoleByName(SecurityAccess securityAccess, String name)` Retrieves a `Role` from the `Registry`.
`Role` | `SQLRegistry.getRoleByName(SecurityAccess securityAccess, String name)` Retrieves a `Role` from the `Registry`.
`Role` | `SecurityAccess.getRoleByName(String name)`
`Role[]` | `SecurityRegistry.getRolesByNS(SecurityAccess securityAccess, String ns)` Retrieves all `Role` s from the `Registry` that have a certain namespace.
`Role[]` | `SQLRegistry.getRolesByNS(SecurityAccess securityAccess, String ns)` Retrieves all `Roles` s from the `Registry` that have a certain namespace.
`Role[]` | `SecurityAccess.getRolesByNS(String ns)`
`Role[]` | `SecurityRegistry.getRolesForGroup(SecurityAccess securityAccess, Group group)` Retrieves all `Role` s from the `Registry` that are associated with a given `Group` DIRECTLY (i.e. not via group memberships).
`Role[]` | `SQLRegistry.getRolesForGroup(SecurityAccess securityAccess, Group group)` Retrieves all `Role` s from the `Registry` that are associated with a given `Group` DIRECTLY (i.e. not via inheritance).
`Role[]` | `SecurityRegistry.getRolesForUser(SecurityAccess securityAccess, User user)` Retrieves all `Role` s from the `Registry` that are associated with a given `User` DIRECTLY (i.e. not via group memberships).
`Role[]` | `SQLRegistry.getRolesForUser(SecurityAccess securityAccess, User user)` Retrieves all `Role` s from the `Registry` that are associated with a given `User` DIRECTLY (i.e. not via group memberships).
`Role` | `SecurityRegistry.registerRole(SecurityTransaction transaction, String name)` Adds a new role to the `Registry`.
`Role` | `SQLRegistry.registerRole(SecurityTransaction transaction, String name)` Adds a new role to the `Registry`.
`Role` | `SecurityTransaction.registerRole(String name)` Registers a new `Role` to the `Registry`.

Methods in org.deegree.security.drm with parameters of type Role
`void` | `SecurityTransaction.addRights(SecurableObject object, Role role, Right[] additionalRights)` Adds the specified `Rights` on the passed object to the passed role.
`void` | `SecurityTransaction.addRights(SecurableObject object, Role role, RightType[] types)` Adds the specified `Rights` on the passed object to the passed role.
`Role[]` | `SecurityTransaction.addRoles(Role[] roles, Role role)` Returns the conjunction of an array of roles plus a single role.
`Role[]` | `SecurityTransaction.addRoles(Role[] roles, Role role)` Returns the conjunction of an array of roles plus a single role.
`void` | `SecurityTransaction.deregisterRole(Role role)` Removes a `Role` from the `Registry`.
`void` | `SecurityRegistry.deregisterRole(SecurityTransaction transaction, Role role)` Removes an existing `Role` from the `Registry` (including its relations).
`void` | `SQLRegistry.deregisterRole(SecurityTransaction transaction, Role role)` Removes an existing `Role` from the `Registry` (including its relations).
`static Role` | `SecurityHelper.findAdminForRole(SecurityAccess access, Role role)` Returns the administrator (the 'Administrator'- or a 'SUBADMIN:'-role) for the given role.
`Group[]` | `SecurityRegistry.getGroupsWithRole(SecurityAccess securityAccess, Role role)` Retrieves all `Group` s from the `Registry` that are associated with a given `Role`.
`Group[]` | `SQLRegistry.getGroupsWithRole(SecurityAccess securityAccess, Role role)` Retrieves all `Group` s from the `Registry` that are associated with a given `Role` DIRECTLY (i.e. not via inheritance).
`Privilege[]` | `SecurityRegistry.getPrivilegesForRole(SecurityAccess securityAccess, Role role)` Retrieves all `Privileges` s from the `Registry` that are associated with a given `Role`.
`Privilege[]` | `SQLRegistry.getPrivilegesForRole(SecurityAccess securityAccess, Role role)` Retrieves all `Privileges` s from the `Registry` that are associated DIRECTLY (i.e. not via group memberships) with a given `Role`.
`Right[]` | `SecurityRegistry.getRights(SecurityAccess securityAccess, SecurableObject object, Role role)` Retrieves the `Rights` from the `Registry` that are associated with a given `Role` and a `SecurableObject`.
`Right[]` | `SQLRegistry.getRights(SecurityAccess securityAccess, SecurableObject object, Role role)` Retrieves the `Rights` from the `Registry` that are associated with a given `Role` and a `SecurableObject`.
`User[]` | `SecurityRegistry.getUsersWithRole(SecurityAccess securityAccess, Role role)` Retrieves all `Users` s from the `Registry` that are associated DIRECTLY (SecurityAccess securityAccess, i.e. not via group memberships) with a given `Role`.
`User[]` | `SQLRegistry.getUsersWithRole(SecurityAccess securityAccess, Role role)` Retrieves all `Users` s from the `Registry` that are associated DIRECTLY (i.e. not via group memberships) with a given `Role`.
`void` | `SecurityTransaction.removeRights(SecurableObject object, Role role, RightType[] types)` Removes all rights of the specified types that the role may have on the given `SecurableObject`.
`void` | `SecurityTransaction.setGroupsWithRole(Role role, Group[] groups)` Sets the groups to be associated with the given role.
`void` | `SecurityRegistry.setGroupsWithRole(SecurityTransaction transaction, Role role, Group[] groups)` Sets the `Group` s that a given `Role` is associated to.
`void` | `SQLRegistry.setGroupsWithRole(SecurityTransaction transaction, Role role, Group[] groups)` Sets the `Group` s that a given `Role` is associated to DIRECTLY (i.e. not via inheritance).
`void` | `SecurityTransaction.setPrivilegesForRole(Role role, Privilege[] privileges)` Sets the privileges for a certain role.
`void` | `SecurityRegistry.setPrivilegesForRole(SecurityTransaction transaction, Role role, Privilege[] privileges)` Sets all `Privilege` s that are associated with a given `Role`.
`void` | `SQLRegistry.setPrivilegesForRole(SecurityTransaction transaction, Role role, Privilege[] privileges)` Sets all `Privilege` s that are associated with a given `Role`.
`void` | `SecurityTransaction.setRights(SecurableObject[] objects, Role role, Right right)` Sets one certain right that a certain role has on the given objects.
`void` | `SecurityTransaction.setRights(SecurableObject object, Role role, Right[] rights)` Sets the `Rights` that a certain role has on a given object.
`void` | `SecurityRegistry.setRights(SecurityTransaction transaction, SecurableObject[] objects, Role role, Right right)` Sets one `Right` to be associated with a given `Role` and all given `SecurableObjects`.
`void` | `SQLRegistry.setRights(SecurityTransaction transaction, SecurableObject[] objects, Role role, Right right)` Sets one `Right` to be associated with a given `Role` and all given `SecurableObjects`.
`void` | `SecurityRegistry.setRights(SecurityTransaction transaction, SecurableObject object, Role role, Right[] rights)` Sets the `Rights` to be associated with a given `Role` and `SecurableObject`.
`void` | `SQLRegistry.setRights(SecurityTransaction transaction, SecurableObject object, Role role, Right[] rights)` Sets the `Rights` to be associated with a given `Role` and `SecurableObject`.
`void` | `SecurityRegistry.setRolesForGroup(SecurityTransaction transaction, Group group, Role[] roles)` Sets the `Role` s that a given `Group` is associated to.
`void` | `SQLRegistry.setRolesForGroup(SecurityTransaction transaction, Group group, Role[] roles)` Sets the `Role` s that a given `Group` is associated to directly (i.e. not via inheritance).
`void` | `SecurityRegistry.setRolesForUser(SecurityTransaction transaction, User user, Role[] roles)` Sets the `Role` s that a given `User` is directly associated to.
`void` | `SQLRegistry.setRolesForUser(SecurityTransaction transaction, User user, Role[] roles)` Sets the `Role` s that a given `User` is directly associated to (i.e. not via `Group` membership).
`void` | `SecurityTransaction.setUsersWithRole(Role role, User[] users)` Sets the users to be associated with the given role (DIRECTLY, i.e. not via group memberships).
`void` | `SecurityRegistry.setUsersWithRole(SecurityTransaction transaction, Role role, User[] users)` Sets the `User` s that a given `Role` is associated to.
`void` | `SQLRegistry.setUsersWithRole(SecurityTransaction transaction, Role role, User[] users)` Sets the `User` s that a given `Role` is associated to DIRECTLY (i.e. not via `Group` membership).

Constructors in org.deegree.security.drm with parameters of type Role
`SecurityTransaction(User user, SecurityRegistry registry, Role adminRole)`

Uses of Role in org.deegree.security.drm.model

Methods in org.deegree.security.drm.model that return Role
`Role[]` | `User.getRoles(SecurityAccess securityAccess)` Returns the roles that this is user is associated with (directly and via group memberships).
`Role[]` | `Group.getRoles(SecurityAccess securityAccess)` Returns `Role` s that this group is associated with directly.

Uses of Role in org.deegree.tools.security

Methods in org.deegree.tools.security that return Role
`Role` | `DRMAccess.addRole(String name)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV NEXT | FRAMES NO FRAMES

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org