com.xmlserv.security
Class SecurityManager.AccessRight
java.lang.Object
|
+--com.xmlserv.security.SecurityManager.AccessRight
- Enclosing class:
- SecurityManager
- public class SecurityManager.AccessRight
- extends java.lang.Object
Abstraction of access to a resource.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityManager.AccessRight
protected SecurityManager.AccessRight()
- Create empty instance.
SecurityManager.AccessRight
protected SecurityManager.AccessRight(SecurityManager.Resource resource,
int access)
- Create populated instance.
- Parameters:
resource
- The resource.access
- The access method.
setResource
protected void setResource(SecurityManager.Resource resource)
- Set resource.
- Parameters:
resource
- The resource.
getResource
public SecurityManager.Resource getResource()
- Get resource.
- Returns:
- The resource.
setAccess
protected void setAccess(int access)
- Set access method.
- Parameters:
access
- The access method.
getAccess
public int getAccess()
- Get access method.
- Returns:
- Access method.