[jboss-jira] [JBoss JIRA] (ELY-94) Password types not properly acquiring KeySpec

David Lloyd (JIRA) issues at jboss.org
Thu Oct 9 09:58:12 EDT 2014


David Lloyd created ELY-94:
------------------------------

             Summary: Password types not properly acquiring KeySpec
                 Key: ELY-94
                 URL: https://issues.jboss.org/browse/ELY-94
             Project: WildFly Elytron
          Issue Type: Bug
          Components: Password Types
            Reporter: David Lloyd
            Assignee: Darran Lofthouse


The password implementations' {{engineGetKeySpec}} and {{engineConvertibleToKeySpec}} are all testing against an exact {{KeySpec}} type.  However this makes it impossible to acquire a general {{KeySpec}} of any type, and is also inconsistent with {{KeyFactory}}'s behavior.

Change the implementations to use {{isAssignableFrom}} checks.  All implementations should allow a class of {{PasswordSpec}} or {{KeySpec}} to be passed in; in this case, that type's preferred {{KeySpec}} type will be returned.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list