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
---<br />SCJP 1.4
Jeff Bosch
Ranch Hand
Joined: Jul 30, 2003
Posts: 804
posted
0
That looks suspiciously like a CLASSPATH problem or a similar issue.
Give a man a fish, he'll eat for one day. <br />Teach a man to fish, he'll drink all your beer.<br /> <br />Cheers,<br /> <br />Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
Murtuza Akhtari
Ranch Hand
Joined: Aug 07, 2004
Posts: 108
posted
0
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.
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
Joined: Aug 07, 2004
Posts: 108
posted
0
I am using WSAD 5.0/WAS 5.....Please tell me it works for 5.0 !!!