diff --git a/li.strolch.agent/src/main/java/li/strolch/agent/api/StrolchAgent.java b/li.strolch.agent/src/main/java/li/strolch/agent/api/StrolchAgent.java index d60bda318..feab6f97c 100644 --- a/li.strolch.agent/src/main/java/li/strolch/agent/api/StrolchAgent.java +++ b/li.strolch.agent/src/main/java/li/strolch/agent/api/StrolchAgent.java @@ -110,6 +110,13 @@ public class StrolchAgent { return this.container.getPrivilegeHandler(); } + /** + * @see ComponentContainer#getRealm(String) + */ + public StrolchRealm getRealm(String realm) throws StrolchException { + return getComponent(RealmHandler.class).getRealm(realm); + } + /** * @see ComponentContainer#getRealm(Certificate) */ @@ -278,10 +285,14 @@ public class StrolchAgent { * Sets up the agent by parsing the configuration file and initializes the given environment *

* - * @param environment the current environment - * @param configPathF the path to the config directory - * @param dataPathF the path to the data directory - * @param tempPathF the path to the temp directory + * @param environment + * the current environment + * @param configPathF + * the path to the config directory + * @param dataPathF + * the path to the data directory + * @param tempPathF + * the path to the temp directory */ void setup(String environment, File configPathF, File dataPathF, File tempPathF) {