HI,
I am tryng to do a simple j2ee app with Jboss 4.0.3 & jaas...I have done it successfully in jboss 3.2.6 however I am running into problems now....
I have all the usual security stuff in web.xml, jboss-web.xml having the <security-domain> element for jaas, etc....
I also have the auth.conf on client as well as server (the server side having my login module configuration)...Also my login-config.xml is set up....
When I kick up the application, the browser challenge popup dialog appears as expected...I fill in user name & password & submit...The login module is called as I can see the trace (it passes the login stage)...But I am confronted with the Browser Login Dialog poping up repeatedly asking for username & password....
Also I am subclassing the AbstractServerLoginModule with CustomPrincipal..I have taken care to include the clientloginmodule in login-config.xml under my application policy as well as the policy file...
Should I do any configuration with Tomcat 5.5 server.xml ? I did put in a realm tag when I was using it with jboss 3.2.6....
Sorry ...Fixed it.....It appears that adding a tag to Tomcat server.xml is not needed...I will do more checks & keep the forum posted....
I had previously done a Valve & added a tag.....