Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: global auth. for application

walidito

2007-01-09

Replies:


What version of struts are you talking about?
In struts 2, I think an interceptor could help (that's what Im using), but I
'm not sure that it is a good practice.
Generally speaking, for struts 1.x or even struts2.x Spring could help :
here is a useful link
http://www.javaworld.com/javaworld/jw-01-2007/jw-0105-aop.html.
Other ideas/comments will be helpful.
thanks



Aljosa Mohorovic-3 wrote:
>
> when creating struts app if entire app requires authorization how can
> i check if user is logged in without having to check session vars in
> every action?
>
> --
> Aljosa Mohorovic
>
> http://www.revolucija.hr
> Ivana Lucica 5
> 10000 Zagreb, Croatia
>
> +385 (0)1 616 8414
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.