org.apache.felix.useradmin.impl
Class GroupImpl
java.lang.Object
org.apache.felix.useradmin.impl.RoleImpl
org.apache.felix.useradmin.impl.UserImpl
org.apache.felix.useradmin.impl.GroupImpl
- All Implemented Interfaces:
- Serializable, Version, Group, Role, User
public class GroupImpl
- extends UserImpl
- implements Group
This class represents Group role.
Group is an aggregation of basic and required roles.
Basic and required roles are used in the autorization phase.
- Version:
- $Rev$ $Date$
- See Also:
Group
,
Serialized Form
Constructor Summary |
GroupImpl()
Construct new Group role. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupImpl
public GroupImpl()
- Construct new Group role.
addMember
public boolean addMember(Role role)
- Specified by:
addMember
in interface Group
- See Also:
Group.addMember(Role)
addRequiredMember
public boolean addRequiredMember(Role role)
- Specified by:
addRequiredMember
in interface Group
- See Also:
Group.addRequiredMember(Role)
getMembers
public Role[] getMembers()
- Specified by:
getMembers
in interface Group
- See Also:
Group.getMembers()
getRequiredMembers
public Role[] getRequiredMembers()
- Specified by:
getRequiredMembers
in interface Group
- See Also:
Group.getRequiredMembers()
removeMember
public boolean removeMember(Role role)
- Specified by:
removeMember
in interface Group
- See Also:
Group.removeMember(Role)
getType
public int getType()
- Specified by:
getType
in interface Role
- Overrides:
getType
in class UserImpl
- See Also:
Role.getType()
impliedBy
protected boolean impliedBy(AuthorizationImpl authorization)
- Checks if this role is implied by provided Authorization object.
- Overrides:
impliedBy
in class UserImpl
- Parameters:
authorization
- Authorization instance.
- Returns:
- true if is implied false if not.
- See Also:
Autorization
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.