Hi,

Fortunately, you can't. You can only access/verify a hashed version of
the password.

Note that asking for a password again is not necessarily a bad UX,
especially if it is to allow access to a sensitive area/operation.

Cheers,
Jerome.

On Tue, Jun 19, 2012 at 11:39 AM, David Delbecq <[email protected]> wrote:
>
> Hello,
>
> i am writing a component that need a password. Because this password will be 
> the same for current user as the one he used to log-in, it would make for 
> crappy interface ot ask it again to user. So i need to know how my component 
> or a groovy script can access the username / password of current logged-in 
> user.
>
> Thank you.
>
>
> David Delbecq
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs



-- 
Jérôme Velociter
Winesquare
http://www.winesquare.net/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to