Class SecurityConfig
java.lang.Object
org.springframework.security.access.SecurityConfig
- All Implemented Interfaces:
Serializable,ConfigAttribute
- Direct Known Subclasses:
Jsr250SecurityConfig
Stores a
ConfigAttribute as a String.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ConfigAttribute>createList(String... attributeNames) static List<ConfigAttribute>booleanIf 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.inthashCode()toString()
-
Constructor Details
-
SecurityConfig
-
-
Method Details
-
equals
-
getAttribute
Description copied from interface:ConfigAttributeIf 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.- Specified by:
getAttributein interfaceConfigAttribute- Returns:
- a representation of the configuration attribute (or
nullif the configuration attribute cannot be expressed as aStringwith sufficient precision).
-
hashCode
public int hashCode() -
toString
-
createListFromCommaDelimitedString
-
createList
-