Hi,

I am trying to use the BasicAuthenticationFilter to forward to login.jsp
when the user is not authenticated.
My question is that AccessControlFilter sets the DEFAULT_LOGIN_URL as
/login.jsp. So when I try to access my webpage, I get routed to the
following page

http://localhost:8080/contactcenter/servlet/login.jsp

But the path needs to be 

http://localhost:8080/contactcenter/login.jsp

I understand that I can set the path in server.xml by authcbasi...@link
org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter#setLoginUrl(String)
loginUrl} = /contactcenter/login.jsp

But I am not sure if this will solve the problem because the path looks
relative to the servlet path

Thank you 
-Gurpreet



-- 
View this message in context: 
http://n2.nabble.com/Default-Login-URL-tp3310646p3310646.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to