Hi there,

I've never used Shiro with JSF, so hopefully someone else who has can help
answer this.

Regards,

Les

On Mon, Nov 8, 2010 at 4:44 AM, 0xsven <[email protected]> wrote:

>
> Hello,
>
> I am using Shiro. When I tried to logout Shiro correctly logs my session
> out
> but I am not redirected to my login page what I want.
>
> I tried two different appraches:
>
> 1. Using Shiro.ini:
> I includet following below [main]:
>        authc.loginUrl = /welcome.xhtml
>
> => That doesn't work!
>
> 2. I tried to use JSF Navigation:
>        public String logout() {
>                if (currentUser.isAuthenticated()) {
>                currentUser.logout();
>                }
>                return "welcome.xhtml";
>        }
> => That doesn't work either...
>
> Maybe the problem lies within facelets :-(
> Does somebdy know how to fix that?
>
> Cheers..
> --
> View this message in context:
> http://shiro-user.582556.n2.nabble.com/Logout-problem-tp5716711p5716711.html
> Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to