directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1468872 - /directory/apacheds/trunk/kerberos-client2/src/main/java/org/apache/directory/kerberos/client/KdcConnection.java
Date Wed, 17 Apr 2013 12:40:07 GMT
Author: kayyagari
Date: Wed Apr 17 12:40:07 2013
New Revision: 1468872

URL: http://svn.apache.org/r1468872
Log:
set the principal name without realm component

Modified:
    directory/apacheds/trunk/kerberos-client2/src/main/java/org/apache/directory/kerberos/client/KdcConnection.java

Modified: directory/apacheds/trunk/kerberos-client2/src/main/java/org/apache/directory/kerberos/client/KdcConnection.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-client2/src/main/java/org/apache/directory/kerberos/client/KdcConnection.java?rev=1468872&r1=1468871&r2=1468872&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-client2/src/main/java/org/apache/directory/kerberos/client/KdcConnection.java
(original)
+++ directory/apacheds/trunk/kerberos-client2/src/main/java/org/apache/directory/kerberos/client/KdcConnection.java
Wed Apr 17 12:40:07 2013
@@ -293,10 +293,10 @@ public class KdcConnection
         PrincipalName cName = null;
         try
         {
-            cName = new PrincipalName( clientTgtReq.getClientPrincipal(), PrincipalNameType.KRB_NT_PRINCIPAL
);
+            cName = new PrincipalName( clientTgtReq.getCName(), PrincipalNameType.KRB_NT_PRINCIPAL
);
             body.setCName( cName );
             body.setRealm( realm );
-            PrincipalName sName = new PrincipalName( clientTgtReq.getServerPrincipal(), PrincipalNameType.KRB_NT_SRV_INST
);
+            PrincipalName sName = new PrincipalName( clientTgtReq.getSName(), PrincipalNameType.KRB_NT_SRV_INST
);
             body.setSName( sName );
         }
         catch( ParseException e )



Mime
View raw message