Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.persistence.security.common
Interface AclEntry

All Superinterfaces:
java.lang.Cloneable
All Known Implementing Classes:
AclEntryImpl

public interface AclEntry
extends java.lang.Cloneable

Entry in an access control list (Acl). Each entry specifies the privilege that a user has.

See Also:
Acl, User, Privilege

Method Summary
 boolean checkPrivilege(Privilege privilege)
          Indicates whether this AclEntry has the specified Privilege.
 Privilege getPrivilege()
          Retrieves the Privilege that this AclEntry assigns to a user.
 User getUser()
          Retrieves the user for this AclEntry.
 void setPrivilege(Privilege privilege)
          Specifies the Privilege of this AclEntry.

 

Method Detail

getUser

public User getUser()
Retrieves the user for this AclEntry.
Returns:
The User for which this AclEntry specifies rights.

getPrivilege

public Privilege getPrivilege()
Retrieves the Privilege that this AclEntry assigns to a user.
Returns:
The Privilege that the user for this AclEntry has.

setPrivilege

public void setPrivilege(Privilege privilege)
Specifies the Privilege of this AclEntry. The Privilege identifies the rights that the user for this AclEntry has to operate on a context or on its contents.
Parameters:
privilege - The Privilege that specify the rights for the user of this AclEntry.

checkPrivilege

public boolean checkPrivilege(Privilege privilege)
Indicates whether this AclEntry has the specified Privilege. This method indicates whether the user in this entry has the access rights that the specified Privilege identifies. The specified Privilege can be equivalent to the Privilege of this entry, or it can be implied by this entry's Privilege. For example, if you pass a Read Privilege to this method, and this entry has Write Privilege, then this method returns true.
Parameters:
privilege - The Privilege that identifies the access rights that you want to find out about.
Returns:
true if the User for this AclEntry has privilege rights, false if the User does not.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.