cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1475849 - /cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/kerberos/KerberosUtils.java
Date Thu, 25 Apr 2013 16:46:41 GMT
Author: dkulp
Date: Thu Apr 25 16:46:41 2013
New Revision: 1475849

URL: http://svn.apache.org/r1475849
Log:
Don't use deprecated constructor

Modified:
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/kerberos/KerberosUtils.java

Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/kerberos/KerberosUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/kerberos/KerberosUtils.java?rev=1475849&r1=1475848&r2=1475849&view=diff
==============================================================================
--- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/kerberos/KerberosUtils.java
(original)
+++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/kerberos/KerberosUtils.java
Thu Apr 25 16:46:41 2013
@@ -19,7 +19,6 @@
 
 package org.apache.cxf.ws.security.kerberos;
 
-import org.apache.cxf.Bus;
 import org.apache.cxf.message.Message;
 import org.apache.cxf.ws.security.SecurityConstants;
 
@@ -36,7 +35,7 @@ public final class KerberosUtils {
         KerberosClient client = (KerberosClient)message
             .getContextualProperty(SecurityConstants.KERBEROS_CLIENT);
         if (client == null) {
-            client = new KerberosClient(message.getExchange().get(Bus.class));
+            client = new KerberosClient();
         }
         return client;
     }



Mime
View raw message