Hi.

I have a problem with shiro configuration. I'm using Shiro with spring and
(maybe I didn't get what Shiro actually does) I have set up authc filter to
/* pattern. I want to authenticate all users, but I don't want to get
redirect to login page. I just want to get unauthenticated response. Is this
possible?

And can I override the default authc filter? how can I do that? I have my
custom realm, and honestly I'm not sure when it is executed? I just passed
it as parameter to DefaultWebSecurityManager and that's all, but when I'm
trying to enter to eny page, I always get redirect to login.jsp (I think
this is default value) or other page if I will set it in setLoginUrl method.

I don't want to get redirect, I just want to get info that user is not
authenticated. Please help



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Shiro-redirect-tp7580335.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to