Class SecurityProperties
java.lang.Object
org.springframework.boot.autoconfigure.security.SecurityProperties
Configuration properties for Spring Security.
- Since:
- 1.0.0
- Author:
- Dave Syer, Andy Wilkinson, Madhura Bhave
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Order applied to theSecurityFilterChain
that is used to configure basic authentication for application endpoints.static final int
Default order of Spring Security's Filter in the servlet container (i.e.static final int
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BASIC_AUTH_ORDER
public static final int BASIC_AUTH_ORDEROrder applied to theSecurityFilterChain
that is used to configure basic authentication for application endpoints. Create your ownSecurityFilterChain
if you want to add your own authentication for all or some of those endpoints.- See Also:
-
IGNORED_ORDER
Deprecated, for removal: This API element is subject to removal in a future version.since 3.5.0 for removal in 4.0.0 since Spring Security no longer recommends using the.ignoring()
methodOrder applied to theWebSecurityCustomizer
that ignores standard static resource paths.- See Also:
-
DEFAULT_FILTER_ORDER
public static final int DEFAULT_FILTER_ORDERDefault 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 aSecurityFilterChain
.- See Also:
-
-
Constructor Details
-
SecurityProperties
public SecurityProperties()
-
-
Method Details
-
getUser
-
getFilter
-
.ignoring()
method