Class SecretIdChoiceValues

java.lang.Object
com.sun.identity.sm.ChoiceValues
org.forgerock.openam.secrets.SecretIdChoiceValues
All Implemented Interfaces:
ChoiceValues

@EvolvingAll public class SecretIdChoiceValues extends ChoiceValues
A ChoiceValues implementation that fetches the names of all known purposes.
Since:
AM 6.5.0
  • Constructor Details

    • SecretIdChoiceValues

      @Inject public SecretIdChoiceValues(org.forgerock.openam.secrets.config.SecretIdRegistry secretIdRegistry)
  • Method Details

    • getChoiceValues

      public Map<String,String> getChoiceValues()
      Description copied from interface: ChoiceValues
      Abstract method that must be implemented by a class extending this class, and should return the choice values and their corresponding I18N key, for the attribute.
      Returns:
      choice values for the attribute as a java.util.Map. Key being the choice and the value being the I18N key
    • getChoiceValues

      public Map<String,String> getChoiceValues(Map envParams)
      Description copied from interface: ChoiceValues
      Returns the choice values for attribute for the given environment parameters. The default implementation calls the interface getChoiceValues without the parameter. A class extending this class can override this method to return the choice values and their corresponding I18N key, for the attribute.
      Parameters:
      envParams - environment parameters
      Returns:
      choice values for the attribute as a java.util.Map. Key being the choice and the value being the I18N key