• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Form based login

 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 805
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !!
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using WSAD 5.0/WAS 5.....Please tell me it works for 5.0 !!!
 
reply
    Bookmark Topic Watch Topic
  • New Topic