Package cz.metacentrum.perun.core.bl
Interface ConfigManagerBl
- All Known Implementing Classes:
ConfigManagerBlImpl
public interface ConfigManagerBl
ConfigManager serves to manage configuration files.
- Author:
- David Flor <493294@mail.muni.cz>
-
Method Summary
Modifier and TypeMethodDescriptiongetPerunOidcConfig
(String requestUrl) Returns Oidc Configuration for this Perun instance (to be used for CLI communication).void
Reloads the configuration of brandings and their respective apps (see perun-apps-config.yml)
-
Method Details
-
reloadAppsConfig
void reloadAppsConfig()Reloads the configuration of brandings and their respective apps (see perun-apps-config.yml) -
getPerunOidcConfig
OidcConfig getPerunOidcConfig(String requestUrl) throws OidcConfigNotExistsException, OidcConfigFileNotExistsException Returns Oidc Configuration for this Perun instance (to be used for CLI communication).- 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.
-