Hi,

Check out the login-interceptor in Mail-Reader application given on Planet
Struts. I found it useful. I think you are also looking for the same.
http://www.planetstruts.org/struts2-mailreader/Tour.do

(The application may be down sometimes, you can refer to cached pages in
Google search for the same.)

-Rushikesh

On Mon, May 12, 2008 at 1:35 PM, Laurie Harper <[EMAIL PROTECTED]> wrote:

> Acegi / Spring Security can certainly get this done, but may be overkill
> if the authentication and authorization requirements are simple. Container
> Managed Security is probably the quickest and easiest way to get the
> described behaviour, but that also doesn't always fit. For a home-brewed
> custom solution a Struts2 interceptor or simply a servlet filter will give
> more flexibility.
>
> So, the answer is yes, this can be achieved using interceptors. What
> specifically do you need help with?
>
> L.
>
>
> Jim Kiley wrote:
>
> > I wouldn't implement it with interceptors so much as I'd look into
> > something
> > like Acegi Security (now Spring Security if I remember right).  I'm
> > having a
> > decent level of success on an Acegi / Sitemesh / Struts 2 / Spring /
> > Hibernate project right now.
> >
> > jk
> >
> > On Fri, May 9, 2008 at 6:01 PM, Jaarthy <[EMAIL PROTECTED]> wrote:
> >
> >  Hi,
> > >
> > > I'm trying to implement a scenario in which if the user who has not
> > > logged
> > > in clicks on a page "for logged in users only"  should be
> > > redirected to "login page", and then after logging in he should be
> > > redirected to the page he originally requested for.
> > >
> > > I need to implement this in struts2.Can I achieve this using
> > > Interceptors?Kindly help.
> > >
> > > Thanks,
> > > Aarthy
> > >
> > > --
> > > View this message in context:
> > >
> > > http://www.nabble.com/redirect-after-logging-in-tp17157183p17157183.html
> > > Sent from the Struts - User mailing list archive at Nabble.com.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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]
>
>

Reply via email to