public class MethodSecurityConfiguration extends RestSecurityConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
mAcl, mOwner, mSecurityContext
Modifier | Constructor and Description |
---|---|
protected |
MethodSecurityConfiguration(java.lang.String pName,
java.lang.String pSignature,
java.lang.String pComponent,
boolean pSecure,
java.lang.String pAcl,
SecurityConfiguration pSecurityConfiguration)
Constructor
|
protected |
MethodSecurityConfiguration(java.lang.String pName,
java.lang.String pSignature,
java.lang.String pComponent,
java.lang.String pFormHandlerErrorURLProperty,
boolean pRequiresSessionConfirmation,
boolean pSecure,
java.lang.String pAcl,
SecurityConfiguration pSecurityConfiguration)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static MethodSecurityConfiguration |
create(java.lang.String pName,
java.lang.String pSignature,
java.lang.String pComponent,
boolean pSecure,
java.lang.String pAcl,
SecurityConfiguration pSecurityConfiguration)
Factory method for creating MethodSecurityConfiguration objects
|
static MethodSecurityConfiguration |
create(java.lang.String pName,
java.lang.String pSignature,
java.lang.String pComponent,
java.lang.String pFormHandlerErrorURLProperty,
boolean pRequiresSessionConfirmation,
boolean pSecure,
java.lang.String pAcl,
SecurityConfiguration pSecurityConfiguration)
Factory method for creating MethodSecurityConfiguration objects
|
java.lang.String |
getFormHandlerErrorURLProperty() |
java.lang.String |
getSignature() |
boolean |
isRequiresSessionConfirmation() |
void |
setFormHandlerErrorURLProperty(java.lang.String pFormHandlerErrorURLProperty) |
void |
setRequiresSessionConfirmation(boolean pRequiresSessionConfirmation) |
void |
setSignature(java.lang.String pSignature) |
java.lang.String |
toString() |
getComponent, getName, getSecurityConfiguration, hasAccess, hasAcl, isSecure, setAcl, setComponent, setName, setSecure, setSecurityConfiguration
checkAccess, checkRuntimeAccess, getAccessControlList, getOwner, getSecurityContext, setAccessControlList, setOwner, setSecurityContext, supportsAccessControlList, supportsOwner, unsecuredGetAccessControlList, unsecuredGetContainers, unsecuredGetOwner, unsecuredGetSecuredContainers, unsecuredSetAccessControlList, unsecuredSetCreationSecurity, unsecuredSetOwner
public static final java.lang.String CLASS_VERSION
protected MethodSecurityConfiguration(java.lang.String pName, java.lang.String pSignature, java.lang.String pComponent, boolean pSecure, java.lang.String pAcl, SecurityConfiguration pSecurityConfiguration) throws SecurityException
pName
- The method namepSignature
- The method signaturepComponent
- The componentpSecure
- Is secure?pAcl
- The aclpSecurityConfiguration
- The SecurityConfigurationSecurityException
protected MethodSecurityConfiguration(java.lang.String pName, java.lang.String pSignature, java.lang.String pComponent, java.lang.String pFormHandlerErrorURLProperty, boolean pRequiresSessionConfirmation, boolean pSecure, java.lang.String pAcl, SecurityConfiguration pSecurityConfiguration) throws SecurityException
pName
- The method namepSignature
- The method signaturepComponent
- The componentpSecure
- Is secure?pAcl
- The aclpSecurityConfiguration
- The SecurityConfigurationSecurityException
public java.lang.String getSignature()
public void setSignature(java.lang.String pSignature)
pSignature
- the signature to setpublic java.lang.String getFormHandlerErrorURLProperty()
public void setFormHandlerErrorURLProperty(java.lang.String pFormHandlerErrorURLProperty)
pFormHandlerErrorURLProperty
- the optional error URL property on a form handler that allows REST to process error redirectspublic boolean isRequiresSessionConfirmation()
public void setRequiresSessionConfirmation(boolean pRequiresSessionConfirmation)
pRequiresSessionConfirmation
- for form handlers, does this require session confirmationpublic static MethodSecurityConfiguration create(java.lang.String pName, java.lang.String pSignature, java.lang.String pComponent, boolean pSecure, java.lang.String pAcl, SecurityConfiguration pSecurityConfiguration) throws RestInitializationException
pName
- The method namepSignature
- The method signaturepComponent
- The componentpSecure
- Is secure?pAcl
- The aclpSecurityConfiguration
- The SecurityConfigurationRestInitializationException
public static MethodSecurityConfiguration create(java.lang.String pName, java.lang.String pSignature, java.lang.String pComponent, java.lang.String pFormHandlerErrorURLProperty, boolean pRequiresSessionConfirmation, boolean pSecure, java.lang.String pAcl, SecurityConfiguration pSecurityConfiguration) throws RestInitializationException
pName
- The method namepSignature
- The method signaturepComponent
- The componentpFormHandlerErrorURLProperty
- For form handlers, optional error URL property. It allows REST to handle error redirectspRequiresSessionConfirmation
- For form handlers, whether it requires the session confirmation numberpSecure
- Is it secured?pAcl
- The ACLpSecurityConfiguration
- The security configurationRestInitializationException
public java.lang.String toString()
toString
in class RestSecurityConfiguration