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

Improvement in Shiro API

    XMLWordPrintableJSON

Details

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

    Description

      This issue was inspired by this thread in shiro user mailing list:

      I suggest:

      1)To change API to open access to some top level objects, SessionManager, SessionDAO etc.
      (return null if some implementation doesn’t have one of them)
      2) To separate SecurityManager from SessionManager (leave only has relation).

      API must be more flexible. Particularly for Shiro 2.0 that, as I understand, must support jpms. The main idea of jpms is to have a clear API and to hide implementation.

      If it is necessary to make casting and get implementations to get active sessions we can conclude that is necessary to improve API.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Pavel_K Pavel_K
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: