Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

SEC-1283: AuthenticationConfigBuilder.createAnonymousFilter uses httpElt instead of anonymousElt #1532

spring-issuemaster opened this Issue Nov 1, 2009 · 1 comment


None yet
1 participant

Paul Pavlidis (Migrated from SEC-1283) said:

I think lines 378-383 should refer to anonymousElt, not httpElt. As it stands, <security:anonymous /> namespace attributes are ignored.

    if (anonymousElt != null) {
        grantedAuthority = httpElt.getAttribute("granted-authority");
        username = httpElt.getAttribute("username");
        key = httpElt.getAttribute("key");
        source = pc.extractSource(anonymousElt);

Luke Taylor said:

Thanks for spotting this. I've corrected the element name.

@spring-issuemaster spring-issuemaster added this to the 3.0.0.RC2 milestone Feb 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment