[jboss-jira] [JBoss JIRA] (ELY-126) Consider adding credential verification to realm API

David Lloyd (JIRA) issues at jboss.org
Wed Dec 10 12:23:39 EST 2014


    [ https://issues.jboss.org/browse/ELY-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026813#comment-13026813 ] 

David Lloyd edited comment on ELY-126 at 12/10/14 12:23 PM:
------------------------------------------------------------

To support scenarios where the mechanism generates a digested password, the {{verifyCredential()}} method will require the capability to compare {{Password}} instances to one another for equality.  Since {{equals()}} is not a part of the {{Key}} contract, this means {{PasswordFactory}} will require a {{compare(p1, p2)}} or {{equals(p1, p2)}} method.


was (Author: dmlloyd):
To support scenarios where the mechanism generates a digested password, the {{verifyCredential()}} method will require the capability to compare {{Password}}s to one another for equality.  Since {{equals()}} is not a part of the {{Key}} contract, this means {{PasswordFactory}} will require a {{compare(p1, p2)}} or {{equals(p1, p2)}} method.

> Consider adding credential verification to realm API
> ----------------------------------------------------
>
>                 Key: ELY-126
>                 URL: https://issues.jboss.org/browse/ELY-126
>             Project: WildFly Elytron
>          Issue Type: Feature Request
>          Components: API / SPI, Realms
>            Reporter: David Lloyd
>
> Some realms may not be able to acquire credentials.  These realms will need a verification API (not like the old verification API though).



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list