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

ByteSource and CodecSupport refactoring

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2.0.0
    • Cryptography & Hashing
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: