Package cz.metacentrum.perun.core.entry
Class ConfigManagerEntry
java.lang.Object
cz.metacentrum.perun.core.entry.ConfigManagerEntry
- All Implemented Interfaces:
ConfigManager
ConfigManager entry logic.
- Author:
- David Flor invalid input: '<'493294@mail.muni.cz>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets personal data change configuration with all related core config properties.getPerunOidcConfig(PerunSession sess, String requestUrl) Returns Oidc Configuration for this Perun instance (to be used for CLI communication).booleanChecks whether spool files generated by the engine should be archivedvoidreloadAppsConfig(PerunSession sess) Reloads the configuration of brandings and their respective apps (see perun-apps-config.yml)voidsetConfigManagerBl(ConfigManagerBl configManagerBl) voidsetPerunBl(PerunBlImpl perunBl)
-
Constructor Details
-
ConfigManagerEntry
-
ConfigManagerEntry
public ConfigManagerEntry()
-
-
Method Details
-
getPerunBl
-
getPerunOidcConfig
public OidcConfig getPerunOidcConfig(PerunSession sess, String requestUrl) throws OidcConfigNotExistsException, OidcConfigFileNotExistsException Description copied from interface:ConfigManagerReturns Oidc Configuration for this Perun instance (to be used for CLI communication).- Specified by:
getPerunOidcConfigin interfaceConfigManager- Parameters:
sess- sessionrequestUrl- url of the request- Returns:
- oidcConfig
- Throws:
OidcConfigNotExistsException- when configuration under such name doesn't existOidcConfigFileNotExistsException- when configuration file for oidc configs doesn't exist.
-
reloadAppsConfig
Description copied from interface:ConfigManagerReloads the configuration of brandings and their respective apps (see perun-apps-config.yml)- Specified by:
reloadAppsConfigin interfaceConfigManager- Parameters:
sess- user's session in Perun- Throws:
PrivilegeException- wrong privilege to call this method
-
isArchiveSpoolEnabled
Description copied from interface:ConfigManagerChecks whether spool files generated by the engine should be archived- Specified by:
isArchiveSpoolEnabledin interfaceConfigManager- Parameters:
sess- session- Returns:
- true if archive, false otherwise
- Throws:
PrivilegeException- insufficient privileges
-
setConfigManagerBl
-
setPerunBl
-
getPersonalDataChangeConfig
Description copied from interface:ConfigManagerGets personal data change configuration with all related core config properties.- Specified by:
getPersonalDataChangeConfigin interfaceConfigManager- Parameters:
sess- session- Returns:
- personal data change config
-