get user password using express

can someone give me a hand with getting a users password from identity manager; I have written:

<eq>

<ref>password</ref> <!-- password is a var in wf -->

<invoke name='decryptToString'>

<invoke name='getPassword'>

<ref>user.password.password</ref>

</invoke>

</invoke>

</eq>

in my activity for my workflow, however nothing comes out; or am i doing it the wrong way?

thanks gil

Message was edited by:

Gilby

Message was edited by:

Gilby

[601 byte] By [Gilby] at [2007-11-26 10:30:25]
# 1
If you give me more details, I will try. I need to know when , where and how are you trying to get the password.
_raj at 2007-7-7 2:37:01 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

If using user.password.password, you could just call decryptToString directly on it.

getPassword should be called on a user object, like below

<invoke name='decryptToString'>

<invoke name='getPassword'>

<invoke name='getObject' class='com.waveset.ui.FormUtil'>

<ref>:display.session</ref>

<s>User</s>

<s>abc</s>

</invoke>

</invoke>

</invoke>

chits98 at 2007-7-7 2:37:01 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3

<Field name='showPwd'>

<Derivation>

<invoke name='decryptToString'>

<invoke name='getPassword'>

<invoke name='getObject' class='com.waveset.ui.FormUtil'>

<ref>:display.session</ref>

<s>User</s>

<ref>provisionUserView.waveset.accountId</ref>

</invoke>

</invoke>

</invoke>

</Derivation>

<Display class='Label'>

<Property name='noNewRow' value='false'/>

<Property name='title' value='Password:'/>

</Display>

</Field>

The above filed is for Display only, the Derivation is clear

--sFred

sFred at 2007-7-7 2:37:01 > top of Java-index,Web & Directory Servers,Directory Servers...