SEC-1668: make org.springframework.security.web.authentication.switchuser.SwitchUserFilter username parameter-name configurable #1907

Closed
spring-issuemaster opened this Issue Feb 3, 2011 · 1 comment

1 participant

@spring-issuemaster

Stephan Günther (Migrated from SEC-1668) said:

When adapting an application to spring-security, I wondered why the username-parameter-name for the SwitchUserFilter is not configurable... given this is possible in org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter?

Currently, this parameter-name is fixed to "j_username".
It would be nice to have this in sync with all the other authentication-filters..., no?

@spring-issuemaster

Luke Taylor said:

I've added a usernameParameter property to the filter.

@spring-issuemaster spring-issuemaster added this to the 3.1.0.RC3 milestone Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment