[
https://issues.apache.org/jira/browse/KARAF-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schneider resolved KARAF-3459.
----------------------------------------
Resolution: Fixed
> PropertiesLoginModule throws NPE when callbackHandler is null
> -------------------------------------------------------------
>
> Key: KARAF-3459
> URL: https://issues.apache.org/jira/browse/KARAF-3459
> Project: Karaf
> Issue Type: Bug
> Components: karaf-security
> Reporter: Christian Schneider
> Assignee: Christian Schneider
> Fix For: 4.0.0, 3.0.3
>
>
> That CXF JAASLoginInterceptor calls JAAS with a null CallBackhandler if no
> credentials are found. This results in a LoginException wrapping a NPE which
> is a bit cryptic for users.
> I propose to check for null in PropertiesLoginModule and just not call the
> callBackHandler in this case. Then it will look like the user and password
> are null which result in a better exception.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)