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.


Constructor Summary
protected SecurityManager.Authorization()
          Create empty object.
protected SecurityManager.Authorization(SecurityManager.User user, SecurityManager.Resource resource, java.lang.String access)
          Create populated object.
 
Method Summary
 java.lang.String getAccess()
          Get access string.
 SecurityManager.Resource getResource()
          Get resource.
 SecurityManager.User getUser()
          Get user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.