shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lhazlew...@apache.org
Subject svn commit: r1226994 - /shiro/trunk/support/cas/src/main/java/org/apache/shiro/cas/CasRealm.java
Date Tue, 03 Jan 2012 23:36:56 GMT
Author: lhazlewood
Date: Tue Jan  3 23:36:56 2012
New Revision: 1226994

URL: http://svn.apache.org/viewvc?rev=1226994&view=rev
Log:
SHIRO-285: added init behavior

Modified:
    shiro/trunk/support/cas/src/main/java/org/apache/shiro/cas/CasRealm.java

Modified: shiro/trunk/support/cas/src/main/java/org/apache/shiro/cas/CasRealm.java
URL: http://svn.apache.org/viewvc/shiro/trunk/support/cas/src/main/java/org/apache/shiro/cas/CasRealm.java?rev=1226994&r1=1226993&r2=1226994&view=diff
==============================================================================
--- shiro/trunk/support/cas/src/main/java/org/apache/shiro/cas/CasRealm.java (original)
+++ shiro/trunk/support/cas/src/main/java/org/apache/shiro/cas/CasRealm.java Tue Jan  3 23:36:56
2012
@@ -96,7 +96,13 @@ public class CasRealm extends Authorizin
     public CasRealm() {
         setAuthenticationTokenClass(CasToken.class);
     }
-    
+
+    @Override
+    protected void onInit() {
+        super.onInit();
+        ensureTicketValidator();
+    }
+
     protected TicketValidator ensureTicketValidator() {
         if (this.ticketValidator == null) {
             this.ticketValidator = createTicketValidator();



Mime
View raw message