shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lhazlew...@apache.org
Subject svn commit: r1227006 - /shiro/trunk/core/src/main/java/org/apache/shiro/realm/text/TextConfigurationRealm.java
Date Wed, 04 Jan 2012 00:46:16 GMT
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;
     }



Mime
View raw message