|
@@ -25,7 +25,7 @@ public class UrlAccessDecisionManager implements AccessDecisionManager {
|
|
|
public void decide(Authentication authentication, Object object, Collection<ConfigAttribute> configAttributes) throws AccessDeniedException, InsufficientAuthenticationException {
|
|
|
HttpServletRequest request = ((FilterInvocation) object).getHttpRequest();
|
|
|
String url, method;
|
|
|
- if ("anonymousUser".equals(authentication.getPrincipal())) {
|
|
|
+ if ("anonymousUser".equals(authentication.getPrincipal())){
|
|
|
if (matchers("/swagger/**", request)
|
|
|
|| matchers("/v2/**", request)
|
|
|
|| matchers("/swagger-ui.html/**", request)
|
|
@@ -38,9 +38,6 @@ public class UrlAccessDecisionManager implements AccessDecisionManager {
|
|
|
|| matchers("/service_filter/getAll", request)
|
|
|
|| matchers("/serviceToken/hasPermission", request)
|
|
|
|| matchers("/productOrder/getInformationAvailableAll", request)
|
|
|
- || matchers("/diagLantoneProduct/selectProduct", request)
|
|
|
- || matchers("/morServices/addOrder", request)
|
|
|
- || matchers("/diagLantoneProduct/opendedProduct", request)
|
|
|
|| matchers("/", request)) {
|
|
|
return;
|
|
|
} else {
|