Spring Security
  1. Spring Security
  2. SEC-1501

Documention uses incorrect package in example bean definition

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.2
    • Fix Version/s: 3.0.3, 3.1.0.M1
    • Component/s: Web
    • Labels:
      None

      Description

      The JavaDoc page for SwitchUserFilter lists an example bean definition:

      <bean id="switchUserProcessingFilter" class="org.springframework.security.web.authentication.SwitchUserFilter">
      <property name="userDetailsService" ref="userDetailsService" />
      <property name="switchUserUrl"><value>/j_spring_security_switch_user</value></property>
      <property name="exitUserUrl"><value>/j_spring_security_exit_user</value></property>
      <property name="targetUrl"><value>/index.jsp</value></property></bean>

      The package is incorrectly stated as org.springframework.security.web.authentication; it should be org.springframework.security.web.authentication.switchuser

        Activity

        Hide
        Luke Taylor added a comment -

        Thanks. I've corrected the package name.

        Show
        Luke Taylor added a comment - Thanks. I've corrected the package name.

          People

          • Assignee:
            Luke Taylor
            Reporter:
            Eric Rath
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: