directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dran...@apache.org
Subject directory-kerby git commit: A minor fixup
Date Fri, 20 Nov 2015 02:59:02 GMT
Repository: directory-kerby
Updated Branches:
  refs/heads/master a9799aca0 -> b0718339f


A minor fixup


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/b0718339
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/b0718339
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/b0718339

Branch: refs/heads/master
Commit: b0718339ff127ee37ef1c1f1957e962e85f45e6d
Parents: a9799ac
Author: Kai Zheng <kai.zheng@intel.com>
Authored: Fri Nov 20 10:58:43 2015 +0800
Committer: Kai Zheng <kai.zheng@intel.com>
Committed: Fri Nov 20 10:58:43 2015 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/kerby/kerberos/kerb/client/KrbConfig.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/b0718339/kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/KrbConfig.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/KrbConfig.java
b/kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/KrbConfig.java
index c04bce7..5d2d2fc 100644
--- a/kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/KrbConfig.java
+++ b/kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/KrbConfig.java
@@ -112,7 +112,7 @@ public class KrbConfig extends Krb5Conf {
         if (realm == null) {
             realm = getString(KrbConfigKey.DEFAULT_REALM, false, LIBDEFAULT);
             if (realm == null) {
-                realm = getString(KrbConfigKey.KDC_REALM, true, LIBDEFAULT);
+                realm = (String) KrbConfigKey.KDC_REALM.getDefaultValue();
             }
         }
 


Mime
View raw message