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:
  • Constructor Details

    • PasswordChallengeResult

      public PasswordChallengeResult()
  • Method Details

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object