[jboss-jira] [JBoss JIRA] (ELY-321) Add getCredentialNames() method to RealmIdentity

David Lloyd (JIRA) issues at jboss.org
Thu Oct 8 09:02:00 EDT 2015


David Lloyd created ELY-321:
-------------------------------

             Summary: Add getCredentialNames() method to RealmIdentity
                 Key: ELY-321
                 URL: https://issues.jboss.org/browse/ELY-321
             Project: WildFly Elytron
          Issue Type: Enhancement
          Components: API / SPI, Realms
            Reporter: David Lloyd


Add a {{getCredentialNames()}} method to {{RealmIdentity}}.  The description would be something like this:

bq. Get the names of the available credentials in this identity.  The {@link #getCredentialSupport(String)} method should be used to determine the exact level of support for each credential.  The realm may have access to credentials which are not named in this set.

The method should return the set or an empty set (never {{null}}).  Initial PR could just update realms to return the empty set, or just implement for the easy realms, with followup JIRAs/PRs for the remainder.

This probably should not be a default operation, since it is something that realms generally should explicitly support.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list