Add constants to SecurityProperties and ManagementServerProperties
For the convenience of users who want to selectively override the access rules in an application without taking complete control of the security configuration we now have some constants: * SecurityProperties.ACCESS_OVERRIDE_ORDER for overriding just the application endpoint access rules * ManagementServerProperties.ACCESS_OVERRIDE_ORDER for overriding the application endpoint and management endpoint access rules Fixes gh-803
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
|
||||
package sample.ui.method;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
@@ -38,9 +41,6 @@ import org.springframework.test.context.web.WebAppConfiguration;
|
||||
import org.springframework.util.LinkedMultiValueMap;
|
||||
import org.springframework.util.MultiValueMap;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
/**
|
||||
* Basic integration tests for demo application.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user