org.apache.directory.shared.ldap.aci
Class UserPermission
java.lang.Object
org.apache.directory.shared.ldap.aci.Permission
org.apache.directory.shared.ldap.aci.UserPermission
- All Implemented Interfaces:
- Serializable
public class UserPermission
- extends Permission
Represents permissions to be applied to all UserClasses in
UserFirstACIItem.
- Version:
- $Rev: 664290 $, $Date: 2008-06-07 08:28:06 +0200 (Sam, 07 jui 2008) $
- Author:
- Apache Directory Project
- See Also:
- Serialized Form
UserPermission
public UserPermission(int precedence,
Collection<GrantAndDenial> grantsAndDenials,
Collection<ProtectedItem> protectedItems)
- Creates a new instance
- Parameters:
precedence - the precedence of this permission (-1 to use the
default)grantsAndDenials - the set of GrantAndDenialsprotectedItems - the collection of ProtectedItems
getProtectedItems
public Collection<ProtectedItem> getProtectedItems()
- Returns the collection of
ProtectedItems.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.