Hi Connuser, the reason why your getAuthentication is never called, I assume, is that the getPrincipal method in your custom LoginModule returns null
Regards Antonio On May 27, 2013, at 9:07 AM, connuser1 connuser1 wrote: > Hi > > I have written an implementation of LoginModulePlugin. The problem that I > am facing is that whenever my login module plugin gets invoked with an > existing JCR user's credentials, its getAuthentication method is called but > whenever it is invoked with a non-existant JCR user credentials, it never > gets invoked, even though the canHandle method returns true for this > request. Is it necessary for a user with the specified credentials to > already exist in the JCR when authenticating via LoginModulePlugin? > > Regards > connuser
