Re: Authentication crisis

2006-01-30 Thread Luis Gervaso
us (the application programmers use the api of authentication in order to use these type of methods) because of these jar are in server/lib folder how you can see I'm very frustrated with this, ok this is J2EE? this is simple? kindest regards 2006/1/30, Luis Gervaso [EMAIL PROTECTED]: yes

Application sign-in

2006-01-27 Thread Luis Gervaso
Hello, I need help about making this... when an user login using form-based authentication i need retrieve a user objet from database and store it in his httpsession regards

Re: Application sign-in

2006-01-27 Thread Luis Gervaso
the method sessionCreated(), where you can add objects to HttpSession. Please refer to the javadoc of javax.servlet.http.HttpSessionListener API for more details. ND -Original Message- From: Luis Gervaso [mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 11:36 AM To: users

Re: Application sign-in

2006-01-27 Thread Luis Gervaso
: Luis Gervaso [mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 1:00 PM To: Tomcat Users List Subject: Re: Application sign-in I need to call database only whe user login with j_security_check It's is valid other users have a session in the application but they are not authenticated

Re: Application sign-in

2006-01-27 Thread Luis Gervaso
the real problem is in next sections we need to call secured ejbs 2006/1/27, Luis Gervaso [EMAIL PROTECTED]: yes i need to store information about only for authenticated users the scenario is: 1. anonymous request a secured resource 2. web container detects this is securend and show

Authentication crisis

2006-01-27 Thread Luis Gervaso
Hello I need how to put subject information returned of lc.login() in webapp context int order to invoke getUserPrincipal and not retur null LoginServlet.java protected void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { String username =

Authentication Authorization

2006-01-25 Thread Luis Gervaso
Hello all, I am developing a login module for a webapp, Until now for me was sufficient with default tomcat login form j_security_check + j_username + j_password but now I need one more item in the authentication challenge this is the countryId because a user can belong many countries :) so