• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WAS 4AE and Form based Authentication

 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 217
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Simon, much appreciated.
I knew there was a reason I avoided "admin stuff" :roll:
Dave
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic