You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ji...@apache.org on 2017/07/17 20:31:36 UTC
geode git commit: GEODE-3166: use the 3 param getCredential interface.
Repository: geode
Updated Branches:
refs/heads/develop 3b32a3319 -> 27aa7d30e
GEODE-3166: use the 3 param getCredential interface.
Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/27aa7d30
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/27aa7d30
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/27aa7d30
Branch: refs/heads/develop
Commit: 27aa7d30e44134d5f298601fd1233dc3242b50de
Parents: 3b32a33
Author: Jinmei Liao <ji...@pivotal.io>
Authored: Wed Jul 5 08:59:59 2017 -0700
Committer: Jinmei Liao <ji...@pivotal.io>
Committed: Mon Jul 17 13:30:23 2017 -0700
----------------------------------------------------------------------
.../org/apache/geode/security/AuthInitialize.java | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/geode/blob/27aa7d30/geode-core/src/main/java/org/apache/geode/security/AuthInitialize.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/security/AuthInitialize.java b/geode-core/src/main/java/org/apache/geode/security/AuthInitialize.java
index 6b0675a..0efd958 100644
--- a/geode-core/src/main/java/org/apache/geode/security/AuthInitialize.java
+++ b/geode-core/src/main/java/org/apache/geode/security/AuthInitialize.java
@@ -82,19 +82,19 @@ public interface AuthInitialize extends CacheCallback {
*
* @return the credentials to be used for the given <code>server</code>
*
- * @deprecated since Geode 1.0, use getCredentials(Properties). When using Integrated security,
- * all members, peer/client will use the same credentials.
+ * When using Integrated security, all members, peer/client will use the same credentials.
+ * but we still need to use these params to support the old authenticator
*/
- @Deprecated
- public Properties getCredentials(Properties securityProps, DistributedMember server,
- boolean isPeer) throws AuthenticationFailedException;
+ Properties getCredentials(Properties securityProps, DistributedMember server, boolean isPeer)
+ throws AuthenticationFailedException;
/**
- * Implement this since Geode1.0
- *
+ *
* @param securityProps
* @return the credentials to be used. It needs to contain "security-username" and
* "security-password"
+ * @deprecated As of Geode 1.3, please implement getCredentials(Properties, DistributedMember,
+ * boolean)
*/
default Properties getCredentials(Properties securityProps) {
return getCredentials(securityProps, null, true);