Class SecurityConfig
- java.lang.Object
- 
- org.springframework.security.access.SecurityConfig
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- ConfigAttribute
 - Direct Known Subclasses:
- Jsr250SecurityConfig
 
 public class SecurityConfig extends java.lang.Object implements ConfigAttribute Stores aConfigAttributeas aString.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description SecurityConfig(java.lang.String config)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<ConfigAttribute>createList(java.lang.String... attributeNames)static java.util.List<ConfigAttribute>createListFromCommaDelimitedString(java.lang.String access)booleanequals(java.lang.Object obj)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.inthashCode()java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
getAttributepublic java.lang.String 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 interface- ConfigAttribute
- Returns:
- a representation of the configuration attribute (or nullif the configuration attribute cannot be expressed as aStringwith sufficient precision).
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
createListFromCommaDelimitedStringpublic static java.util.List<ConfigAttribute> createListFromCommaDelimitedString(java.lang.String access) 
 - 
createListpublic static java.util.List<ConfigAttribute> createList(java.lang.String... attributeNames) 
 
- 
 
-