Updated Branches: refs/heads/wicket-6.x ed3db1d55 -> e5086fa35
WICKET-5492 WebApplication ignores a SecurityException when reading the configuration type Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/e5086fa3 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/e5086fa3 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/e5086fa3 Branch: refs/heads/wicket-6.x Commit: e5086fa35798649fe15b77ed12f6dc09ecb9ed75 Parents: ed3db1d Author: Martin Tzvetanov Grigorov <[email protected]> Authored: Thu Jan 30 09:47:04 2014 +0100 Committer: Martin Tzvetanov Grigorov <[email protected]> Committed: Thu Jan 30 09:47:04 2014 +0100 ---------------------------------------------------------------------- .../main/java/org/apache/wicket/protocol/http/WebApplication.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/e5086fa3/wicket-core/src/main/java/org/apache/wicket/protocol/http/WebApplication.java ---------------------------------------------------------------------- diff --git a/wicket-core/src/main/java/org/apache/wicket/protocol/http/WebApplication.java b/wicket-core/src/main/java/org/apache/wicket/protocol/http/WebApplication.java index b8cd025..ddd7cd3 100644 --- a/wicket-core/src/main/java/org/apache/wicket/protocol/http/WebApplication.java +++ b/wicket-core/src/main/java/org/apache/wicket/protocol/http/WebApplication.java @@ -692,7 +692,8 @@ public abstract class WebApplication extends Application } catch (SecurityException e) { - // Ignore - we're not allowed to read system properties. + log.warn("SecurityManager doesn't allow to read the configuration type from " + + "the system properties. The configuration type will be read from the web.xml."); } // If no system parameter check filter/servlet <init-param> and <context-param>
