|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.dsp.management.beans.AdminDefinedSecureResourceConfig
public final class AdminDefinedSecureResourceConfig
Security configuration defined for a schema element (or attribute).
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 access is denied. |
java.lang.String |
getXpath()
Returns the unique xpath for the element in the return type. |
boolean |
isUsesTag()
Returns true if the element must be present in the return value. |
void |
setDataDrivenSecurityQuery(java.util.List<javax.xml.namespace.QName> dataDrivenSecurityQuery)
|
void |
setDefaultValue(java.lang.String defaultValue)
|
void |
setUsesTag(boolean usesTag)
|
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()
true
.
public void setDefaultValue(java.lang.String defaultValue)
public boolean isUsesTag()
true
if the element must be present in the return value.
If the access is denied then the default value must be used.
When an element is mandatory this has to be true.
Even if the element is not mandatory an administrator can set this to true.
true
if the element must be present in the return valuepublic void setUsesTag(boolean usesTag)
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 |