Spring Security
  1. Spring Security
  2. SEC-1668

make org.springframework.security.web.authentication.switchuser.SwitchUserFilter username parameter-name configurable

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: 3.0.5
    • Fix Version/s: 3.1.0.RC3
    • Component/s: Web
    • Labels:
      None

      Description

      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?

        Activity

        Hide
        Luke Taylor added a comment -

        I've added a usernameParameter property to the filter.

        Show
        Luke Taylor added a comment - I've added a usernameParameter property to the filter.

          People

          • Assignee:
            Luke Taylor
            Reporter:
            Stephan Günther
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: