Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1434

Cookie not cleared after logout, Shiro session remains active

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.12.1
    • 1.13.0
    • Security Shiro
    • None
    • OSX

    Description

      I have some files that I have stored in the resource folder, which I only want to be available for authenticated users. So I have added the following contents to my shiro.ini file:

      [main]
      authc.loginUrl = /wicket/signin
       
      [urls]
      /dist/** = authc
      

      When I am not authenticated, retrieving a page from that folder correctly brings me to Wicket. After logging in, the resource becomes available. However, when I log out, either through the TertiaryActionsPanel in Wicket, or using the logout call from the UserResource, it seems that my cookie is not cleared. I am logged out from Wicket, but I can still access the resources (until I clear my cookie on client side).

      In this case i'm trying to protect a few resources, which is a kind of ridiculous use case, but I think that this also applies for other servlet filters, which may lead to some unwanted results.

      Attachments

        Activity

          People

            danhaywood Daniel Keir Haywood
            jwgmeligmeyling Jan-Willem Gmelig Meyling
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: