You can use rundata.getuser() to get the current user then 
user.getuserid() to get the userid.

If you use LDAP, you can use user.getTemp( "sessionPassword") to get the 
password. 

If not, you can add a line of code to TurbineAuthentication.java to save 
the password, user.setTemp( "sessionPassword",  password ) so you can use 
the same method to retrieve it later.

Alex





<[EMAIL PROTECTED]> 
10/17/2003 06:51 AM
Please respond to
"Jetspeed Developers List" <[EMAIL PROTECTED]>


To
"'Jetspeed Developers List'" <[EMAIL PROTECTED]>
cc

Subject
RE: Authentication Problem






Hi Mithra, 

Take a look at this article, maybe that�s what you are looking for:
http://www-106.ibm.com/developerworks/java/library/wa-singlesign/

Otherwise, you can place the username and password in the URL like this:

http://someuser:[EMAIL PROTECTED]/someapp/

This tip is from:
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
a.apache.org&msgId=690683


Cheers,
Felix


-----Original Message-----
From: venkatesha mithra [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 17, 2003 6:21 AM
To: [EMAIL PROTECTED]
Subject: Authentication Problem

Hi ..
I am using jetspeed with weblogic8.1.
I am having my portlet displaying on my home page and depending on the
user 
logged in , i want to show different portlets , and once I have
authenticate 
the user with his password , I could able to use those user id and
password 
for displaying other web pages of my webaplication(i don't want to user
to 
enter his userid an password again) , How can I achieve this single
signon 
concept ?
Please let me know if anyone know about this .


Regads
Mithra

_________________________________________________________________
The heat is on! Catch the latest action. 
http://server1.msn.co.in/sp03/formula2003/ Speed along with F1!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to