aspose file tools*
The moose likes Spring and the fly likes Spring security multiple login pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring security multiple login pages" Watch "Spring security multiple login pages" New topic
Author

Spring security multiple login pages

Marc Heruela
Ranch Hand

Joined: Jul 23, 2009
Posts: 38

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:



-marckun
Marc Heruela
Ranch Hand

Joined: Jul 23, 2009
Posts: 38
sorry for bothering you. but do you have any idea about this?

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



-marckun
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring security multiple login pages
 
Similar Threads
Spring security framework with fine grained permissions
“j_spring_security_check” not found after configuring spring security without http namespace
"Spring Security Application" Initiated by Apache
spring security form based login using database not responding
force https in spring security 3