We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In 2.0.0.M1.
2.0.0.M1
I had the following configuration in yml:
my: security: intercept-url-map: graphql: - pattern: /api/public/graphql access: - isAnonymous() - pattern: /api/public/graphiql access: - isAnonymous()
Which was intepreted by this bean:
@ConfigurationProperties("my.security") public class SecurityMapConfig { protected Map<String, List<BindableInterceptUrlMapPattern>> interceptUrlMap = new LinkedHashMap<>(); public Map<String, List<BindableInterceptUrlMapPattern>> getInterceptUrlMap() { return interceptUrlMap; } public void setInterceptUrlMap(Map<String, List<BindableInterceptUrlMapPattern>> interceptUrlMap) { this.interceptUrlMap = interceptUrlMap; } public static class BindableInterceptUrlMapPattern { private String pattern; private List<String> access = new ArrayList<>(); private HttpMethod httpMethod = null; public String getPattern() { return pattern; } public void setPattern(String pattern) { this.pattern = pattern; } public List<String> getAccess() { return access; } public void setAccess(List<String> access) { this.access = access; } public HttpMethod getHttpMethod() { return httpMethod; } public void setHttpMethod(HttpMethod httpMethod) { this.httpMethod = httpMethod; } public InterceptUrlMapPattern toInterceptUrlMapPattern() { return new InterceptUrlMapPattern(pattern, access, httpMethod); } } }
This worked well in 1.3 but now in 2.0.0.M1 the value passed in List is not BindableInterceptUrlMapPattern but LinkedHashMap:
1.3
List
BindableInterceptUrlMapPattern
LinkedHashMap
The text was updated successfully, but these errors were encountered:
Ensure collection types are bound. Fixes #2958
1120d18
graemerocher
No branches or pull requests
In
2.0.0.M1
.I had the following configuration in yml:
Which was intepreted by this bean:
This worked well in
1.3
but now in2.0.0.M1
the value passed inList
is notBindableInterceptUrlMapPattern
butLinkedHashMap
:The text was updated successfully, but these errors were encountered: