Package org.forgerock.openam.secrets
Class SecretIdChoiceValues
java.lang.Object
com.sun.identity.sm.ChoiceValues
org.forgerock.openam.secrets.SecretIdChoiceValues
- All Implemented Interfaces:
ChoiceValues
A
ChoiceValues
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
ConstructorDescriptionSecretIdChoiceValues
(org.forgerock.openam.secrets.config.SecretIdRegistry secretIdRegistry) -
Method Summary
Modifier and TypeMethodDescriptionAbstract 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.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
-
Constructor Details
-
SecretIdChoiceValues
@Inject public SecretIdChoiceValues(org.forgerock.openam.secrets.config.SecretIdRegistry secretIdRegistry)
-
-
Method Details
-
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
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
-