类 ManagementServerProperties

  • 所有已实现的接口:
    org.springframework.boot.autoconfigure.security.SecurityPrerequisite

    @ConfigurationProperties(prefix="management",
                             ignoreUnknownFields=true)
    public class ManagementServerProperties
    extends Object
    implements org.springframework.boot.autoconfigure.security.SecurityPrerequisite
    Properties for the management server (e.g. port and path settings).
    另请参阅:
    ServerProperties
    • 字段详细资料

      • BASIC_AUTH_ORDER

        public static final int BASIC_AUTH_ORDER
        Order applied to the WebSecurityConfigurerAdapter that is used to configure basic authentication for management 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, for instance by using ACCESS_OVERRIDE_ORDER.
        另请参阅:
        常量字段值
      • ACCESS_OVERRIDE_ORDER

        public static final int ACCESS_OVERRIDE_ORDER
        Order before the basic authentication access control provided automatically for the management endpoints. This is a useful place to put user-defined access rules if you want to override the default access rules for the management endpoints. If you want to keep the default rules for management endpoints but want to override the security for the rest of the application, use SecurityProperties.ACCESS_OVERRIDE_ORDER instead.
        另请参阅:
        常量字段值