|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.security.acl.ACLEntryImpl
public class ACLEntryImpl
This class represents an entry in the Access Control List (ACL), and associates a permission to an identity. This
implementation only stores permissions of type BitMaskPermission, and can also only check permissions of
that type.
| Constructor Summary | |
|---|---|
ACLEntryImpl(BitMaskPermission permission,
org.jboss.security.identity.Identity identity)
Builds an instance of ACLEntryImpl with the specified permission and identity. |
|
| Method Summary | |
|---|---|
boolean |
checkPermission(org.jboss.security.acl.ACLPermission permission)
|
boolean |
equals(Object obj)
|
ACLImpl |
getAcl()
|
long |
getACLEntryId()
Obtains the persistent id of this ACLEntryImpl. |
org.jboss.security.identity.Identity |
getIdentity()
|
org.jboss.security.acl.ACLPermission |
getPermission()
|
int |
hashCode()
|
void |
setAcl(ACLImpl acl)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ACLEntryImpl(BitMaskPermission permission,
org.jboss.security.identity.Identity identity)
Builds an instance of ACLEntryImpl with the specified permission and identity.
permission - the ACLPermission granted to the associated identity.identity - the Identity for which the permission is being granted.| Method Detail |
|---|
public long getACLEntryId()
Obtains the persistent id of this ACLEntryImpl.
long representing the persistent id this entry.public ACLImpl getAcl()
public void setAcl(ACLImpl acl)
public org.jboss.security.identity.Identity getIdentity()
getIdentity in interface org.jboss.security.acl.ACLEntrypublic org.jboss.security.acl.ACLPermission getPermission()
getPermission in interface org.jboss.security.acl.ACLEntrypublic boolean checkPermission(org.jboss.security.acl.ACLPermission permission)
checkPermission in interface org.jboss.security.acl.ACLEntrypublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||