Details
Description
The AuthenticationConfigurationImpl uses Configuration.getConfiguration() to get JAAS configuration when available, and falls back to the default OakConfiguration when not.
That fallback is currently triggered by a SecurityException thrown from getConfiguration(), which seems to not happen on Java 7 where instead just an empty Configuration is returned.
A better approach might be to check if the returned configuration (if any) contains entries for the specified appName, and to fall back to default configuration if not.
Attachments
Issue Links
- is related to
-
OAK-379 Query test failures on buildbot
- Closed