I'm using JBoss LDapLoginModule and declaretive security, and need to know users' password through their session. I've check a "j_security_check" filter but it seems JBoss dosen't invoke the filter at "/j_security_check" request pattern. I've also checked "java:comp/env/security/subject" which has the logged in Principal but returns an empty set of private/public credentials !
Is there any way i can password information? Does JBoss propogate complete user's login information in JAAS to the application? Or i should write my own LoginModule !?
thank u all in advance,
You will get the filter to work only if you are using form based auth. In case you are using basic then the filter doesnt work!!