tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srofe, Douglas (c)" <Douglas.Sr...@NielsenMedia.com>
Subject RE: Tomcat and Apache Axis Security
Date Tue, 10 Aug 2004 13:45:11 GMT
Actually I have tried that and it doesn't work.  One of the problems is that
class is visible to Tomcat only.  I tried placing a copy of the jar in the
common/lib area and get classloading problems.  I am not sure how to make
that work.  If you have any other ideas I would appreciate it.

Thanks for your help. 

-----Original Message-----
From: Isen,Ciji [mailto:cisen@tamu.edu] 
Sent: Monday, August 09, 2004 5:00 PM
To: Tomcat Users List
Subject: Re: Tomcat and Apache Axis Security

Have you tried access it from the Principal.

GenericPrincipal p = (GenericPrincipal)request.getUserPrincipal();

String uid = p.getName();
String passwd = p.getPassword();


Srofe, Douglas (c) wrote:

>We use single sign for our Tomcat applications.  We have another Tomcat 
>that hosts various web services.  I would like to be able to send the 
>logged on users name and password as credentials to the web service and 
>have Tomcat authenticate it.  I have tested this part with a hardcoded 
>user name and password and this works fine.  But I need to send the 
>username and password used when the user logged on.  How do I get 
>access to the password that was used when the user logged on so I can 
>send it as part of the credentials to the web service?  Am I going to 
>have to write custom authenticators and realms in order to do this?
> 
>Thanks for any response.
> 
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message