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-1668: make org.springframework.security.web.authentication.switchuser.SwitchUserFilter username parameter-name configurable #1907

Closed
spring-projects-issues opened this issue Feb 3, 2011 · 1 comment
Labels
in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement type: jira An issue that was migrated from JIRA
Milestone

Comments

@spring-projects-issues
Copy link

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-projects-issues
Copy link
Author

Luke Taylor said:

I've added a usernameParameter property to the filter.

@spring-projects-issues spring-projects-issues added in: web An issue in web modules (web, webmvc) Closed type: enhancement A general enhancement type: jira An issue that was migrated from JIRA labels Feb 5, 2016
@spring-projects-issues spring-projects-issues 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
Labels
in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement type: jira An issue that was migrated from JIRA
Projects
None yet
Development

No branches or pull requests

1 participant