Alternative function for system.security.validateUser() in perspective

Hello

What is the alternative function for system.security.validateUser() in perspective? I need to check current user without login() he/she again by checking his password.

I believe this has been answered with “there’s no API for identity providers to do this”.

Consider just logging the user off when a re-validation is required. I would expect a logged-off condition to be the desired outcome if re-validation fails, so that the legitimate user can tell someone attempted to use their credentials.

But login again, force perspective to reload all resources again and it’s time consuming and annoying for user. Right now I did as you suggest but client complain for that.
I wonder if there is any plan to implement this API in future or not.

What I meant was, the identity providers IA is supporting have no API for this. IA can’t do this without the identity provider standards changing.

1 Like