Details
-
Bug
-
Resolution: Done
-
Major
-
PicketBox_v4_0_alpha2
-
None
-
None
Description
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.