[jboss-jira] [JBoss JIRA] (ELY-94) Password types not properly acquiring KeySpec
David Lloyd (JIRA)
issues at jboss.org
Thu Oct 23 12:01:36 EDT 2014
[ https://issues.jboss.org/browse/ELY-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Lloyd resolved ELY-94.
----------------------------
Assignee: Stefan Guilhen (was: Darran Lofthouse)
Resolution: Done
Stefan finished this I believe.
> 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: Stefan Guilhen
>
> 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