atg.rest.security
Class RestSecurityConfiguration
java.lang.Object
atg.security.GenericSecuredObject
atg.rest.security.RestSecurityConfiguration
- All Implemented Interfaces:
- SecuredObject, java.io.Serializable
- Direct Known Subclasses:
- ComponentSecurityConfiguration, MethodSecurityConfiguration, PropertySecurityConfiguration
public class RestSecurityConfiguration
- extends GenericSecuredObject
- implements java.io.Serializable
The base type for Rest secured objects.
- See Also:
GenericSecuredObject
,
Serialized Form
Field Summary |
static java.lang.String |
CLASS_VERSION
Class version string |
Methods inherited from class atg.security.GenericSecuredObject |
checkAccess, checkRuntimeAccess, getAccessControlList, getOwner, getSecurityContext, setAccessControlList, setOwner, setSecurityContext, supportsAccessControlList, supportsOwner, unsecuredGetAccessControlList, unsecuredGetContainers, unsecuredGetOwner, unsecuredGetSecuredContainers, unsecuredSetAccessControlList, unsecuredSetCreationSecurity, unsecuredSetOwner |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CLASS_VERSION
public static final java.lang.String CLASS_VERSION
- Class version string
- See Also:
- Constant Field Values
RestSecurityConfiguration
public RestSecurityConfiguration(java.lang.String pName,
java.lang.String pComponent,
boolean pSecure,
java.lang.String pAcl,
SecurityConfiguration pSecurityConfiguration)
throws SecurityException
- Constructs an RestSecurityConfiguration
- Parameters:
pName
- The name of the resourcepComponent
- The component namepSecure
- Is secure?pAcl
- The aclpSecurityConfiguration
- The SecurityConfiguration
- Throws:
SecurityException
setSecure
public void setSecure(boolean pSecure)
- Parameters:
pSecure
- The secure to set
isSecure
public boolean isSecure()
- Returns:
- the value of secure
setComponent
public void setComponent(java.lang.String pComponent)
- Parameters:
pComponent
- the component to set
getComponent
public java.lang.String getComponent()
- Returns:
- the value of component
setName
public void setName(java.lang.String pName)
- Parameters:
pName
- the name to set
getName
public java.lang.String getName()
- Returns:
- the value of name
setSecurityConfiguration
public void setSecurityConfiguration(SecurityConfiguration pSecurityConfiguration)
- Parameters:
pSecurityConfiguration
- new value to set
getSecurityConfiguration
public SecurityConfiguration getSecurityConfiguration()
- Returns:
- Returns the value of seurityConfiguration
setAcl
public void setAcl(java.lang.String pAcl)
throws SecurityException
- Set acl
- Parameters:
pAcl
- The acl to set
- Throws:
SecurityException
hasAcl
public boolean hasAcl()
- Returns:
- true if Acl is defined
hasAccess
public boolean hasAccess(AccessRight pRight)
throws SecurityException
- Description copied from class:
GenericSecuredObject
- Determines if the current user has the specified access right
for this object.
- Overrides:
hasAccess
in class GenericSecuredObject
- Throws:
SecurityException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object