Provision Identity password to target application(Decrypt identity password)
// Provisioning rules have identity and context objects as arguments so no need to initialize
// if required initialize identity object using identity/user search
String pass = identity.getPassword();
System.out.println("Pass: "+pass);
if (null != pass)
{
String decryptpw = context.decrypt(pass);
return decryptpw;
}
else return "password";
Comments
Post a Comment