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
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<ConfigAttribute>
createList
(String... attributeNames) static List<ConfigAttribute>
boolean
If theConfigAttribute
can be represented as aString
and thatString
is sufficient in precision to be relied upon as a configuration parameter by aRunAsManager
,AccessDecisionManager
orAccessDecisionManager
delegate, this method should return such aString
.int
hashCode()
toString()
-
Constructor Details
-
SecurityConfig
-
-
Method Details
-
equals
-
getAttribute
Description copied from interface:ConfigAttribute
If theConfigAttribute
can be represented as aString
and thatString
is sufficient in precision to be relied upon as a configuration parameter by aRunAsManager
,AccessDecisionManager
orAccessDecisionManager
delegate, this method should return such aString
.If the
ConfigAttribute
cannot be expressed with sufficient precision as aString
,null
should be returned. Returningnull
will require any relying classes to specifically support theConfigAttribute
implementation, so returningnull
should be avoided unless actually required.- Specified by:
getAttribute
in interfaceConfigAttribute
- Returns:
- a representation of the configuration attribute (or
null
if the configuration attribute cannot be expressed as aString
with sufficient precision).
-
hashCode
public int hashCode() -
toString
-
createListFromCommaDelimitedString
-
createList
-