Why/how did it confuse you? Login shouldn't be /performed/ by an
interceptor, an interceptor should check if a user has logged in for a given
resource and if not redirect to a login page.

The /action/ of logging in should be performed by an action.

I guess I'm not sure what you're trying to figure out.

Dave
On Dec 27, 2010 7:18 AM, "Greg Akins" <angryg...@gmail.com> wrote:
> I'm just starting to research the appropriate Struts2 way to do
> Authorization/Authentication.
>
> Looks like a LoginInterceptor on the default stack is the way to go
> (though I found a post at javaranch, by Dave Newton -
>
http://www.coderanch.com/t/438760/Struts/Struts-Authentication-Authorization
> - that confused me a bit).
>
> I'm still Googling for some more information, but if anyone could
> point me to a specific resource it would be greatly appreciated.
>
> Thanks!
>
> --
> Greg Akins
>
> http://insomnia-consulting.org
> http://www.pghcodingdojo.org
> http://pittjug.dev.java.net
> http://twitter.com/akinsgre
> http://www.linkedin.com/in/akinsgre
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>

Reply via email to