ByteSource and CodecSupport refactoring
---------------------------------------

                 Key: SHIRO-203
                 URL: https://issues.apache.org/jira/browse/SHIRO-203
             Project: Shiro
          Issue Type: Improvement
          Components: Cryptography & Hashing
            Reporter: Les Hazlewood
             Fix For: 2.0.0


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to