Class ProfileSelectionConfig

java.lang.Object
swiss.trustbroker.config.dto.ProfileSelectionConfig

public class ProfileSelectionConfig extends Object
Profile selection configuration.
Potentially breaking changes:
  • With 1.10.0 value of attributes changed to Object to allow nested structures.
See Also:
  • ProfileSelectionService
  • Constructor Details

    • ProfileSelectionConfig

      public ProfileSelectionConfig()
    • ProfileSelectionConfig

      public ProfileSelectionConfig(boolean enabled, Map<String,Object> attributes)
      Creates a new ProfileSelectionConfig instance.
      Parameters:
      enabled - Globally enable the feature.
      Default: false
      attributes - Custom attributes that might be needed by the implementation.
      Since:
      1.15.0
  • Method Details

    • builder

    • isEnabled

      public boolean isEnabled()
      Globally enable the feature.
      Default: false
      Since:
      1.15.0
    • getAttributes

      public Map<String,Object> getAttributes()
      Custom attributes that might be needed by the implementation.
    • setEnabled

      public void setEnabled(boolean enabled)
      Globally enable the feature.
      Default: false
      Since:
      1.15.0
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
      Custom attributes that might be needed by the implementation.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object