|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.security.drm.model.SecurableObject
org.deegree.security.drm.model.Group
public class Group
Implementation of group-objects. Groups s can be members of other
Groups and have associated Roles.
| Field Summary | |
|---|---|
static int |
ID_SEC_ADMIN
|
| Fields inherited from class org.deegree.security.drm.model.SecurableObject |
|---|
id, name, registry, title, type |
| Constructor Summary | |
|---|---|
Group(int id,
java.lang.String name,
java.lang.String title,
SecurityRegistry registry)
Creates a new Group -instance. |
|
| Method Summary | |
|---|---|
Group[] |
getGroups(SecurityAccess securityAccess)
Returns the Groups s that are DIRECT members (i.e. not via inheritance) of
this group. |
Privilege[] |
getPrivileges(SecurityAccess securityAccess)
Returns the Privileges that the Group has. |
RightSet |
getRights(SecurityAccess securityAccess,
SecurableObject object)
Returns the rights that this Group has on the given
SecurableObject. |
Role[] |
getRoles(SecurityAccess securityAccess)
Returns Role s that this group is associated with directly. |
User[] |
getUsers(SecurityAccess securityAccess)
Returns the User s that are DIRECT (i.e. not via group membership) members of
this group. |
java.lang.String |
toString(SecurityAccess securityAccess)
Returns a String representation of this object. |
| Methods inherited from class org.deegree.security.drm.model.SecurableObject |
|---|
equals, getID, getName, getTitle, getType, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ID_SEC_ADMIN
| Constructor Detail |
|---|
public Group(int id,
java.lang.String name,
java.lang.String title,
SecurityRegistry registry)
Group -instance.
id - name - title - registry - | Method Detail |
|---|
public User[] getUsers(SecurityAccess securityAccess)
throws GeneralSecurityException
User s that are DIRECT (i.e. not via group membership) members of
this group.
securityAccess -
GeneralSecurityException
public Group[] getGroups(SecurityAccess securityAccess)
throws GeneralSecurityException
Groups s that are DIRECT members (i.e. not via inheritance) of
this group.
securityAccess -
GeneralSecurityException
public Role[] getRoles(SecurityAccess securityAccess)
throws GeneralSecurityException
Role s that this group is associated with directly.
securityAccess -
GeneralSecurityException
public Privilege[] getPrivileges(SecurityAccess securityAccess)
throws GeneralSecurityException
Privileges that the Group has.
securityAccess -
GeneralSecurityException
public RightSet getRights(SecurityAccess securityAccess,
SecurableObject object)
throws GeneralSecurityException
Group has on the given
SecurableObject.
securityAccess -
GeneralSecurityExceptionpublic java.lang.String toString(SecurityAccess securityAccess)
String representation of this object.
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org