When using LTPA basic authentication with WebSphere 7 if a password is incorrect an exception is thrown thus:
[11/24/10 14:51:44:405 CET] 00000011 exception W com.ibm.ws.wim.adapter.file.was.FileAdapter login
com.ibm.websphere.wim.exception.PasswordCheckFailedException: CWWIM4512E The password match failed.
at com.ibm.ws.wim.adapter.file.was.FileAdapter.login(FileAdapter.java:2009) at com.ibm.ws.wim.ProfileManager.loginImpl(ProfileManager.java:3338) at com.ibm.ws.wim.ProfileManager.genericProfileManagerMethod(ProfileManager.java:270) at com.ibm.ws.wim.ProfileManager.login(ProfileManager.java:374)
This is with basic authentication enabled in my deployment descriptor (web.xml) not form based.
The question: Is there a way to catch this exception? This is thrown before the request reaches my servlets.
Thanks for reading.