We have a similar situation here.

In our case we keep the bean in which you store this information, in session
when they logon.

You could just store the userid and password in session when they log-on and
remove it when they log off.

e.g. session.getAttribute("User Information", UserInfoBean);

that's how the forms store there information when forwarding to other pages.



-----Original Message-----
From: Antonio De Lilla [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 16 April 2002 11:09 AM
To: Tomcat Users List
Subject: Authentication without using forms


   Hi All,

   Please, if someone can help.

   I'm running Tomcat 4.0.3 with j2sdk1.4 on Linux 7.1

   I'm trying to authentify a user to access secure pages without using
forms. I would like to call directly "j_security_check" passing the
"userid" and "password" as parameters. The problem is that the user has
been already authentified, and I don't want to ask him his "userid" and
"password" again to access the secure pages.

   Thanks in advanced.

Tony


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to