Interface ConfigAttribute
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
PostInvocationAttribute,PreInvocationAttribute
- All Known Implementing Classes:
Jsr250SecurityConfig,SecurityConfig
Stores a security system related configuration attribute.
When an
AbstractSecurityInterceptor is
set up, a list of configuration attributes is defined for secure object patterns. These
configuration attributes have special meaning to a RunAsManager,
AccessDecisionManager or AccessDecisionManager delegate.
Stored at runtime with other ConfigAttributes for the same secure object
target.
-
Method Summary
Modifier and TypeMethodDescriptionIf 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 Details
-
getAttribute
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).
-