directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [3/3] directory-kerby git commit: Set the peer name for the GSSAccept case
Date Thu, 03 Aug 2017 14:36:08 GMT
Set the peer name for the GSSAccept case


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

Branch: refs/heads/trunk
Commit: 337af9b72accf789e80f7bc0736efa6146ba818c
Parents: e23f0c9
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Thu Aug 3 15:35:54 2017 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Thu Aug 3 15:35:54 2017 +0100

----------------------------------------------------------------------
 .../java/org/apache/kerby/kerberos/kerb/gss/impl/GssContext.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/337af9b7/kerby-kerb/kerb-gssapi/src/main/java/org/apache/kerby/kerberos/kerb/gss/impl/GssContext.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-gssapi/src/main/java/org/apache/kerby/kerberos/kerb/gss/impl/GssContext.java
b/kerby-kerb/kerb-gssapi/src/main/java/org/apache/kerby/kerberos/kerb/gss/impl/GssContext.java
index 1300836..138bdd2 100644
--- a/kerby-kerb/kerb-gssapi/src/main/java/org/apache/kerby/kerberos/kerb/gss/impl/GssContext.java
+++ b/kerby-kerb/kerb-gssapi/src/main/java/org/apache/kerby/kerberos/kerb/gss/impl/GssContext.java
@@ -439,6 +439,7 @@ public class GssContext implements GSSContextSpi {
         if (serverKey == null) {
             throw new GSSException(GSSException.FAILURE, -1, "Server key not found");
         }
+        peerName = (GssNameElement) acceptCred.getName();
 
         try {
             ApRequest.validate(serverKey, apReq,


Mime
View raw message