You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by lh...@apache.org on 2012/01/04 01:46:16 UTC
svn commit: r1227006 -
/shiro/trunk/core/src/main/java/org/apache/shiro/realm/text/TextConfigurationRealm.java
Author: lhazlewood
Date: Wed Jan 4 00:46:16 2012
New Revision: 1227006
URL: http://svn.apache.org/viewvc?rev=1227006&view=rev
Log:
SHIRO-223: added 'processDefinitions' to onInit per patch
Modified:
shiro/trunk/core/src/main/java/org/apache/shiro/realm/text/TextConfigurationRealm.java
Modified: shiro/trunk/core/src/main/java/org/apache/shiro/realm/text/TextConfigurationRealm.java
URL: http://svn.apache.org/viewvc/shiro/trunk/core/src/main/java/org/apache/shiro/realm/text/TextConfigurationRealm.java?rev=1227006&r1=1227005&r2=1227006&view=diff
==============================================================================
--- shiro/trunk/core/src/main/java/org/apache/shiro/realm/text/TextConfigurationRealm.java (original)
+++ shiro/trunk/core/src/main/java/org/apache/shiro/realm/text/TextConfigurationRealm.java Wed Jan 4 00:46:16 2012
@@ -54,6 +54,18 @@ public class TextConfigurationRealm exte
super();
}
+ /**
+ * Will call 'processDefinitions' on startup.
+ *
+ * @since 1.2
+ * @see <a href="https://issues.apache.org/jira/browse/SHIRO-223">SHIRO-223</a>
+ */
+ @Override
+ protected void onInit() {
+ super.onInit();
+ processDefinitions();
+ }
+
public String getUserDefinitions() {
return userDefinitions;
}