Spring Security
  1. Spring Security
  2. SEC-1333

Invalid 'authentication-failure-url' attribute results in assertion failure

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0.RC2
    • Fix Version/s: 3.0.0
    • Component/s: Core
    • Labels:
      None

      Description

      If I set the 'authentication-failure-url' attribute of a <openid-login> or <form-login> element to something like "XXX/secure/login.html". I get a bean wiring failure whose message says "java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true".

      Stacktrace attached.

      1. trace
        6 kB
        Stephen Crawley

        Activity

        Hide
        Luke Taylor added a comment -

        I've added a clearer error message.

        Show
        Luke Taylor added a comment - I've added a clearer error message.

          People

          • Assignee:
            Luke Taylor
            Reporter:
            Stephen Crawley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: