Help coderanch get a
new server
by contributing to the fundraiser
  • 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WAS 4AE and Form based Authentication

 
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 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
 
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
You know it is dark times when the trees riot. I think this tiny ad is their leader:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic