atg.security
Class SecurityContext
java.lang.Object
  
atg.security.SecurityConfiguration
      
atg.security.SecurityContext
public class SecurityContext
- extends SecurityConfiguration
 
This object is used to specify the context in which an access
 control request is being made.  This supplies not only the
 security configuration information appropriate for the security
 domain, but also provides a reference to the object itself.
 
 
| 
Method Summary | 
 java.lang.Object | 
getObject()
 
          Returns the object that is the subject of the access
 control request, if any. | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CLASS_VERSION
public static java.lang.String CLASS_VERSION
SecurityContext
public SecurityContext(SecurityConfiguration pConfig,
                       java.lang.Object pObject)
- Creates a new security context out of a security domain's
 configuration and the secured object that is the subject
 of the access control request.
 
SecurityContext
public SecurityContext(SecurityConfiguration pConfig,
                       AccessRight[] pRights,
                       java.util.Map pRightsMap,
                       java.lang.Object pObject)
- Creates a new security context out of a security domain's
 configuration, replacing the access rights with specified
 access rights.  This is usually used for creating a sub-context
 for a different class of item in the security domain.
 
SecurityContext
public SecurityContext(SecurityPolicy pPolicy,
                       UserAuthority pUserAuthority,
                       AccessRight[] pRights,
                       java.util.Map pRightsMap,
                       java.lang.Object pObject)
- Creates a new security context.
 
getObject
public java.lang.Object getObject()
- Returns the object that is the subject of the access
 control request, if any.  This can be used to build
 contextual security policies.