Interface ConfigAttribute
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
PostInvocationAttribute,PreInvocationAttribute
- All Known Implementing Classes:
Jsr250SecurityConfig,SecurityConfig
public interface ConfigAttribute extends java.io.SerializableStores a security system related configuration attribute.When an
AbstractSecurityInterceptoris set up, a list of configuration attributes is defined for secure object patterns. These configuration attributes have special meaning to aRunAsManager,AccessDecisionManagerorAccessDecisionManagerdelegate.Stored at runtime with other
ConfigAttributes for the same secure object target.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAttribute()If theConfigAttributecan be represented as aStringand thatStringis sufficient in precision to be relied upon as a configuration parameter by aRunAsManager,AccessDecisionManagerorAccessDecisionManagerdelegate, this method should return such aString.
-
-
-
Method Detail
-
getAttribute
java.lang.String getAttribute()
If theConfigAttributecan be represented as aStringand thatStringis sufficient in precision to be relied upon as a configuration parameter by aRunAsManager,AccessDecisionManagerorAccessDecisionManagerdelegate, this method should return such aString.If the
ConfigAttributecannot be expressed with sufficient precision as aString,nullshould be returned. Returningnullwill require any relying classes to specifically support theConfigAttributeimplementation, so returningnullshould be avoided unless actually required.- Returns:
- a representation of the configuration attribute (or
nullif the configuration attribute cannot be expressed as aStringwith sufficient precision).
-
-