public class RestSecurityConfiguration extends GenericSecuredObject implements java.io.Serializable
GenericSecuredObject,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
mAcl, mOwner, mSecurityContext| Constructor and Description |
|---|
RestSecurityConfiguration(java.lang.String pName,
java.lang.String pComponent,
boolean pSecure,
java.lang.String pAcl,
SecurityConfiguration pSecurityConfiguration)
Constructs an RestSecurityConfiguration
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComponent() |
java.lang.String |
getName() |
SecurityConfiguration |
getSecurityConfiguration() |
boolean |
hasAccess(AccessRight pRight)
Determines if the current user has the specified access right
for this object.
|
boolean |
hasAcl() |
boolean |
isSecure() |
void |
setAcl(java.lang.String pAcl)
Set acl
|
void |
setComponent(java.lang.String pComponent) |
void |
setName(java.lang.String pName) |
void |
setSecure(boolean pSecure) |
void |
setSecurityConfiguration(SecurityConfiguration pSecurityConfiguration) |
java.lang.String |
toString() |
checkAccess, checkRuntimeAccess, getAccessControlList, getOwner, getSecurityContext, setAccessControlList, setOwner, setSecurityContext, supportsAccessControlList, supportsOwner, unsecuredGetAccessControlList, unsecuredGetContainers, unsecuredGetOwner, unsecuredGetSecuredContainers, unsecuredSetAccessControlList, unsecuredSetCreationSecurity, unsecuredSetOwnerpublic static final java.lang.String CLASS_VERSION
public RestSecurityConfiguration(java.lang.String pName,
java.lang.String pComponent,
boolean pSecure,
java.lang.String pAcl,
SecurityConfiguration pSecurityConfiguration)
throws SecurityException
pName - The name of the resourcepComponent - The component namepSecure - Is secure?pAcl - The aclpSecurityConfiguration - The SecurityConfigurationSecurityExceptionpublic void setSecure(boolean pSecure)
pSecure - The secure to setpublic boolean isSecure()
public void setComponent(java.lang.String pComponent)
pComponent - the component to setpublic java.lang.String getComponent()
public void setName(java.lang.String pName)
pName - the name to setpublic java.lang.String getName()
public void setSecurityConfiguration(SecurityConfiguration pSecurityConfiguration)
pSecurityConfiguration - new value to setpublic SecurityConfiguration getSecurityConfiguration()
public void setAcl(java.lang.String pAcl)
throws SecurityException
pAcl - The acl to setSecurityExceptionpublic boolean hasAcl()
public boolean hasAccess(AccessRight pRight) throws SecurityException
GenericSecuredObjecthasAccess in class GenericSecuredObjectSecurityExceptionpublic java.lang.String toString()
toString in class java.lang.Object