Package com.pingidentity.sdk.password
Class PasswordChallengeResult
- java.lang.Object
-
- com.pingidentity.sdk.password.PasswordChallengeResult
-
public class PasswordChallengeResult extends Object
Contains information about the result of a password challenge.- Since:
- 7.1
- See Also:
ChallengeablePasswordCredential,PasswordCredentialValidator
-
-
Constructor Summary
Constructors Constructor Description PasswordChallengeResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttributes(Map<? extends Object,List<String>> attrs)Adds attributes to the existing map of attributes.List<String>getAttribute(Object attributeType)Get the values for an attribute type.Map<? extends Object,List<String>>getAttributes()Get all the attributes.StringtoString()
-
-
-
Method Detail
-
addAttributes
public void addAttributes(Map<? extends Object,List<String>> attrs)
Adds attributes to the existing map of attributes. If an attribute type is already contained in the map, its values are appended to the list of existing values for that attribute. Otherwise, a new entry is added for that type.- Parameters:
attrs- The attributes to be added
-
getAttributes
public Map<? extends Object,List<String>> getAttributes()
Get all the attributes.- Returns:
- a unmodifiable Map of attributes
-
getAttribute
public List<String> getAttribute(Object attributeType)
Get the values for an attribute type.- Parameters:
attributeType- The attribute type- Returns:
- an unmodifiable list of all the attribute values for that type or null if the map doesn't contain an entry for that type
-
-