Tate, I am not 100% sure if this is what you are asking, but... You can configure authentication declaratively in your web.xml telling the server that you are using form-based authentication.
You will have to specify the page that contains your login form and the error page if the user fails the login.. That page MUST have a form with the action of "j_security_check" and 2 input fields in that form. One with the name of "j_username" and another with the name of "j_password". The server takes care of the rest. When a user tries to access a resource that is restricted, the server will "challenge" and display the login form specified in web.xml. If the user successfully logs in, the server will forward the user to the originally requested resource. For the exact syntax of how to configure web.xml, look at the DTD for web.xml if you are building Servlet 2.3 compliant webapp or see the XML Schema if you are building Servlet 2.4 compliant webapp. HTH, Yaakov. -----Original Message----- From: Tate Austin [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16, 2004 2:21 PM To: Struts Users Mailing List Subject: j_security_check I have a logon page that I would like to have a checkbox on for writing a cookie to the browser. The previous architect who wrote the jsp page insists that it incorporate j_security_check, is there a facility in struts for this? I can easily authenticate using forms and actions, but there is apparently something that j_security_check provides that is necessary. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]