Class SecurityConfig


  • @DefunctConfig({"http.server.authentication.enabled","http-server.authentication.allow-forwarded-https","dispatcher.forwarded-header"})
    public class SecurityConfig
    extends Object
    • Constructor Detail

      • SecurityConfig

        public SecurityConfig()
    • Method Detail

      • isInsecureAuthenticationOverHttpAllowed

        public boolean isInsecureAuthenticationOverHttpAllowed()
      • setInsecureAuthenticationOverHttpAllowed

        @Config("http-server.authentication.allow-insecure-over-http")
        public SecurityConfig setInsecureAuthenticationOverHttpAllowed​(boolean insecureAuthenticationOverHttpAllowed)
      • getAuthenticationTypes

        @NotNull
        @NotEmpty(message="http-server.authentication.type cannot be empty")
        public @NotNull @NotEmpty(message="http-server.authentication.type cannot be empty") List<String> getAuthenticationTypes()
      • setAuthenticationTypes

        @Config("http-server.authentication.type")
        public SecurityConfig setAuthenticationTypes​(String types)
      • getFixedManagementUser

        public Optional<String> getFixedManagementUser()
      • setFixedManagementUser

        @Config("management.user")
        public SecurityConfig setFixedManagementUser​(String fixedManagementUser)
      • isFixedManagementUserForHttps

        public boolean isFixedManagementUserForHttps()
      • setFixedManagementUserForHttps

        @Config("management.user.https-enabled")
        public SecurityConfig setFixedManagementUserForHttps​(boolean fixedManagementUserForHttps)