Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 3.1.0.M1
    • Component/s: Web
    • Labels:
      None

      Description

      Users are often unaware of how to debug simple things like session-creation, redirects or other simple servlet-api data. It would be possible to add a simple filter using the namespace (e.g. <debug-filter />) which was Spring Security aware and would detect monitor the application for inconsitent behaviour (e.g. creating sessions when the "stateless" option is set) and providing useful extra information for addition to forum posts.

        Activity

        Hide
        Luke Taylor added a comment -

        A better option might be to always register the bean, using a name like "springSecurityDebugFilterChain". Substituting this in the web.xml file would allow the feature to be used, rather than adding an extra namespace element.

        Show
        Luke Taylor added a comment - A better option might be to always register the bean, using a name like "springSecurityDebugFilterChain". Substituting this in the web.xml file would allow the feature to be used, rather than adding an extra namespace element.
        Hide
        Luke Taylor added a comment -

        Implemented as a namespace element (<debug />). This will allow for future expansion and addition of extra features. At the moment it reports matching of requests to filter chains in a human-readable fashion, and also the creation of new sessions (with the stacktrace so that the point in the code where the session was created can be determined).

        Show
        Luke Taylor added a comment - Implemented as a namespace element (<debug />). This will allow for future expansion and addition of extra features. At the moment it reports matching of requests to filter chains in a human-readable fashion, and also the creation of new sessions (with the stacktrace so that the point in the code where the session was created can be determined).
        Hide
        Luke Taylor added a comment -

        Complete for now. More features will be added in future.

        Show
        Luke Taylor added a comment - Complete for now. More features will be added in future.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: