Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3257

Add restartResponseAtSignInPage() Method to AuthenticatedWebApplication

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-M3
    • 1.5-RC1
    • wicket-auth-roles
    • None

    Description

      I have a situation where I need to be able to get the sign in page class outside the context of the AuthenticatedWebApplication class itself (or a subclass). Basically, I've got a Spring Security framework that's going to register a custom exception mapper (that wraps the default one). If it sees an AuthenticationCredentialsNotFoundException, it needs to throw a RestartResponseAtInterceptPage(getSignInPage()). Can we add a method that does that? Patch coming...

      Attachments

        1. WICKET-3257.patch
          0.8 kB
          James Carman

        Activity

          People

            ivaynberg Igor Vaynberg
            jwcarman James Carman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: