Spring Security中的SecurityConfig

SecurityConfig
public class SecurityConfig
extends Object
implements ConfigAttribute
Stores a ConfigAttribute as a String.

这个配置类就是为了保存 ConfigAttribute 而存在
方法有

static List<ConfigAttribute>	createList(String... attributeNames) 
static List<ConfigAttribute>	createListFromCommaDelimitedString(String access) 
static List<ConfigAttribute>	createSingleAttributeList(String access)
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() 
发布了22 篇原创文章 · 获赞 9 · 访问量 3735

猜你喜欢

转载自blog.csdn.net/king101125s/article/details/104206091