[jboss-jira] [JBoss JIRA] (ELY-415) Eliminate RuntimeExceptions thrown from SecurityRealm implementations.
Darran Lofthouse (JIRA)
issues at jboss.org
Fri Jun 30 13:07:00 EDT 2017
[ https://issues.jboss.org/browse/ELY-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darran Lofthouse reopened ELY-415:
----------------------------------
> 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.CR2
>
>
> 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
(v7.2.3#72005)
More information about the jboss-jira
mailing list