Class ConfiguredAuthServices
- java.lang.Object
-
- com.sun.identity.sm.ChoiceValues
-
- com.sun.identity.authentication.service.ConfiguredAuthServices
-
- Direct Known Subclasses:
ConfiguredSocialAuthServices
public class ConfiguredAuthServices extends ChoiceValues
The class determines the configured Identity Types for Identity Repository. This list is computed per realm.
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringNAMED_CONFIGURATIONprotected static StringSERVICE_NAME
-
Constructor Summary
Constructors Constructor Description ConfiguredAuthServices()CreatesConfiguredAuthServicesobject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<String>filterConfigs(Set<String> namedConfigs, ServiceConfig parentConfig, String realm, SSOToken adminToken)Extensions will want to restrict the list of auth services.MapgetChoiceValues()Returns the choice values and their corresponding localization keys.MapgetChoiceValues(Map envParams)Returns the choice values from configured environment params.-
Methods inherited from class com.sun.identity.sm.ChoiceValues
getAttributeName, getAttributeSchemaNode, getConfiguredKeyValues
-
-
-
-
Field Detail
-
SERVICE_NAME
protected static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
NAMED_CONFIGURATION
protected static final String NAMED_CONFIGURATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getChoiceValues
public Map getChoiceValues()
Returns the choice values and their corresponding localization keys.- Specified by:
getChoiceValuesin classChoiceValues- Returns:
- the choice values and their corresponding localization keys.
-
getChoiceValues
public Map getChoiceValues(Map envParams)
Returns the choice values from configured environment params.- Overrides:
getChoiceValuesin classChoiceValues- Parameters:
envParams- map for configured parameters- Returns:
- the choice values from configured environment params.
-
filterConfigs
protected Set<String> filterConfigs(Set<String> namedConfigs, ServiceConfig parentConfig, String realm, SSOToken adminToken)
Extensions will want to restrict the list of auth services. The default implementation just returns all.- Parameters:
namedConfigs- The auth services that have been found.parentConfig- The ServiceConfig parent of all auth services.realm- The current realm.adminToken- The current SSO token.- Returns:
- The filtered list of auth services.
-
-