svn commit: r1243942 - /cocoon/cocoon3/trunk/cocoon-shiro/src/main/java/org/apache/cocoon/shiro/rest/AbstractShiroLogin.java

[email protected]
Newsgroups gmane.text.xml.cocoon.cvs
Message-ID <[email protected]>
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;
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.