Class SecurityProperties

java.lang.Object
org.springframework.boot.autoconfigure.security.SecurityProperties

@ConfigurationProperties(prefix="spring.security") public class SecurityProperties extends Object
Configuration properties for Spring Security.
Since:
1.0.0
Author:
Dave Syer, Andy Wilkinson, Madhura Bhave
  • Field Details

    • BASIC_AUTH_ORDER

      public static final int BASIC_AUTH_ORDER
      Order applied to the SecurityFilterChain that is used to configure basic authentication for application endpoints. Create your own SecurityFilterChain if you want to add your own authentication for all or some of those endpoints.
      See Also:
    • IGNORED_ORDER

      public static final int IGNORED_ORDER
      Order applied to the WebSecurityCustomizer that ignores standard static resource paths.
      See Also:
    • 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 SecurityFilterChain.
      See Also:
  • Constructor Details

    • SecurityProperties

      public SecurityProperties()
  • Method Details