[jboss-jira] [JBoss JIRA] (ELY-415) Eliminate RuntimeExceptions thrown from SecurityRealm implementations.
Darran Lofthouse (JIRA)
issues at jboss.org
Mon Feb 1 05:22:00 EST 2016
Darran Lofthouse created ELY-415:
------------------------------------
Summary: Eliminate RuntimeExceptions thrown from SecurityRealm implementations.
Key: ELY-415
URL: https://issues.jboss.org/browse/ELY-415
Project: WildFly Elytron
Issue Type: Task
Components: Realms
Reporter: Darran Lofthouse
Priority: Critical
Fix For: 1.1.0.CR1
Where a realm is temporarily unavailable we have the RealmUnavailableException - in other cases however our API generally requires that null or empty representations are returned when identities can not be loaded or validation.
In a few cases RuntimeExceptions have crept into the implementations, we need to eliminate these as any code written according the API and not expecting them risks breaking for unexpected RuntimeExceptions.
Each method on the API should also be double checked to ensure it clearly documents what should happen if it can not return the desired result.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list