com.xmlserv.security
Class SecurityManager.Authorization
java.lang.Object
|
+--com.xmlserv.security.SecurityManager.Authorization
- Enclosing class:
- SecurityManager
- public class SecurityManager.Authorization
- extends java.lang.Object
Abstraction of authorization.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityManager.Authorization
protected SecurityManager.Authorization()
- Create empty object.
SecurityManager.Authorization
protected SecurityManager.Authorization(SecurityManager.User user,
SecurityManager.Resource resource,
java.lang.String access)
- Create populated object.
- Parameters:
user
- SecurityManager.User instance to associatte this authorization with.resource
- The SecurityManager.Resource describing the resource.access
- A constant defined in SecurityManager for the access methods.
getUser
public SecurityManager.User getUser()
- Get user.
- Returns:
- The SecurityManager.User instance associated with this Authorization.
getResource
public SecurityManager.Resource getResource()
- Get resource.
- Returns:
- The SecurityManager.Resource instance associated with this Authorization.
getAccess
public java.lang.String getAccess()
- Get access string.
- Returns:
- The access string.