|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.dsp.management.beans.AdminDefinedSecureResourceConfig
public final class AdminDefinedSecureResourceConfig
Security configuration defined for a schema element (or attribute).
Nested Class Summary | |
---|---|
static class |
AdminDefinedSecureResourceConfig.RedactionMode
Defines the redaction mode to be used when owing to security access control some element (or attribute) cannot be returned to the client as is. |
Constructor Summary | |
---|---|
AdminDefinedSecureResourceConfig(java.lang.String xpath)
|
Method Summary | |
---|---|
java.util.List<javax.xml.namespace.QName> |
getDataDrivenSecurityQuery()
Returns a list of all the security xquery references to be used to control access to this element. |
java.lang.String |
getDefaultValue()
Returns the default value to be used in place of the actual value if the element (or attibute) access is denied. |
AdminDefinedSecureResourceConfig.RedactionMode |
getRedactionMode()
Return the redaction mode employed by this secured element. |
java.lang.String |
getXpath()
Returns the unique xpath for the element in the return type. |
boolean |
isUsesTag()
Returns true if the element (or attibute) must be present in the return value. |
void |
setDataDrivenSecurityQuery(java.util.List<javax.xml.namespace.QName> dataDrivenSecurityQuery)
|
void |
setDefaultValue(java.lang.String defaultValue)
|
void |
setRedactionMode(AdminDefinedSecureResourceConfig.RedactionMode mode)
Set the redaction mode to be used when the element is secured. |
void |
setUsesTag(boolean usesTag)
Deprecated. use #setRedactionMode() |
java.lang.String |
toString()
|
void |
validate()
Validates bean specific attributes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AdminDefinedSecureResourceConfig(java.lang.String xpath)
Method Detail |
---|
public java.lang.String getXpath()
public java.util.List<javax.xml.namespace.QName> getDataDrivenSecurityQuery()
AccessControlConfig.getDataDrivenSecurityQueries()
public void setDataDrivenSecurityQuery(java.util.List<javax.xml.namespace.QName> dataDrivenSecurityQuery)
public java.lang.String getDefaultValue()
public void setDefaultValue(java.lang.String defaultValue)
public boolean isUsesTag()
true
if the element (or attibute) must be present in the return value.
When an element (or attibute) is mandatory this has to be true.
Even if the element (or attibute) is not mandatory an administrator can set this to true.
true
if the element (or attibute) must be present in the return valuepublic void setUsesTag(boolean usesTag)
public AdminDefinedSecureResourceConfig.RedactionMode getRedactionMode()
public void setRedactionMode(AdminDefinedSecureResourceConfig.RedactionMode mode) throws ValidationException
mode
-
ValidationException
AdminDefinedSecureResourceConfig.RedactionMode
public void validate() throws ValidationException
Validatable
validate
in interface Validatable
ValidationException
- if the validation fails.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |