Re: How do I retrieve userID authenticated by Apache via LDAP in WAS5Exp .jsp on iSeri
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere HTTP Server > Re: How do I retrieve userID authenticated by Apache via LDAP in WAS5Exp .jsp on iSeri




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: How do I retrieve userID authenticated by Apache via LDAP in WAS5Exp .jsp on iSeri  
Mark Phippard


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-25-04 12:17 AM

Jerry Camden wrote:

> We are running WAS 5 Express on iSeries through Apache.  We use
> Apache and a LDAP to authenticate our users which is working fine.
> Now, we have a need to use that userID in some of our jsps and
> servlets.  I can't find where or how to get at that information.
> I've looked at so much of the docs that I'm probably looking right
> over it.  Please point me in the right direction.
>

String username = request.getRemoteUser();

However, for this value to be set, Apache must be protecting that URL.
In other words, if you were to start with a clean browser session and
enter the URL of the JSP/Servlet directly, you would have to be
prompted for username and password.

You are probably doing this already, but it isn't enough to have Apache
configured for LDAP, Apache also has to be configured to protect the
URL that WAS Express is using.  Normally, I would just protect the
entire context root of the app.

Mark







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:36 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register