Current User Password retrieve Code Snippet


can any1 pls provide the java code snippet to retrieve the Currently logged in user’s password?

I know user.getName(); will retrieve the current username, but can any1 help me in retrieving the current user password without any encoding?

AFAIK, cannot be done.

Thanks Rob!

I could retrieve the password in {SHA1} encoded using User.getPassword();

Can any1 let me know how to decode or what is the basic principle for encoding the password in WM 6.1?