org.jboss.security.acl
Class EntitlementEntry
java.lang.Object
org.jboss.security.acl.EntitlementEntry
public class EntitlementEntry
- extends Object
This class represents a standard entry in the collection returned by the ACLProvider.getEntitlements method.
It contains the permissions that a particular identity has over an specific resource.
- Author:
- Stefan Guilhen
|
Constructor Summary |
EntitlementEntry(org.jboss.security.authorization.Resource resource,
org.jboss.security.acl.ACLPermission permission)
Creates an instance of EntitlementEntry with the specified resource and permissions. |
|
Method Summary |
org.jboss.security.acl.ACLPermission |
getPermission()
|
org.jboss.security.authorization.Resource |
getResource()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntitlementEntry
public EntitlementEntry(org.jboss.security.authorization.Resource resource,
org.jboss.security.acl.ACLPermission permission)
Creates an instance of EntitlementEntry with the specified resource and permissions.
- Parameters:
resource - a reference to the Resource object.permission - the permissions a particular identity has over the specified resource.
getResource
public org.jboss.security.authorization.Resource getResource()
getPermission
public org.jboss.security.acl.ACLPermission getPermission()
Copyright © 2009 JBoss Inc.. All Rights Reserved.