[jboss-jira] [JBoss JIRA] Closed: (SECURITY-549) Security Factory NPE when there is no configuration
Anil Saldhana (JIRA)
jira-events at lists.jboss.org
Wed Jan 12 10:18:49 EST 2011
[ https://issues.jboss.org/browse/SECURITY-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list