Skip to content
New issue

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

SEC-2507: WebExpressionVoter - supported secured object class #2724

spring-issuemaster opened this issue Mar 5, 2014 · 0 comments


Copy link

@spring-issuemaster spring-issuemaster commented Mar 5, 2014

Mateusz Wenus (Migrated from SEC-2507) said:

It's probably a typo - WebExpressionVoter has the following method:

public boolean supports(Class<?> clazz) {
    return clazz.isAssignableFrom(FilterInvocation.class);

I think it should be:

public boolean supports(Class<?> clazz) {
    return FilterInvocation.class.isAssignableFrom(clazz);

because WebExpressionVoter should support subclasses of FilterInvocation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.