]
Anil Saldhana closed SECURITY-549.
----------------------------------
Fix Version/s: PicketBox_v4_0_alpha3
Resolution: Done
Security Factory NPE when there is no configuration
---------------------------------------------------
Key: SECURITY-549
URL:
https://issues.jboss.org/browse/SECURITY-549
Project: PicketBox (JBoss Security and Identity Management)
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: PicketBox_v4_0_alpha2
Reporter: Anil Saldhana
Assignee: Anil Saldhana
Fix For: PicketBox_v4_0_alpha3
A call :
String securityDomain = "other";
AuthenticationManager authM =
SecurityFactory.getAuthenticationManager(securityDomain);
will lead to:
Caused by: java.lang.RuntimeException: Unable to init SecurityFactory:
at
org.picketbox.factories.SecurityFactory.<clinit>(SecurityFactory.java:66)
... 7 more
Caused by: java.lang.NullPointerException
at
org.picketbox.factories.SecurityFactory.<clinit>(SecurityFactory.java:57)
We need to replace the NPE with a meaningful message.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: