I have two sections (contexts) in my application - customer's and admin's. 

I want to separate authentication forms for these sections. If a customer
opens "/customer/*" url in customer's context he should be redirected to
"/customer/login" authentication page. If admin opens "/admin/*" url he
should be redirected to "/admin/login" page. These login pages differ in
design, customer login page have some customer specific information so they
should be separated. 

Nevertheless I don't want to create separate filters for the two contexts. 

How could I make two different login forms and redirect user to specific
login page depending on the current web context while using only one web
filter? BTW I am using Spring.



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

Reply via email to