Class SecurityFilterProperties
java.lang.Object
org.springframework.boot.security.autoconfigure.web.servlet.SecurityFilterProperties
@ConfigurationProperties("spring.security.filter")
public class SecurityFilterProperties
extends Object
Configuration properties for Spring Security Filter.
- Since:
- 4.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intOrder applied to theSecurityFilterChainthat is used to configure basic authentication for application endpoints.static final intDefault order of Spring Security's Filter in the servlet container (i.e. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<org.springframework.boot.web.servlet.DispatcherType> intgetOrder()voidsetDispatcherTypes(Set<org.springframework.boot.web.servlet.DispatcherType> dispatcherTypes) voidsetOrder(int order)
-
Field Details
-
BASIC_AUTH_ORDER
public static final int BASIC_AUTH_ORDEROrder applied to theSecurityFilterChainthat is used to configure basic authentication for application endpoints. Create your ownSecurityFilterChainif you want to add your own authentication for all or some of those endpoints.- 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@Orderon aSecurityFilterChain.- See Also:
-
-
Constructor Details
-
SecurityFilterProperties
public SecurityFilterProperties()
-
-
Method Details
-
getOrder
public int getOrder() -
setOrder
public void setOrder(int order) -
getDispatcherTypes
-
setDispatcherTypes
public void setDispatcherTypes(Set<org.springframework.boot.web.servlet.DispatcherType> dispatcherTypes)
-