WICKET-5308 make #authenticate protected to reduce confusion

Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/3e38950a
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/3e38950a
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/3e38950a

Branch: refs/heads/5299-ajax-strategy
Commit: 3e38950a11c5e81477771b4a4963279654958417
Parents: 12ba191
Author: Carl-Eric Menzel <cmen...@wicketbuch.de>
Authored: Wed Aug 7 19:33:05 2013 +0200
Committer: Carl-Eric Menzel <cmen...@wicketbuch.de>
Committed: Wed Aug 7 19:33:05 2013 +0200

----------------------------------------------------------------------
 .../wicket/authroles/authentication/AuthenticatedWebSession.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/3e38950a/wicket-auth-roles/src/main/java/org/apache/wicket/authroles/authentication/AuthenticatedWebSession.java
----------------------------------------------------------------------
diff --git 
a/wicket-auth-roles/src/main/java/org/apache/wicket/authroles/authentication/AuthenticatedWebSession.java
 
b/wicket-auth-roles/src/main/java/org/apache/wicket/authroles/authentication/AuthenticatedWebSession.java
index 13c47d5..1c814e9 100644
--- 
a/wicket-auth-roles/src/main/java/org/apache/wicket/authroles/authentication/AuthenticatedWebSession.java
+++ 
b/wicket-auth-roles/src/main/java/org/apache/wicket/authroles/authentication/AuthenticatedWebSession.java
@@ -79,7 +79,7 @@ public abstract class AuthenticatedWebSession extends 
AbstractAuthenticatedWebSe
         *            The password
         * @return True if the user was authenticated successfully
         */
-       public abstract boolean authenticate(final String username, final 
String password);
+       protected abstract boolean authenticate(final String username, final 
String password);
 
        /**
         * Cookie based logins (remember me) may not rely on putting username 
and password into the

Reply via email to