directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From plusplusjia...@apache.org
Subject [01/10] directory-kerby git commit: DIRKRB-397 Fix an issue in Kadmin#fixPrincipal. Contributed by Yaning.
Date Thu, 20 Aug 2015 02:38:10 GMT
Repository: directory-kerby
Updated Branches:
  refs/heads/pkinit-support 8c5122329 -> 53d09c96b


DIRKRB-397 Fix an issue in Kadmin#fixPrincipal. Contributed by Yaning.


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

Branch: refs/heads/pkinit-support
Commit: e8f1a2dcc2804543755cdf5177a2608a4e989770
Parents: 1aa6988
Author: plusplusjiajia <jiajia.li@intel.com>
Authored: Wed Aug 12 09:42:39 2015 +0800
Committer: plusplusjiajia <jiajia.li@intel.com>
Committed: Wed Aug 12 09:42:39 2015 +0800

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


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/e8f1a2dc/kerby-kerb/kerb-admin/src/main/java/org/apache/kerby/kerberos/kerb/admin/Kadmin.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-admin/src/main/java/org/apache/kerby/kerberos/kerb/admin/Kadmin.java
b/kerby-kerb/kerb-admin/src/main/java/org/apache/kerby/kerberos/kerb/admin/Kadmin.java
index b838892..35b9090 100644
--- a/kerby-kerb/kerb-admin/src/main/java/org/apache/kerby/kerberos/kerb/admin/Kadmin.java
+++ b/kerby-kerb/kerb-admin/src/main/java/org/apache/kerby/kerberos/kerb/admin/Kadmin.java
@@ -542,7 +542,7 @@ public class Kadmin {
      */
     private String fixPrincipal(String principal) {
         if (!principal.contains("@")) {
-            principal += "@" + getKdcConfig().getKdcRealm();
+            principal += "@" + kdcSetting.getKdcRealm();
         }
         return principal;
     }


Mime
View raw message