directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject [2/5] directory-kerby git commit: re-instated the removed setters (kadmin needs them)
Date Thu, 02 Jul 2015 08:15:42 GMT
re-instated the removed setters (kadmin needs them)


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

Branch: refs/heads/master
Commit: 3d37ad2631d969110eeb05f62e1d3d437011115a
Parents: d2aa025
Author: Kiran Ayyagari <kayyagari@apache.org>
Authored: Thu Jul 2 16:10:02 2015 +0800
Committer: Kiran Ayyagari <kayyagari@apache.org>
Committed: Thu Jul 2 16:10:02 2015 +0800

----------------------------------------------------------------------
 .../org/apache/kerby/kerberos/kerb/identity/KrbIdentity.java | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/3d37ad26/kerby-kerb/kerb-identity/src/main/java/org/apache/kerby/kerberos/kerb/identity/KrbIdentity.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-identity/src/main/java/org/apache/kerby/kerberos/kerb/identity/KrbIdentity.java
b/kerby-kerb/kerb-identity/src/main/java/org/apache/kerby/kerberos/kerb/identity/KrbIdentity.java
index 53f9a6b..b36a015 100644
--- a/kerby-kerb/kerb-identity/src/main/java/org/apache/kerby/kerberos/kerb/identity/KrbIdentity.java
+++ b/kerby-kerb/kerb-identity/src/main/java/org/apache/kerby/kerberos/kerb/identity/KrbIdentity.java
@@ -68,10 +68,18 @@ public class KrbIdentity {
         return principal.getName();
     }
 
+    public void setPrincipalName(String newPrincipalName) { 
+        principal = new PrincipalName(newPrincipalName);
+    }
+
     public PrincipalName getPrincipal() {
         return principal;
     }
 
+    public void setPrincipal(PrincipalName principal) {
+        this.principal = principal;
+    }
+
     public KerberosTime getExpireTime() {
         return expireTime;
     }


Mime
View raw message