locked
How to force a credential provider to change RRS feed

  • Question

  • Hello everybody. I'm developing a custom credential provider and i have the following problem on the change password scenario:

    I can detect when a user password needs to be changed (ERROR_PASSWORD_EXPIRED or ERROR_PASSWORD_MUST_CHANGE), in that case i need to change the current provider (ManualProvider) to the one that implements the change password scenario.

    Is there any way to force my custom provider to call GetCredentialAt method and change to my custom change password provider?. Actually it's showing a message like "user password is expired" and i must click to "Cancel" to get the GetCredentialAt method called.

    Can anyone explain the change password process? and how can i handle the "Accept" and "Cancel" buttons click on the "password expired message"?

    Any piece of code would be appreciated.

    Thanks.

    Tuesday, November 30, 2010 8:57 AM