directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1043036 - /directory/apacheds/branches/apacheds-kerberos-codec-2.0/protocol-changepw/src/test/java/org/apache/directory/server/changepw/protocol/ChangepwProtocolHandlerTest.java
Date Tue, 07 Dec 2010 13:23:57 GMT
Author: elecharny
Date: Tue Dec  7 13:23:57 2010
New Revision: 1043036

URL: http://svn.apache.org/viewvc?rev=1043036&view=rev
Log:
Fixed some compilation failures

Modified:
    directory/apacheds/branches/apacheds-kerberos-codec-2.0/protocol-changepw/src/test/java/org/apache/directory/server/changepw/protocol/ChangepwProtocolHandlerTest.java

Modified: directory/apacheds/branches/apacheds-kerberos-codec-2.0/protocol-changepw/src/test/java/org/apache/directory/server/changepw/protocol/ChangepwProtocolHandlerTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-kerberos-codec-2.0/protocol-changepw/src/test/java/org/apache/directory/server/changepw/protocol/ChangepwProtocolHandlerTest.java?rev=1043036&r1=1043035&r2=1043036&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-kerberos-codec-2.0/protocol-changepw/src/test/java/org/apache/directory/server/changepw/protocol/ChangepwProtocolHandlerTest.java
(original)
+++ directory/apacheds/branches/apacheds-kerberos-codec-2.0/protocol-changepw/src/test/java/org/apache/directory/server/changepw/protocol/ChangepwProtocolHandlerTest.java
Tue Dec  7 13:23:57 2010
@@ -42,7 +42,6 @@ import org.apache.directory.server.chang
 import org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandler;
 import org.apache.directory.server.kerberos.shared.crypto.encryption.KeyUsage;
 import org.apache.directory.server.kerberos.shared.crypto.encryption.RandomKeyFactory;
-import org.apache.directory.shared.kerberos.exceptions.KerberosException;
 import org.apache.directory.server.kerberos.shared.messages.application.PrivateMessage;
 import org.apache.directory.server.kerberos.shared.store.PrincipalStore;
 import org.apache.directory.server.kerberos.shared.store.TicketFactory;
@@ -56,6 +55,7 @@ import org.apache.directory.shared.kerbe
 import org.apache.directory.shared.kerberos.components.EncryptionKey;
 import org.apache.directory.shared.kerberos.components.HostAddress;
 import org.apache.directory.shared.kerberos.components.PrincipalName;
+import org.apache.directory.shared.kerberos.exceptions.KerberosException;
 import org.apache.directory.shared.kerberos.messages.ApReq;
 import org.apache.directory.shared.kerberos.messages.Authenticator;
 import org.apache.directory.shared.kerberos.messages.KrbError;
@@ -173,7 +173,10 @@ public class ChangepwProtocolHandlerTest
         EncryptedData encryptedAuthenticator = cipherTextHandler.seal( serviceTicket.getEncTicketPart().getKey(),
authenticator
                 , KeyUsage.NUMBER11 );
 
-        ApReq apReq = new ApReq( apOptions, serviceTicket, encryptedAuthenticator );
+        ApReq apReq = new ApReq();
+        apReq.setOption( apOptions );
+        apReq.setTicket( serviceTicket );
+        apReq.setAuthenticator( encryptedAuthenticator );
 
         String newPassword = "secretsecret";
 
@@ -249,7 +252,10 @@ public class ChangepwProtocolHandlerTest
         EncryptedData encryptedAuthenticator = cipherTextHandler.seal( serverKey, authenticator,
                 KeyUsage.NUMBER11 );
 
-        ApReq apReq = new ApReq( apOptions, serviceTicket, encryptedAuthenticator );
+        ApReq apReq = new ApReq();
+        apReq.setOption( apOptions );
+        apReq.setTicket( serviceTicket );
+        apReq.setAuthenticator( encryptedAuthenticator );
 
         String newPassword = "secretsecret";
 



Mime
View raw message