Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring security multiple login pages

 
Marc Heruela
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello Sirs,
I wud just lyk to seek your help. i am trying to setup 2 login pages for my webapp. the two login pages allows different user to login. and each resources in my webapp are available depending on the roles of the login user. i am trying to set up 2 AuthenticationProcessingFilter and AuthenticationProcessingFilterEntry point and also set up 2 custom authentication managers for this. (i followed this tutorial: http://protory.tistory.com/entry/Spring-Security-Multi-login-page-setting). My first login page works just fine (/jsp/Guest.do), it allows SOME user to be login. My problem now is my second login page (/jsp/subaccount/SubaccountIndex.do), everytime i submit the page, it always gives me a 404 Not Found error. Can you please shove some light on me as I am not so familiar with customizing spring security. Thank you so so much.

Here's my config for security.xml:



and in my web.xml, i have these:


 
Marc Heruela
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry for bothering you. but do you have any idea about this?

sorry.... im reaaly desperate right now..



-marckun
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic