[midPoint] Simple question about password and Groovy

Wojciech Staszewski wojciech.staszewski at diagnostyka.pl
Sat Dec 3 14:35:43 CET 2016


How to pass password variable to Groovy script?

I have simple web application and almost configured "Table connector", 
everything is warking except setting passwords, which are simple MD5 hashes.
I made groovy script calculating MD5 hash and try to put this sctipt in 
outbound mapping. When I set static clear text as password variable it's work,
but how to get password from $user/credentials/password?
I was trying to use function "attributes.get()" but with no success.
Any help? Thank you!

More information about the midPoint mailing list