Package cz.metacentrum.perun.core.impl
Class ConfigManagerImpl
java.lang.Object
cz.metacentrum.perun.core.impl.ConfigManagerImpl
- All Implemented Interfaces:
- ConfigManagerImplApi
- Author:
- David Flor invalid input: '<'493294@mail.muni.cz>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanCheck if custom email requires verification.booleanCheck if custom name requires approve.booleanCheck if custom organization requires approve.booleanCheck if change of email to organization email is enabled.booleanCheck if change of name to custom name is enabled.booleanCheck if change of organization to organization name is enabled.booleanCheck if change of email to email from user ext source is enabled.booleanCheck if change of name to name from user ext source is enabled.booleanCheck if change of organization to organization from user ext source is enabled.getPerunOidcConfig(String name) Returns Oidc Configuration for this Perun instance (to be used for CLI communication).voidbooleanChecks whether spool files generated by the engine should be archivedvoidReloads the configuration of brandings and their respective apps (see perun-apps-config.yml)voidsetPerunAppsConfigLoader(PerunAppsConfigLoader perunAppsConfigLoader) Sets the PerunAppsConfigLoadervoidsetPerunOidcConfigLoader(PerunOidcConfigLoader perunOidcConfigLoader) Sets the PerunOidcConfigLoader
- 
Constructor Details- 
ConfigManagerImplpublic ConfigManagerImpl()
 
- 
- 
Method Details- 
getPerunOidcConfigpublic OidcConfig getPerunOidcConfig(String name) throws OidcConfigNotExistsException, OidcConfigFileNotExistsException Description copied from interface:ConfigManagerImplApiReturns Oidc Configuration for this Perun instance (to be used for CLI communication).- Specified by:
- getPerunOidcConfigin interface- ConfigManagerImplApi
- Parameters:
- name- name of desired configuration
- Returns:
- oidcConfig
- Throws:
- OidcConfigNotExistsException- when configuration under such name doesn't exist
- OidcConfigFileNotExistsException- when configuration file for oidc configs doesn't exist.
 
- 
initializepublic void initialize()
- 
reloadAppsConfigpublic void reloadAppsConfig()Description copied from interface:ConfigManagerImplApiReloads the configuration of brandings and their respective apps (see perun-apps-config.yml)- Specified by:
- reloadAppsConfigin interface- ConfigManagerImplApi
 
- 
isArchiveSpoolEnabledpublic boolean isArchiveSpoolEnabled()Description copied from interface:ConfigManagerImplApiChecks whether spool files generated by the engine should be archived- Specified by:
- isArchiveSpoolEnabledin interface- ConfigManagerImplApi
 
- 
setPerunAppsConfigLoaderDescription copied from interface:ConfigManagerImplApiSets the PerunAppsConfigLoader- Specified by:
- setPerunAppsConfigLoaderin interface- ConfigManagerImplApi
- Parameters:
- perunAppsConfigLoader- loader to set
 
- 
setPerunOidcConfigLoaderDescription copied from interface:ConfigManagerImplApiSets the PerunOidcConfigLoader- Specified by:
- setPerunOidcConfigLoaderin interface- ConfigManagerImplApi
- Parameters:
- perunOidcConfigLoader- loader to set
 
- 
getEnableLinkedNamepublic boolean getEnableLinkedName()Description copied from interface:ConfigManagerImplApiCheck if change of name to name from user ext source is enabled.- Specified by:
- getEnableLinkedNamein interface- ConfigManagerImplApi
- Returns:
- true if name from ues is enabled, otherwise false
 
- 
getEnableCustomNamepublic boolean getEnableCustomName()Description copied from interface:ConfigManagerImplApiCheck if change of name to custom name is enabled.- Specified by:
- getEnableCustomNamein interface- ConfigManagerImplApi
- Returns:
- true if custom name enabled, otherwise false
 
- 
getCustomNameRequiresApprovepublic boolean getCustomNameRequiresApprove()Description copied from interface:ConfigManagerImplApiCheck if custom name requires approve.- Specified by:
- getCustomNameRequiresApprovein interface- ConfigManagerImplApi
- Returns:
- true if custom name requires approve, otherwise false
 
- 
getEnableLinkedOrganizationpublic boolean getEnableLinkedOrganization()Description copied from interface:ConfigManagerImplApiCheck if change of organization to organization from user ext source is enabled.- Specified by:
- getEnableLinkedOrganizationin interface- ConfigManagerImplApi
- Returns:
- true if organization from ues is enabled, otherwise false
 
- 
getEnableCustomOrganizationpublic boolean getEnableCustomOrganization()Description copied from interface:ConfigManagerImplApiCheck if change of organization to organization name is enabled.- Specified by:
- getEnableCustomOrganizationin interface- ConfigManagerImplApi
- Returns:
- true if custom organization enabled, otherwise false
 
- 
getCustomOrganizationRequiresApprovepublic boolean getCustomOrganizationRequiresApprove()Description copied from interface:ConfigManagerImplApiCheck if custom organization requires approve.- Specified by:
- getCustomOrganizationRequiresApprovein interface- ConfigManagerImplApi
- Returns:
- true if custom organization requires approve, otherwise false
 
- 
getEnableLinkedEmailpublic boolean getEnableLinkedEmail()Description copied from interface:ConfigManagerImplApiCheck if change of email to email from user ext source is enabled.- Specified by:
- getEnableLinkedEmailin interface- ConfigManagerImplApi
- Returns:
- true if email from ues is enabled, otherwise false
 
- 
getEnableCustomEmailpublic boolean getEnableCustomEmail()Description copied from interface:ConfigManagerImplApiCheck if change of email to organization email is enabled.- Specified by:
- getEnableCustomEmailin interface- ConfigManagerImplApi
- Returns:
- true if custom email enabled, otherwise false
 
- 
getCustomEmailRequiresVerificationpublic boolean getCustomEmailRequiresVerification()Description copied from interface:ConfigManagerImplApiCheck if custom email requires verification.- Specified by:
- getCustomEmailRequiresVerificationin interface- ConfigManagerImplApi
- Returns:
- true if custom email requires verification, otherwise false
 
 
-