]
David Lloyd resolved ELY-321.
-----------------------------
Resolution: Out of Date
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.