类 SecurityProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.security.SecurityProperties
@ConfigurationProperties(prefix="spring.security") public class SecurityProperties extends Object
Configuration properties for Spring Security.
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
SecurityProperties.Filter
static class
SecurityProperties.User
字段概要
字段 修饰符和类型 字段 说明 static int
BASIC_AUTH_ORDER
Order applied to the WebSecurityConfigurerAdapter that is used to configure basic authentication for application endpoints.static int
DEFAULT_FILTER_ORDER
Default order of Spring Security's Filter in the servlet container (i.e. amongst other filters registered with the container).static int
IGNORED_ORDER
Order applied to the WebSecurityConfigurer that ignores standard static resource paths.
构造器概要
构造器 构造器 说明 SecurityProperties()
字段详细资料
BASIC_AUTH_ORDER
public static final int BASIC_AUTH_ORDER
Order applied to the WebSecurityConfigurerAdapter that is used to configure basic authentication for application endpoints. If you want to add your own authentication for all or some of those endpoints the best thing to do is to add your own WebSecurityConfigurerAdapter with lower order.- 另请参阅:
- 常量字段值
IGNORED_ORDER
public static final int IGNORED_ORDER
Order applied to the WebSecurityConfigurer that ignores standard static resource paths.- 另请参阅:
- 常量字段值
DEFAULT_FILTER_ORDER
public static final int DEFAULT_FILTER_ORDER
Default order of Spring Security's Filter in the servlet container (i.e. amongst other filters registered with the container). There is no connection between this and the@Order
on a WebSecurityConfigurer.- 另请参阅:
- 常量字段值
构造器详细资料
SecurityProperties
public SecurityProperties()
方法详细资料
getUser
public SecurityProperties.User getUser()
getFilter
public SecurityProperties.Filter getFilter()