Dan, have you had a chance to look at the example of securityfiler? -D ----- Original Message ----- From: "Dan Allen" <[EMAIL PROTECTED]> To: "Struts-User List" <[EMAIL PROTECTED]> Sent: Sunday, March 09, 2003 1:22 PM Subject: SecurityFilter with Struts Form
> This is a quick one on setting up SecurityFilter with struts. It is > my understanding that securityfilter intercepts the form submission > and handles it itself. Does this mean that the login-config acts in > place of the action mapping? > > In short, if I had > > <form-config> > <auth-method>FORM</auth-method> > <form-login-config> > <form-login-page>/index.do</form-login-page> > <form-error-page>/error.do</form-error-page> > <form-default-page>/index.do</form-default-page> > </form-login-config> > </form-config> > > Do that mean I don't need an ActionForm and Action for the loginForm > and /login.do? How would the jsp page look. Would I still use > <html:form> or would I use what the example has? > > <form action="j_security_check" method="POST"> > Username: <input type="text" name="j_username" value="username"/> > Password: <input type="password" name="j_password" value="password"/> > <input type="submit"/> > </form> > > Or can I make a dynaform and just not have an action for the form. > Aye yay yay, the documentation for this thing sucks! > > Dan > > -- > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > Daniel Allen, <[EMAIL PROTECTED]> > http://www.mojavelinux.com/ > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > Real programmers just hate to get up in the morning, and > contrary to Ordinary People, they're in better shape as > it gets closer to nighttime. > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > --------------------------------------------------------------------- > 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]

