Class ProvisionerStartWithBase
java.lang.Object
edu.internet2.middleware.grouper.app.config.GrouperConfigurationModuleBase
edu.internet2.middleware.grouper.app.provisioning.ProvisionerStartWithBase
- Direct Known Subclasses:
AzureProvisioningStartWith
,BoxProvisioningStartWith
,DuoProvisioningStartWith
,DuoRoleProvisioningStartWith
,ExampleWsProvisioningStartWith
,GoogleProvisioningStartWith
,LdapProvisioningMembershipStartWith
,MessagingProvisioningStartWith
,OktaProvisioningStartWith
,RemedyProvisioningStartWith
,ScimProvisioningStartWith
,SqlProvisioningStartWith
,TeamDynamixProvisioningStartWith
-
Field Summary
Fields inherited from class edu.internet2.middleware.grouper.app.config.GrouperConfigurationModuleBase
attributeCache, extraConfigKeys
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCachedConfigKeyToValue
(String sessionId) config file name to check for properties and metadataconfig id regeg eg: ^(provisioner)\\.([^.]+)\\.(.*)$prefix for the properties eg: provisioner.someConfigId.protected String
for each type of configuration this is the prefix for eg in subsections.property suffix that will be used to identify the config eg classabstract Class<? extends ProvisioningConfiguration>
void
manipulateProvisionerConfigurationValue
(String configId, Map<String, String> startWithSuffixToValue, Map<String, Object> provisionerSuffixToValue) call this method after populateProvisionerConfigurationValuesFromStartWith to copy startWith values over to provisionerSuffixToValue where key for startWith matches key in provisionerSuffixToValuevoid
populateCache
(String sessionId, Map<String, String> configKeyToValue) abstract void
populateProvisionerConfigurationValuesFromStartWith
(Map<String, String> startWithSuffixToValue, Map<String, Object> provisionerSuffixToValue) populate provisionerSuffixToValue with values that are driven off of values from startWithSuffixToValueCalled everytime screen is redrawn, called before showEl is calculated.static void
In themap
, set allallKeysToSetToNull
keys to null except inkeysToKeep
Methods inherited from class edu.internet2.middleware.grouper.app.config.GrouperConfigurationModuleBase
changeStatus, clearAttributeCache, deleteConfig, editConfig, formatIndexes, getCacheAttributePrefix, getCacheEntityAttributePrefix, getCacheGroupAttributePrefix, getCacheMembershipAttributePrefix, getConfigId, getConfigIdThatIdentifiesThisConfig, getDescription, getDocumentation, getGenericConfigId, getPropertyValueThatIdentifiesThisConfig, getStartWithDescription, getStartWithDocumentation, getSubSections, getTitle, insertConfig, isEnabled, isMultiple, listAllConfigurationsOfThisType, populateConfigurationValuesFromUi, populateValuesLabelsFromOptionValueClass, removeNoUnsedConfigs, retrieveAllConfigurations, retrieveAllConfigurationTypesHelper, retrieveAttributes, retrieveAttributesFromConfig, retrieveAttributeValueFromConfig, retrieveConfigurationConfigIds, retrieveConfigurationKeysByPrefix, retrieveExtraConfigKeys, retrieveObjectValueSubstituteMap, retrieveSuffix, retrieveText, setConfigId, showAttributeOverride, validatePreSave
-
Constructor Details
-
ProvisionerStartWithBase
public ProvisionerStartWithBase()
-
-
Method Details
-
populateCache
-
getCachedConfigKeyToValue
-
getConfigurationTypePrefix
Description copied from class:GrouperConfigurationModuleBase
for each type of configuration this is the prefix for eg in subsections. only ui concern in external text config.- Specified by:
getConfigurationTypePrefix
in classGrouperConfigurationModuleBase
- Returns:
-
getConfigFileName
Description copied from class:GrouperConfigurationModuleBase
config file name to check for properties and metadata- Specified by:
getConfigFileName
in classGrouperConfigurationModuleBase
- Returns:
-
getConfigItemPrefix
Description copied from class:GrouperConfigurationModuleBase
prefix for the properties eg: provisioner.someConfigId.- Specified by:
getConfigItemPrefix
in classGrouperConfigurationModuleBase
- Returns:
- the prefix
-
getConfigIdRegex
Description copied from class:GrouperConfigurationModuleBase
config id regeg eg: ^(provisioner)\\.([^.]+)\\.(.*)$- Specified by:
getConfigIdRegex
in classGrouperConfigurationModuleBase
- Returns:
-
getPropertySuffixThatIdentifiesThisConfig
Description copied from class:GrouperConfigurationModuleBase
property suffix that will be used to identify the config eg class- Overrides:
getPropertySuffixThatIdentifiesThisConfig
in classGrouperConfigurationModuleBase
- Returns:
-
populateProvisionerConfigurationValuesFromStartWith
public abstract void populateProvisionerConfigurationValuesFromStartWith(Map<String, String> startWithSuffixToValue, Map<String, Object> provisionerSuffixToValue) populate provisionerSuffixToValue with values that are driven off of values from startWithSuffixToValue- Parameters:
startWithSuffixToValue
-provisionerSuffixToValue
-
-
manipulateProvisionerConfigurationValue
public void manipulateProvisionerConfigurationValue(String configId, Map<String, String> startWithSuffixToValue, Map<String, Object> provisionerSuffixToValue) call this method after populateProvisionerConfigurationValuesFromStartWith to copy startWith values over to provisionerSuffixToValue where key for startWith matches key in provisionerSuffixToValue- Parameters:
configId
-startWithSuffixToValue
-provisionerSuffixToValue
-
-
setValuesToNull
public static void setValuesToNull(Map<String, String> map, Set<String> keysToKeep, Set<String> allKeysToSetToNull) In themap
, set allallKeysToSetToNull
keys to null except inkeysToKeep
- Parameters:
map
-keysToKeep
-allKeysToSetToNull
-
-
screenRedraw
public Map<String,String> screenRedraw(Map<String, String> suffixToValue, Set<String> suffixesUserJustChanged) Called everytime screen is redrawn, called before showEl is calculated.- Parameters:
suffixToValue
- - current config submitted by the usersuffixesUserJustChanged
- - what the user edited since the last submit to the server- Returns:
- - suffix to value of things that should change on the screen
-
getProvisioningConfiguration
-