Class GrouperProvisioningConfigurationValidation
java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningConfigurationValidation
- Direct Known Subclasses:
AdobeProvisoningConfigurationValidation
,DuoProvisoningConfigurationValidation
,DuoRoleProvisoningConfigurationValidation
,GoogleProvisioningConfigurationValidation
,LdapSyncConfigurationValidation
,MidPointProvisoningConfigurationValidation
,Scim2SyncConfigurationValidation
,TeamDynamixProvisioningConfigurationValidation
this could be a deep validate though
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addErrorMessage
(ProvisioningValidationIssue provisioningValidationIssue) add an error message and optionally a jquery handle or config suffixvoid
addErrorMessages
(Collection<ProvisioningValidationIssue> provisioningValidationIssue) add an error message and optionally a jquery handle or config suffixget the error messages and jqeury handles and severityvoid
setGrouperProvisioner
(GrouperProvisioner grouperProvisioner) validate()
take the config for this provisioner and validatevoid
make sure attribute names arent re-usedvoid
make sure attribute names arent re-usedvoid
make sure things are the right type and required check, list of values, etcvoid
void
void
void
override this method to assign which attributes are allowed for entitiesoverride this method to assign which attributes are required for entitiesvoid
validate various generic aspects of entity attributesboolean
override this method return true to require entity attributes to be stringsvoid
if there is a group delete, then there must be one delete typevoid
if there is a entity delete, then there must be one delete typevoid
if there is an entity link, then make sure multiple things arent going to the same bucketvoid
void
void
void
void
validate from the grouper provisionervoid
override this method to assign which attributes are allowed for groupsoverride this method to assign which attributes are required for groupsvoid
validate various generic aspects of group attributesboolean
override this method return true to require group attributes to be stringsvoid
if there is a group delete, then there must be one delete typevoid
void
if there is a group delete, then there must be one delete typevoid
if there is a group link, then make sure multiple things arent going to the same bucketvoid
void
void
void
void
void
void
if there is a group delete, then there must be one delete typevoid
void
void
void
void
void
void
check to make sure all configs are used and none are extraneousvoid
if operating on group/entity/membershipvoid
GRP-3911: subject sources to provision should not be in top config sectionvoid
provisioner configvoid
-
Constructor Details
-
GrouperProvisioningConfigurationValidation
public GrouperProvisioningConfigurationValidation()
-
-
Method Details
-
getGrouperProvisioner
-
setGrouperProvisioner
-
validateGroupAttributeNamesAllowed
override this method to assign which attributes are allowed for groups- Returns:
- null to not check or a collection to check group attribute names
-
validateGroupAttributeNamesRequired
override this method to assign which attributes are required for groups- Returns:
- null to not check or a collection to check group attribute names
-
validateGroupAttributesRequireString
public boolean validateGroupAttributesRequireString()override this method return true to require group attributes to be strings- Returns:
- true
-
validateGroupAttributes
public void validateGroupAttributes()validate various generic aspects of group attributes -
validateEntityAttributeNamesAllowed
override this method to assign which attributes are allowed for entities- Returns:
- null to not check or a collection to check entity attribute names
-
validateEntityAttributeNamesRequired
override this method to assign which attributes are required for entities- Returns:
- null to not check or a collection to check entity attribute names
-
validateEntityAttributesRequireString
public boolean validateEntityAttributesRequireString()override this method return true to require entity attributes to be strings- Returns:
- true
-
validateEntityAttributes
public void validateEntityAttributes()validate various generic aspects of entity attributes -
getSuffixToConfigValue
- Returns:
- the map
-
getProvisioningValidationIssues
get the error messages and jqeury handles and severity- Returns:
- the error messages
-
addErrorMessage
add an error message and optionally a jquery handle or config suffix- Parameters:
provisioningValidationIssue
-
-
addErrorMessages
add an error message and optionally a jquery handle or config suffix- Parameters:
provisioningValidationIssue
-
-
validate
take the config for this provisioner and validate- Returns:
- error message, and optionally a jquery handle suffix that has the problem
-
validateFromObjectModel
public void validateFromObjectModel()validate from the grouper provisioner -
validateMetadata
public void validateMetadata() -
validateOperateImpliesSelectOrInsert
public void validateOperateImpliesSelectOrInsert()if operating on group/entity/membership- Parameters:
suffixToConfigValue
-
-
validateFromSuffixValueMap
public void validateFromSuffixValueMap() -
validateOperateOnEntitiesIfSubjectSourcesToProvision
public void validateOperateOnEntitiesIfSubjectSourcesToProvision()GRP-3911: subject sources to provision should not be in top config section -
validateFailsafes
public void validateFailsafes() -
validateMatchingAttributes
public void validateMatchingAttributes() -
validateMembershipAttributeDoesNotMatchSearchOrMatchingAttribute
public void validateMembershipAttributeDoesNotMatchSearchOrMatchingAttribute() -
validateMembershipAttributesAreNotCached
public void validateMembershipAttributesAreNotCached() -
validateDoingSomething
public void validateDoingSomething() -
validateGroupIdToProvisionExists
public void validateGroupIdToProvisionExists()- Parameters:
suffixToConfigValue
-
-
validateGroupDeleteHasDeleteType
public void validateGroupDeleteHasDeleteType()if there is a group delete, then there must be one delete type- Parameters:
suffixToConfigValue
-
-
validateMembershipDeleteHasDeleteType
public void validateMembershipDeleteHasDeleteType()if there is a group delete, then there must be one delete type- Parameters:
suffixToConfigValue
-
-
validateEntityDeleteHasDeleteType
public void validateEntityDeleteHasDeleteType()if there is a group delete, then there must be one delete type- Parameters:
suffixToConfigValue
-
-
validateGroupLinkHasConfiguration
public void validateGroupLinkHasConfiguration()if there is a group delete, then there must be one delete type- Parameters:
suffixToConfigValue
-
-
validateEntityLinkHasConfiguration
public void validateEntityLinkHasConfiguration()if there is a entity delete, then there must be one delete type -
validateGroupLinkOnePerBucket
public void validateGroupLinkOnePerBucket()if there is a group link, then make sure multiple things arent going to the same bucket- Parameters:
suffixToConfigValue
-
-
retrieveProvisionerConfiguration
- Returns:
-
validateNoUnsedConfigs
public void validateNoUnsedConfigs()check to make sure all configs are used and none are extraneous- Parameters:
suffixToConfigValue
-
-
validateEntityLinkOnePerBucket
public void validateEntityLinkOnePerBucket()if there is an entity link, then make sure multiple things arent going to the same bucket- Parameters:
suffixToConfigValue
-
-
validateConfigBasics
public void validateConfigBasics()make sure things are the right type and required check, list of values, etc- Parameters:
suffixToConfigValue
-
-
validateProvisionerConfig
public void validateProvisionerConfig()provisioner config- Parameters:
suffixToConfigValue
-
-
validateAttributeNamesNotReused
public void validateAttributeNamesNotReused()make sure attribute names arent re-used- Parameters:
suffixToConfigValue
-
-
validateAttributeCount
public void validateAttributeCount()make sure attribute names arent re-used- Parameters:
suffixToConfigValue
-
-
validateNoFields
public void validateNoFields() -
validateSelectAllEntities
public void validateSelectAllEntities() -
validateEntityResolverRefactorDontUseOldValues
public void validateEntityResolverRefactorDontUseOldValues() -
validateCustomizeMembershipCrud
public void validateCustomizeMembershipCrud() -
validateCustomizeGroupCrud
public void validateCustomizeGroupCrud() -
validateMembershipShowValidation
public void validateMembershipShowValidation() -
validateMembershipReplace
public void validateMembershipReplace() -
validateMembershipShowAttributeCrud
public void validateMembershipShowAttributeCrud() -
validateGroupShowAttributeCrud
public void validateGroupShowAttributeCrud() -
validateGroupShowValidation
public void validateGroupShowValidation() -
validateEntityShowValidation
public void validateEntityShowValidation() -
validateCustomizeEntityCrud
public void validateCustomizeEntityCrud() -
validateEntityShowAttributeCrud
public void validateEntityShowAttributeCrud() -
validateMembershipShowAttributeValueSettings
public void validateMembershipShowAttributeValueSettings() -
validateGroupShowAttributeValueSettings
public void validateGroupShowAttributeValueSettings() -
validateGroupAttributeNamesForbidden
-
validateEntityAttributeNamesForbidden
-