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).boolean
Checks whether spool files generated by the engine should be archivedvoid
reloadAppsConfig
(PerunSession sess) Reloads the configuration of brandings and their respective apps (see perun-apps-config.yml)void
setConfigManagerBl
(ConfigManagerBl configManagerBl) void
setPerunBl
(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:ConfigManager
Returns Oidc Configuration for this Perun instance (to be used for CLI communication).- Specified by:
getPerunOidcConfig
in 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:ConfigManager
Reloads the configuration of brandings and their respective apps (see perun-apps-config.yml)- Specified by:
reloadAppsConfig
in interfaceConfigManager
- Parameters:
sess
- user's session in Perun- Throws:
PrivilegeException
- wrong privilege to call this method
-
isArchiveSpoolEnabled
Description copied from interface:ConfigManager
Checks whether spool files generated by the engine should be archived- Specified by:
isArchiveSpoolEnabled
in interfaceConfigManager
- Parameters:
sess
- session- Returns:
- true if archive, false otherwise
- Throws:
PrivilegeException
- insufficient privileges
-
setConfigManagerBl
-
setPerunBl
-
getPersonalDataChangeConfig
Description copied from interface:ConfigManager
Gets personal data change configuration with all related core config properties.- Specified by:
getPersonalDataChangeConfig
in interfaceConfigManager
- Parameters:
sess
- session- Returns:
- personal data change config
-