Shiro
  1. Shiro
  2. SHIRO-203

ByteSource and CodecSupport refactoring

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: Cryptography & Hashing
    • Labels:
      None

      Description

      The org.apache.shiro.util.ByteSource ideally shouldn't be in a generic 'util' package. We have an existing org.apache.shiro.io package where it should reside.

      Also, the org.apache.shiro.codec.CodecSupport implements a lot of byte-related procedural logic and is subclassed by mostly Hash and CredentialsMatcher implementations. Ideally this class should either be removed or cleaned up to use ByteSource constructs and the other classes changed to prefer delegation to ByteSource behavior instead of inheriting from CodecSupport.

      Initially slated for 2.0 due to the backwards incompatibility this would cause.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Les Hazlewood
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development