• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Form based login

 
Murtuza Akhtari
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using form based authentication for my application. I have a page viewSummary.htnl in a folder called "secure". To access this page users have to logon. but whn i click on a link for the viewSummary page. It does not take me to the login page....it sends me directly to the viewSummary.html

my login-config is as follows:



Also if i run my login page directly and put in username and password...i get a ServletNotFoundException : FormLoginServlet
the stack trace is as follows:


Please help me....been at it since the last 2 days

Thanks in advance
 
Jeff Bosch
Ranch Hand
Posts: 805
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That looks suspiciously like a CLASSPATH problem or a similar issue.
 
Murtuza Akhtari
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
got rid of the ServletNotFoundException.....seems I had forgotten to enable global security in the WebSphere Server.

But I still have the first problem.I have and index.html page...where i have and anchor to the /secure/viewSummary.html
Whn I click that link....it take me to the secured page even before login.

my security constraint is as follows:


Please help !!
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this to the IBM/Websphere forum, but I have to ask: which version are you using? I didn't try WAS 5, but in 4 (from memory) form based authentication only worked in 4.0.3 and 4.0.5 It was broken in other versions.
 
Murtuza Akhtari
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using WSAD 5.0/WAS 5.....Please tell me it works for 5.0 !!!
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic