Spring Security
  1. Spring Security
  2. SEC-2013

AbstractAuthenticationProcessingFilter is missing space in log message

    Details

    • Type: Defect Defect
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.7, 3.1.1
    • Fix Version/s: 3.0.8, 3.1.2
    • Component/s: Web
    • Labels:
      None

      Description

      I have custom FORM_LOGIN_FILTER class (extends UsernamePasswordAuthenticationFilter). When I have (expected) SessionAuthenticationException I see the following log messages:

      2012-07-19 16:38:50,311 [btpool0-4] DEBUG FormAuthenticationFilter - Authentication request failed: org.springframework.security.web.authentication.session.SessionAuthenticationException: Only concurrent sessions for the same principal are allowed
      2012-07-19 16:38:50,311 [btpool0-4] DEBUG FormAuthenticationFilter - Updated SecurityContextHolder to contain null Authentication
      2012-07-19 16:38:50,311 [btpool0-4] DEBUG FormAuthenticationFilter - Delegating to authentication failure handlerorg.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler@5226e4c9

      As you can see "Delegating to authentication failure handlerorg.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler@5226e4c9" message has no space.

      The missing space is in the AbstractAuthenticationProcessingFilter class (see Reference URL).

        Activity

        Hide
        Rob Winch added a comment -

        Thank you for your submission. A fix is pushed to master and the 3.0.x branch

        Show
        Rob Winch added a comment - Thank you for your submission. A fix is pushed to master and the 3.0.x branch

          People

          • Assignee:
            Rob Winch
            Reporter:
            Igor Kolomiets
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: