File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes WAS 4AE and Form based Authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "WAS 4AE and Form based Authentication" Watch "WAS 4AE and Form based Authentication" New topic
Author

WAS 4AE and Form based Authentication

David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

I'm trying to get Form based Authentication working under WAS 4 AE, (not the single server edition) and I'm having a problem when it tries to find the login page.
If the secured area is /secure/ and /secure/* and the login page is defined as either login.jsp or /login.jsp, I get the following behaviour:
If /secure/ is requested, we get redirected to the login page. If /secure/index.jsp is requested, it attempts to redirect to /secure/login.jsp (ie the login page in the current directory)
If I move the login and error page to /login/login.jsp and /login/loginError.jsp respectively (as a test), again a request for /secure/ sends to the login page correctly and the /secure/index.jsp tries to find /secure/login/login.jsp
To further complicate matters, if I fail to authenticate, it tries to find /login/login/loginError.jsp as the login error page...
Can anyone explain the behaviour I'm seeing and why I can't get the authentication to work

ta,
Dave
Simon Song
Ranch Hand

Joined: Feb 01, 2002
Posts: 217
It is a known bug in FP2, you should obtain efix:
PQ59684 from WebSphere support site.
http://www14.software.ibm.com/webapp/download/product.jsp?cat=&s=p&id=TDUN-49EVRT&pf=&presb=&type=s&postsb=v


Simon Song
Certified Entperise Developer of Websphere
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Thanks Simon, much appreciated.
I knew there was a reason I avoided "admin stuff" :roll:
Dave
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

(except that)
The E-fix is for the Independant Edition and we're running AE. Is it still safe to apply this fix?
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

heh. Its "Edition Independant" ie any edition. Serves me right for listening to the admin guy rather than looking for myself.
I'll get them to drop in PQ59684 and see how we go, thanks again...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WAS 4AE and Form based Authentication