| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SecurityAccess | |
|---|---|
| org.deegree.portal.standard.security.control | |
| org.deegree.security.drm | |
| org.deegree.security.drm.model | |
| Uses of SecurityAccess in org.deegree.portal.standard.security.control | 
|---|
| Methods in org.deegree.portal.standard.security.control that return SecurityAccess | |
|---|---|
static SecurityAccess | 
ClientHelper.acquireAccess(AbstractListener listener)
Tries to acquire a SecurityAccess for the credentials (username, password)
 stored in the associated HttpSesssion of the given
 AbstractListener. | 
static SecurityAccess | 
SecurityHelper.acquireAccess(AbstractListener listener)
Tries to acquire a SecurityAccess for the credentials (username, password) stored in the associated
 HttpSesssion of the given AbstractListener. | 
| Methods in org.deegree.portal.standard.security.control with parameters of type SecurityAccess | |
|---|---|
static Role | 
ClientHelper.checkForAdminOrSubadminRole(SecurityAccess access)
Returns the associated 'Administrator'- or 'SUBADMIN:'-role of the token holder.  | 
static Role | 
SecurityHelper.checkForAdminOrSubadminRole(SecurityAccess access)
Returns the associated 'Administrator'- or 'SUBADMIN:'-role of the token holder.  | 
static void | 
ClientHelper.checkForAdminRole(SecurityAccess access)
Tests if the given token is associated with the 'Administrator'-role.  | 
static void | 
SecurityHelper.checkForAdminRole(SecurityAccess access)
Tests if the given token is associated with the 'Administrator'-role.  | 
static void | 
ClientHelper.checkSubadminRoleValidity(SecurityAccess access)
Tests if the 'SUBADMIN:' and 'Administrator'-roles are all disjoint (so that there are no users that have more than 1 role).  | 
static void | 
SecurityHelper.checkSubadminRoleValidity(SecurityAccess access)
Tests if the 'SUBADMIN:' and 'Administrator'-roles are all disjoint (so that there are no users that have more than 1 role).  | 
static Role | 
ClientHelper.findAdminForRole(SecurityAccess access,
                                 Role role)
Returns the administrator (the 'Administrator'- or a 'SUBADMIN:'-role) for the given role.  | 
static Role | 
SecurityHelper.findAdminForRole(SecurityAccess access,
                                 Role role)
Returns the administrator (the 'Administrator'- or a 'SUBADMIN:'-role) for the given role.  | 
| Uses of SecurityAccess in org.deegree.security.drm | 
|---|
| Subclasses of SecurityAccess in org.deegree.security.drm | |
|---|---|
 class | 
SecurityTransaction
 | 
| Methods in org.deegree.security.drm that return SecurityAccess | |
|---|---|
 SecurityAccess | 
SecurityAccessManager.acquireAccess(User user)
Tries to acquire a SecurityAccess -instance. | 
| Methods in org.deegree.security.drm with parameters of type SecurityAccess | |
|---|---|
static Role | 
SecurityHelper.checkForAdminOrSubadminRole(SecurityAccess access)
Returns the associated 'Administrator'- or 'SUBADMIN:'-role of the token holder.  | 
static void | 
SecurityHelper.checkForAdminRole(SecurityAccess access)
Tests if the given token is associated with the 'Administrator'-role.  | 
static void | 
SecurityHelper.checkSubadminRoleValidity(SecurityAccess access)
Tests if the 'SUBADMIN:' and 'Administrator'-roles are all disjoint (so that there are no users that have more than 1 role).  | 
static Role | 
SecurityHelper.findAdminForRole(SecurityAccess access,
                                 Role role)
Returns the administrator (the 'Administrator'- or a 'SUBADMIN:'-role) for the given role.  | 
 Group[] | 
SQLRegistry.getAllGroups(SecurityAccess securityAccess)
Retrieves all Group s from the Registry. | 
 Group[] | 
SecurityRegistry.getAllGroups(SecurityAccess securityAccess)
Retrieves all Group s from the Registry. | 
 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[] | 
SecurityRegistry.getAllRoles(SecurityAccess securityAccess)
Retrieves all Role s from the Registry, except those that are only used internally
 (these end with a $ symbol); | 
 SecuredObject[] | 
SQLRegistry.getAllSecuredObjects(SecurityAccess securityAccess,
                                         String type)
Retrieves all SecuredObject s with the given type from the Registry. | 
 SecuredObject[] | 
SecurityRegistry.getAllSecuredObjects(SecurityAccess securityAccess,
                                         String type)
Retrieves all SecuredObject s from the Registry. | 
 LinkedList<Service> | 
SQLRegistry.getAllServices(SecurityAccess access)
 | 
 LinkedList<Service> | 
SecurityRegistry.getAllServices(SecurityAccess access)
 | 
 User[] | 
SQLRegistry.getAllUsers(SecurityAccess securityAccess)
Retrieves all User s from the Registry. | 
 User[] | 
SecurityRegistry.getAllUsers(SecurityAccess securityAccess)
Retrieves all User s from the Registry. | 
 String | 
SQLRegistry.getConstraints(SecurityAccess access,
                             Role role,
                             Service service)
 | 
 String | 
SecurityRegistry.getConstraints(SecurityAccess access,
                             Role role,
                             Service service)
 | 
 Group | 
SQLRegistry.getGroupById(SecurityAccess securityAccess,
                         int id)
Retrieves a Group from the Registry. | 
 Group | 
SecurityRegistry.getGroupById(SecurityAccess securityAccess,
                         int id)
Retrieves a Group from the Registry. | 
 Group | 
SQLRegistry.getGroupByName(SecurityAccess securityAccess,
                             String name)
Retrieves a Group from the Registry. | 
 Group | 
SecurityRegistry.getGroupByName(SecurityAccess securityAccess,
                             String name)
Retrieves a Group from the Registry. | 
 Group[] | 
SQLRegistry.getGroupsForGroup(SecurityAccess securityAccess,
                                   Group group)
Retrieves all Group s from the Registry that the given Group is a DIRECT
 member (i.e. not via inheritance) of. | 
 Group[] | 
SecurityRegistry.getGroupsForGroup(SecurityAccess securityAccess,
                                   Group group)
Retrieves all Group s from the Registry that the given Group belongs to. | 
 Group[] | 
SQLRegistry.getGroupsForGroups(SecurityAccess securityAccess,
                                     Group[] groups)
 | 
 Group[] | 
SecurityRegistry.getGroupsForGroups(SecurityAccess securityAccess,
                                     Group[] groups)
Retrieves all Group s from the Registry that the given Groups belongs to. | 
 Group[] | 
SQLRegistry.getGroupsForUser(SecurityAccess securityAccess,
                                 User user)
Retrieves all Group s from the Registry that the given User is a DIRECT
 (i.e. not via inheritance) member of. | 
 Group[] | 
SecurityRegistry.getGroupsForUser(SecurityAccess securityAccess,
                                 User user)
Retrieves all Group s from the Registry that the given User belongs to. | 
 Group[] | 
SQLRegistry.getGroupsInGroup(SecurityAccess securityAccess,
                                 Group group)
Retrieves all Groups s from the Registry that are members of another Group
 DIRECTLY (i.e. not via inheritance). | 
 Group[] | 
SecurityRegistry.getGroupsInGroup(SecurityAccess securityAccess,
                                 Group group)
Retrieves all Group s from the Registry belong to the given Group. | 
 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). | 
 Group[] | 
SecurityRegistry.getGroupsWithRole(SecurityAccess securityAccess,
                                   Role role)
Retrieves all Group s from the Registry that are associated with a given
 Role. | 
 Privilege | 
SQLRegistry.getPrivilegeByName(SecurityAccess securityAccess,
                                     String name)
Retrieves a Privilege from the Registry. | 
 Privilege | 
SecurityRegistry.getPrivilegeByName(SecurityAccess securityAccess,
                                     String name)
Retrieves a Privilege from the Registry. | 
 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. | 
 Privilege[] | 
SecurityRegistry.getPrivilegesForRole(SecurityAccess securityAccess,
                                         Role role)
Retrieves all Privileges s from the Registry that are associated with a given
 Role. | 
 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. | 
 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[] roles,
                   RightType type)
Retrieves the Rights from the Registry that are associated with a given
 Role and a SecurableObject. | 
 Right[] | 
SecurityRegistry.getRights(SecurityAccess securityAccess,
                   SecurableObject object,
                   Role[] roles,
                   RightType type)
Retrieves the Rights from the Registry that are associated with a given
 Role and a SecurableObject. | 
 RightType | 
SQLRegistry.getRightTypeByName(SecurityAccess securityAccess,
                                     String name)
Retrieves a Right from the Registry. | 
 RightType | 
SecurityRegistry.getRightTypeByName(SecurityAccess securityAccess,
                                     String name)
Retrieves a RightType from the Registry. | 
 Role | 
SQLRegistry.getRoleById(SecurityAccess securityAccess,
                       int id)
Retrieves a Role from the Registry. | 
 Role | 
SecurityRegistry.getRoleById(SecurityAccess securityAccess,
                       int id)
Retrieves a Role from the Registry. | 
 Role | 
SQLRegistry.getRoleByName(SecurityAccess securityAccess,
                           String name)
Retrieves a Role from the Registry. | 
 Role | 
SecurityRegistry.getRoleByName(SecurityAccess securityAccess,
                           String name)
Retrieves a Role from the Registry. | 
 Role[] | 
SQLRegistry.getRolesByNS(SecurityAccess securityAccess,
                         String ns)
Retrieves all Roles s from the Registry that have a certain namespace. | 
 Role[] | 
SecurityRegistry.getRolesByNS(SecurityAccess securityAccess,
                         String ns)
Retrieves all Role s from the Registry that have a certain namespace. | 
 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.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.getRolesForGroups(SecurityAccess securityAccess,
                                   Group[] groups)
Retrieves all Role s from the Registry that are associated with a given
 Groups DIRECTLY (i.e. not via group memberships). | 
 Role[] | 
SecurityRegistry.getRolesForGroups(SecurityAccess securityAccess,
                                   Group[] groups)
Retrieves all Role s from the Registry that are associated with a given
 Groups 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.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). | 
 LinkedList<Service> | 
SQLRegistry.getRolesServices(SecurityAccess access,
                                 Role role)
 | 
 LinkedList<Service> | 
SecurityRegistry.getRolesServices(SecurityAccess access,
                                 Role role)
 | 
 SecuredObject | 
SQLRegistry.getSecuredObjectById(SecurityAccess securityAccess,
                                         int id)
Retrieves a SecuredObject from the Registry. | 
 SecuredObject | 
SecurityRegistry.getSecuredObjectById(SecurityAccess securityAccess,
                                         int id)
Retrieves a SecuredObject from the Registry. | 
 SecuredObject | 
SQLRegistry.getSecuredObjectByName(SecurityAccess securityAccess,
                                             String name,
                                             String type)
Retrieves a SecuredObject from the Registry. | 
 SecuredObject | 
SecurityRegistry.getSecuredObjectByName(SecurityAccess securityAccess,
                                             String name,
                                             String type)
Retrieves a SecuredObject from the Registry. | 
 SecuredObject[] | 
SQLRegistry.getSecuredObjectsByNS(SecurityAccess securityAccess,
                                           String ns,
                                           String type)
Retrieves all SecuredObject s from the Registry that have a certain namespace. | 
 SecuredObject[] | 
SecurityRegistry.getSecuredObjectsByNS(SecurityAccess securityAccess,
                                           String ns,
                                           String type)
Retrieves all SecuredObject s from the Registry that have a certain namespace. | 
 Service | 
SQLRegistry.getServiceByAddress(SecurityAccess access,
                                       String address)
 | 
 Service | 
SecurityRegistry.getServiceByAddress(SecurityAccess access,
                                       String address)
 | 
 Service | 
SQLRegistry.getServiceById(SecurityAccess access,
                             int id)
 | 
 Service | 
SecurityRegistry.getServiceById(SecurityAccess access,
                             int id)
 | 
 User | 
SQLRegistry.getUserById(SecurityAccess securityAccess,
                       int id)
Retrieves a User from the Registry. | 
 User | 
SecurityRegistry.getUserById(SecurityAccess securityAccess,
                       int id)
Retrieves a User from the Registry. | 
 User | 
SQLRegistry.getUserByName(SecurityAccess securityAccess,
                           String name)
Retrieves a User from the Registry. | 
 User | 
SecurityRegistry.getUserByName(SecurityAccess securityAccess,
                           String name)
Retrieves a User from the Registry. | 
 User[] | 
SQLRegistry.getUsersInGroup(SecurityAccess securityAccess,
                               Group group)
Retrieves all User s from the Registry that belong to the given Group
 DIRECTLY (i.e. not via inheritance). | 
 User[] | 
SecurityRegistry.getUsersInGroup(SecurityAccess securityAccess,
                               Group group)
Retrieves all User s from the Registry belong to the given Group. | 
 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. | 
 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. | 
 boolean | 
SQLRegistry.hasServiceRight(SecurityAccess access,
                               Service service,
                               Role role,
                               RightType right)
 | 
 boolean | 
SecurityRegistry.hasServiceRight(SecurityAccess access,
                               Service service,
                               Role role,
                               RightType right)
 | 
| Uses of SecurityAccess in org.deegree.security.drm.model | 
|---|
| Methods in org.deegree.security.drm.model with parameters of type SecurityAccess | |
|---|---|
 User[] | 
Role.getAllUsers(SecurityAccess securityAccess)
Returns the User s that are associated with this role
 either directly or via group membership. | 
 Group[] | 
Group.getGroups(SecurityAccess securityAccess)
Returns the Groups s that are DIRECT members (i.e. not via inheritance) of
 this group. | 
 Group[] | 
User.getGroups(SecurityAccess securityAccess)
Returns the groups that this user belongs to.  | 
 Group[] | 
Role.getGroups(SecurityAccess securityAccess)
Returns the Group s that are associated with this role
 DIRECTLY, i.e. not via membership in other roles. | 
 Privilege[] | 
Group.getPrivileges(SecurityAccess securityAccess)
Returns the Privileges that the Group has. | 
 Privilege[] | 
User.getPrivileges(SecurityAccess securityAccess)
Returns the Privileges that the User has (directly and via
 group memberships). | 
 Privilege[] | 
Role.getPrivileges(SecurityAccess securityAccess)
Returns the Privilege s that this role has. | 
 RightSet | 
Group.getRights(SecurityAccess securityAccess,
                   SecurableObject object)
Returns the rights that this Group has on the given
 SecurableObject. | 
 RightSet | 
User.getRights(SecurityAccess securityAccess,
                   SecurableObject object)
Returns the rights that this User has on the given
 SecurableObject (directly and via group memberships). | 
 RightSet | 
Role.getRights(SecurityAccess securityAccess,
                   SecurableObject object)
Returns the rights that this role defines concerning the given SecurableObject. | 
 RightSet | 
User.getRights(SecurityAccess securityAccess,
                   SecurableObject object,
                   RightType type)
Returns the rights that this User has on the given
 SecurableObject (directly and via group memberships). | 
 Role[] | 
Group.getRoles(SecurityAccess securityAccess)
Returns Role s that this group is associated with directly. | 
 Role[] | 
User.getRoles(SecurityAccess securityAccess)
Returns the roles that this is user is associated with (directly and via group memberships).  | 
 User[] | 
Group.getUsers(SecurityAccess securityAccess)
Returns the User s that are DIRECT (i.e. not via group membership) members of
 this group. | 
 User[] | 
Role.getUsers(SecurityAccess securityAccess)
Returns the User s that are associated with this role
 DIRECTLY, i.e. not via group membership. | 
 boolean | 
User.hasPrivilege(SecurityAccess securityAccess,
                         Privilege privilege)
Returns whether the User has a certain Privilege (either
 directly or via group memberships). | 
 boolean | 
Role.hasPrivilege(SecurityAccess securityAccess,
                         Privilege privilege)
Returns whether the Role has a certain
 Privilege. | 
 boolean | 
User.hasPrivilege(SecurityAccess securityAccess,
                         String s)
Returns whether the User has a certain privilege (either directly or via group
 memberships). | 
 boolean | 
Role.hasPrivilege(SecurityAccess securityAccess,
                         String s)
Returns whether the Role has a certain privilege. | 
 boolean | 
User.hasRight(SecurityAccess securityAccess,
                 RightType type,
                 Feature accessParams,
                 SecurableObject object)
Returns whether the User has a certain Right on this
 SecurableObject (directly or via group memberships). | 
 boolean | 
Role.hasRight(SecurityAccess securityAccess,
                 RightType type,
                 Feature accessParams,
                 SecurableObject object)
Returns whether the Role has a certain Right
 on a SecurableObject (directly or via group
 memberships). | 
 boolean | 
User.hasRight(SecurityAccess securityAccess,
                 RightType type,
                 SecurableObject object)
Returns whether the User has a certain Right on this
 SecurableObject (directly or via group memberships). | 
 boolean | 
Role.hasRight(SecurityAccess securityAccess,
                 RightType type,
                 SecurableObject object)
Returns whether the Role has a certain Right
 on a SecurableObject. | 
 boolean | 
User.hasRight(SecurityAccess securityAccess,
                 String s,
                 SecurableObject object)
Returns whether the User has a certain right on this
 SecurableObject (directly or via group memberships). | 
 boolean | 
Role.hasRight(SecurityAccess securityAccess,
                 String s,
                 SecurableObject object)
Returns whether the Role has a certain right on a
 SecurableObject. | 
 String | 
Group.toString(SecurityAccess securityAccess)
Returns a String representation of this object. | 
 String | 
User.toString(SecurityAccess securityAccess)
Returns a String representation of this object. | 
 String | 
Role.toString(SecurityAccess securityAccess)
Returns a String representation of this object. | 
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org