Spring Security
  1. Spring Security
  2. SEC-1880

Mislead exception text "Use logout-url or success-handler-ref, but not both"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: 3.0.7, 3.1.0
    • Fix Version/s: 3.0.8, 3.1.1
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Any

      Description

      In org.springframework.security.config.http.LogoutBeanDefinitionParser there is an mistake in exception message composing.

      Instead of: "Use " + ATT_LOGOUT_URL + " or " + ATT_LOGOUT_HANDLER + ", but not both"

      Should be: "Use " + ATT_LOGOUT_SUCCESS_URL + " or " + ATT_LOGOUT_HANDLER + ", but not both"

        Activity

        Hide
        Rob Winch added a comment -

        Thanks for your bug submission. This is now fixed in master and the 3.0.x branch

        Show
        Rob Winch added a comment - Thanks for your bug submission. This is now fixed in master and the 3.0.x branch

          People

          • Assignee:
            Rob Winch
            Reporter:
            Victor Polischuk
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: