Package com.pingidentity.sdk.password
Interface AttributeRetrievablePasswordCredential
-
public interface AttributeRetrievablePasswordCredentialInterface 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttributeMapgetUserAttributes(String username)This method is called to retrieve attributes by username alone from a password credential validatorPasswordCredentialValidator.
-
-
-
Method Detail
-
getUserAttributes
AttributeMap getUserAttributes(String username) throws AttributeLookupException
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
-
-