You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by bcaramu <bc...@gmail.com> on 2017/12/02 03:39:02 UTC

Re: Spring MVC Session handling with Shiro

Hi,

I would like to redirect user to logout page. From there user will have
option to login thru link.

Thanks,
Rama.




--
Sent from: http://shiro-user.582556.n2.nabble.com/

Re: Spring MVC Session handling with Shiro

Posted by Brian Demers <br...@gmail.com>.
You might need to create and register a filter:
https://shiro.apache.org/web.html#Web-DefaultFilters
Catch and handle an ExpiredSessionException.

Though just sending your user back to the login page directly (maybe with
an optional error message) might prevent a couple user clicks.

On Fri, Dec 1, 2017 at 10:39 PM, bcaramu <bc...@gmail.com> wrote:

> Hi,
>
> I would like to redirect user to logout page. From there user will have
> option to login thru link.
>
> Thanks,
> Rama.
>
>
>
>
> --
> Sent from: http://shiro-user.582556.n2.nabble.com/
>