I'm trying to use declarative security in my struts app, but it's not
really a struts-specific problem.

It works great when someone goes to a protected page. They get
redirected to the "login page".

But what if I want to include a login form on any or every other page? 

If I provide something more or less identical to the login page's form
in a tile that goes on the top of every page, when the user
"successfully" submits it, an HTTP 400 error is returned- Invalid direct
reference to form login page.

I see a number of ways around this, but not give me the behavior I was
hoping to implement. I want the user to be able to login on any page
that doesn't necessarily require a login, and upon doing so, get sent
back to that same page.

Is Declarative Security not meant for me??

TIA

-Joe



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to