Class UPAttributeRequired

java.lang.Object
org.keycloak.userprofile.config.UPAttributeRequired

public class UPAttributeRequired extends Object
Config of the rules when attribute is required.
Author:
Vlastimil Elias <velias@redhat.com>
  • Constructor Details

    • UPAttributeRequired

      public UPAttributeRequired()
  • Method Details

    • isAlways

      public boolean isAlways()
      Check if this config means that the attribute is ALWAYS required.
      Returns:
      true if the attribute is always required
    • getRoles

      public Set<String> getRoles()
    • setRoles

      public void setRoles(Set<String> roles)
    • getScopes

      public Set<String> getScopes()
    • setScopes

      public void setScopes(Set<String> scopes)
    • toString

      public String toString()
      Overrides:
      toString in class Object