This commit is contained in:
Phillip Webb 2016-02-22 10:26:57 -08:00
parent f46862d186
commit 566008336c
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ public class ManagementServerProperties implements SecurityPrerequisite {
* authentication for management endpoints. If you want to add your own authentication * 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 add your own * for all or some of those endpoints the best thing to do is add your own
* WebSecurityConfigurerAdapter with lower order, for instance by using * WebSecurityConfigurerAdapter with lower order, for instance by using
* ACCESS_OVERRIDE_ORDER. * {@code ACCESS_OVERRIDE_ORDER}.
*/ */
public static final int BASIC_AUTH_ORDER = SecurityProperties.BASIC_AUTH_ORDER - 5; public static final int BASIC_AUTH_ORDER = SecurityProperties.BASIC_AUTH_ORDER - 5;
@ -55,7 +55,7 @@ public class ManagementServerProperties implements SecurityPrerequisite {
* you want to override the default access rules for the management endpoints. If you * 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 * want to keep the default rules for management endpoints but want to override the
* security for the rest of the application, use * security for the rest of the application, use
* SecurityProperties.ACCESS_OVERRIDE_ORDER instead. * {@code SecurityProperties.ACCESS_OVERRIDE_ORDER} instead.
*/ */
public static final int ACCESS_OVERRIDE_ORDER = ManagementServerProperties.BASIC_AUTH_ORDER public static final int ACCESS_OVERRIDE_ORDER = ManagementServerProperties.BASIC_AUTH_ORDER
- 1; - 1;