Package com.pingidentity.sdk.password
Interface AttributeRetrievablePasswordCredential
public interface AttributeRetrievablePasswordCredential
Interface implemented by password credential validators that have the ability to lookup attributes by username alone.
This interface must be implemented to avoid re-authenticating the user immediately after password change,
password reset, or account unlock has occurred.
- Since:
- 11.2
-
Method Summary
Modifier and TypeMethodDescriptiongetUserAttributes(String username) This method is called to retrieve attributes by username alone from a password credential validatorPasswordCredentialValidator.
-
Method Details
-
getUserAttributes
This method is called to retrieve attributes by username alone from a password credential validatorPasswordCredentialValidator.- Parameters:
username- The username or user id.- Returns:
- An AttributeMap with at least one entry representing the user. The map is empty or null if the username is considered invalid.
- Throws:
AttributeLookupException
-