Interface ConfigManagerImplApi
- All Known Implementing Classes:
ConfigManagerImpl
public interface ConfigManagerImplApi
ConfigManager serves to manage configuration files.
- Author:
- David Flor invalid input: '<'493294@mail.muni.cz>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if custom email requires verification.boolean
Check if custom name requires approve.boolean
Check if custom organization requires approve.boolean
Check if change of email to organization email is enabled.boolean
Check if change of name to custom name is enabled.boolean
Check if change of organization to organization name is enabled.boolean
Check if change of email to email from user ext source is enabled.boolean
Check if change of name to name from user ext source is enabled.boolean
Check 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).boolean
Checks whether spool files generated by the engine should be archivedvoid
Reloads the configuration of brandings and their respective apps (see perun-apps-config.yml)void
setPerunAppsConfigLoader
(PerunAppsConfigLoader perunAppsConfigLoader) Sets the PerunAppsConfigLoadervoid
setPerunOidcConfigLoader
(PerunOidcConfigLoader perunOidcConfigLoader) Sets the PerunOidcConfigLoader
-
Method Details
-
getPerunOidcConfig
OidcConfig getPerunOidcConfig(String name) throws OidcConfigNotExistsException, OidcConfigFileNotExistsException Returns Oidc Configuration for this Perun instance (to be used for CLI communication).- Parameters:
name
- name of desired configuration- Returns:
- oidcConfig
- Throws:
OidcConfigNotExistsException
- when configuration under such name doesn't existOidcConfigFileNotExistsException
- when configuration file for oidc configs doesn't exist.
-
reloadAppsConfig
void reloadAppsConfig()Reloads the configuration of brandings and their respective apps (see perun-apps-config.yml) -
isArchiveSpoolEnabled
boolean isArchiveSpoolEnabled()Checks whether spool files generated by the engine should be archived -
setPerunAppsConfigLoader
Sets the PerunAppsConfigLoader- Parameters:
perunAppsConfigLoader
- loader to set
-
setPerunOidcConfigLoader
Sets the PerunOidcConfigLoader- Parameters:
perunOidcConfigLoader
- loader to set
-
getEnableLinkedName
boolean getEnableLinkedName()Check if change of name to name from user ext source is enabled.- Returns:
- true if name from ues is enabled, otherwise false
-
getEnableCustomName
boolean getEnableCustomName()Check if change of name to custom name is enabled.- Returns:
- true if custom name enabled, otherwise false
-
getCustomNameRequiresApprove
boolean getCustomNameRequiresApprove()Check if custom name requires approve.- Returns:
- true if custom name requires approve, otherwise false
-
getEnableLinkedOrganization
boolean getEnableLinkedOrganization()Check if change of organization to organization from user ext source is enabled.- Returns:
- true if organization from ues is enabled, otherwise false
-
getEnableCustomOrganization
boolean getEnableCustomOrganization()Check if change of organization to organization name is enabled.- Returns:
- true if custom organization enabled, otherwise false
-
getCustomOrganizationRequiresApprove
boolean getCustomOrganizationRequiresApprove()Check if custom organization requires approve.- Returns:
- true if custom organization requires approve, otherwise false
-
getEnableLinkedEmail
boolean getEnableLinkedEmail()Check if change of email to email from user ext source is enabled.- Returns:
- true if email from ues is enabled, otherwise false
-
getEnableCustomEmail
boolean getEnableCustomEmail()Check if change of email to organization email is enabled.- Returns:
- true if custom email enabled, otherwise false
-
getCustomEmailRequiresVerification
boolean getCustomEmailRequiresVerification()Check if custom email requires verification.- Returns:
- true if custom email requires verification, otherwise false
-