Jon Stevens wrote:
> 
> on 5/31/2000 10:15 AM, sbelt at [EMAIL PROTECTED] wrote:
> 
> > - Is there a Turbine call which will return the logged-in user's id and
> > password. (I looked through the turbine documents and found a blurb that
> > this is possible as part of a security mechanism, but I could not find the
> > technical docs for the syntax. Is there a JavaDoc for Turbine?)
> 
> data.getUser(). This will return a TurbineUser object and you can get what
> you need out of there.
> 

which translates to 

getPortletConfig().getUser() in a portlet code...

You should also be able to access the init parameters in the registry with

getPortletConfig().getInitParameters(<param-name>)

or

getPortletConfig().getInitParameters(<param-name>,<default-value>)

If it doesn't work, send a patch... ;)

--
Rapha�l Luta - [EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to