Details
Description
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.