This content has been marked as final.
Show 2 replies
-
1. Re: No Principal propagation to SessionBean
jaikiran Sep 3, 2007 2:40 AM (in response to pvelarde)See if Q3 and Q7 at http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ are of any help.
-
2. Re: No Principal propagation to SessionBean
pvelarde Sep 3, 2007 4:01 AM (in response to pvelarde)Hi and thanks for your quick answer,
Yes, as Q3 shows I've added to my config-file the line:<login-module code="org.jboss.security.ClientLoginModule" flag="required" />
but it does not work.
If I use a jsp login form (j_security_check) it works fine; my login method consists in a Delphi Application that sends the user and password to the server into a HTTP request; then a servlet gets the request and execute the JAAS login code,loginContext = new LoginContext("GTSPDB", new MyCallbackHandler(user, password)); loginContext.login();
really the process is quite simple so I think I'm forgetting something.
Any idea¿?
thanks very much,