• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Spring security multiple login pages

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sorry for bothering you. but do you have any idea about this?

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



-marckun
 
Arch enemy? I mean, I don't like you, but I don't think you qualify as "arch enemy". Here, try this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic