Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-321

AuthenticatingFilter - consolidate auto-authentication logic

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.0
    • 2.0.0
    • None

    Description

      The FormAuthenticationFilter and the BasicAuthenticationFilter perform repetitive logic in the onAccessDenied implementation to automate an authentication during an authentication request. For example:

      http://shiro.apache.org/static/1.1.0/xref/org/apache/shiro/web/filter/authc/FormAuthenticationFilter.html#148

      This should be abstracted and represented in the parent AuthenticatingFilter abstract class to 1) reduce code in the children classes and 2) make this accessible for custom AuthenticatingFilter subclasses.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lhazlewood Les Hazlewood
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: