public class

SecurityConfig

extends Object
implements ConfigAttribute
java.lang.Object
   ↳ org.springframework.security.access.SecurityConfig
Known Direct Subclasses

Class Overview

Stores a ConfigAttribute as a String.

Summary

Public Constructors
SecurityConfig(String config)
Public Methods
static List<ConfigAttribute> createList(String... attributeNames)
static List<ConfigAttribute> createListFromCommaDelimitedString(String access)
static List<ConfigAttribute> createSingleAttributeList(String access)
This method is deprecated. Use createList instead
boolean equals(Object obj)
String getAttribute()
If the ConfigAttribute can be represented as a String and that String is sufficient in precision to be relied upon as a configuration parameter by a RunAsManager, AccessDecisionManager or AccessDecisionManager delegate, this method should return such a String.
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.security.access.ConfigAttribute

Public Constructors

public SecurityConfig (String config)

Public Methods

public static List<ConfigAttribute> createList (String... attributeNames)

public static List<ConfigAttribute> createListFromCommaDelimitedString (String access)

public static List<ConfigAttribute> createSingleAttributeList (String access)

This method is deprecated.
Use createList instead

public boolean equals (Object obj)

public String getAttribute ()

If the ConfigAttribute can be represented as a String and that String is sufficient in precision to be relied upon as a configuration parameter by a RunAsManager, AccessDecisionManager or AccessDecisionManager delegate, this method should return such a String.

If the ConfigAttribute cannot be expressed with sufficient precision as a String, null should be returned. Returning null will require any relying classes to specifically support the ConfigAttribute implementation, so returning null should be avoided unless actually required.

Returns
  • a representation of the configuration attribute (or null if the configuration attribute cannot be expressed as a String with sufficient precision).

public int hashCode ()

public String toString ()