Spring Security
  1. Spring Security
  2. SEC-1526

Allow easy customization intercept URL: UsernamePasswordAuthenticationFilter

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: 3.1.0.M1
    • Component/s: None
    • Labels:
      None

      Description

      I would propose refactoring UsernamePasswordAuthenticationFilter in order to be able to easily customize intercept URL (/j_spring_security_check)
      E.g. the way the loginUrl is easily customizable in LoginUrlAuthenticationEntryPoint

      Because the intercept URL is now hard coded in the constructor you can't easily extend UsernamePasswordAuthenticationFilter in order to customize the URL.

        Activity

        Hide
        marc schipperheyn added a comment -

        actually, it may already be easy by using setFilterProcessesUrl

        Show
        marc schipperheyn added a comment - actually, it may already be easy by using setFilterProcessesUrl

          People

          • Assignee:
            Luke Taylor
            Reporter:
            marc schipperheyn
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: