Package cz.metacentrum.perun.core.blImpl
Class ConfigManagerBlImpl
java.lang.Object
cz.metacentrum.perun.core.blImpl.ConfigManagerBlImpl
- All Implemented Interfaces:
ConfigManagerBl
- Author:
- David Flor <493294@mail.muni.cz>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPerunOidcConfig
(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
Reloads the configuration of brandings and their respective apps (see perun-apps-config.yml)
-
Constructor Details
-
ConfigManagerBlImpl
-
-
Method Details
-
getConfigManagerImpl
-
getPerunOidcConfig
public OidcConfig getPerunOidcConfig(String requestUrl) throws OidcConfigNotExistsException, OidcConfigFileNotExistsException Description copied from interface:ConfigManagerBl
Returns Oidc Configuration for this Perun instance (to be used for CLI communication).- Specified by:
getPerunOidcConfig
in interfaceConfigManagerBl
- Parameters:
requestUrl
- url of request- Returns:
- oidcConfig
- Throws:
OidcConfigNotExistsException
- when configuration under such name doesn't existOidcConfigFileNotExistsException
- when configuration file for oidc configs doesn't exist.
-
reloadAppsConfig
public void reloadAppsConfig()Description copied from interface:ConfigManagerBl
Reloads the configuration of brandings and their respective apps (see perun-apps-config.yml)- Specified by:
reloadAppsConfig
in interfaceConfigManagerBl
-
isArchiveSpoolEnabled
public boolean isArchiveSpoolEnabled()Description copied from interface:ConfigManagerBl
Checks whether spool files generated by the engine should be archived- Specified by:
isArchiveSpoolEnabled
in interfaceConfigManagerBl
-