cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r1243942 - /cocoon/cocoon3/trunk/cocoon-shiro/src/main/java/org/apache/cocoon/shiro/rest/AbstractShiroLogin.java
Date Tue, 14 Feb 2012 14:32:47 GMT
Author: thorsten
Date: Tue Feb 14 14:32:46 2012
New Revision: 1243942

URL: http://svn.apache.org/viewvc?rev=1243942&view=rev
Log:
Raising visibility of methods to make them overridable

Modified:
    cocoon/cocoon3/trunk/cocoon-shiro/src/main/java/org/apache/cocoon/shiro/rest/AbstractShiroLogin.java

Modified: cocoon/cocoon3/trunk/cocoon-shiro/src/main/java/org/apache/cocoon/shiro/rest/AbstractShiroLogin.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-shiro/src/main/java/org/apache/cocoon/shiro/rest/AbstractShiroLogin.java?rev=1243942&r1=1243941&r2=1243942&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-shiro/src/main/java/org/apache/cocoon/shiro/rest/AbstractShiroLogin.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-shiro/src/main/java/org/apache/cocoon/shiro/rest/AbstractShiroLogin.java
Tue Feb 14 14:32:46 2012
@@ -138,7 +138,7 @@ public abstract class AbstractShiroLogin
      *            the shiro subject
      * @return true, if login attempts exceeded
      */
-    private boolean isAttemptsExceeded(Subject subject) {
+    protected boolean isAttemptsExceeded(Subject subject) {
         Integer attemptCount = (Integer) subject.getSession().getAttribute(
                 LOGIN_ATTEMPTS_COUNTER);
         if (attemptCount == null) {
@@ -158,7 +158,7 @@ public abstract class AbstractShiroLogin
      * 
      * @return the allowed wrong attempts count
      */
-    private Integer getAllowedWrongAttempts() {
+    protected Integer getAllowedWrongAttempts() {
         return allowedAttempts;
     }
 



Mime
View raw message