Package org.forgerock.openam.secrets
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
AChoiceValues
implementation that fetches the names of all known purposes.- Since:
- AM 6.5.0
-
-
Field Summary
-
Fields inherited from class com.sun.identity.sm.ChoiceValues
EMPTY_SCRIPT_SELECTION
-
-
Constructor Summary
Constructors Constructor Description SecretIdChoiceValues(org.forgerock.openam.secrets.config.SecretIdRegistry secretIdRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getChoiceValues()
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.Map<String,String>
getChoiceValues(Map envParams)
Returns the choice values for attribute for the given environment parameters.-
Methods inherited from class com.sun.identity.sm.ChoiceValues
getAttributeName, getAttributeSchemaNode, getConfiguredKeyValues
-
-
-
-
Method Detail
-
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 interfacegetChoiceValues
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
-
-