cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1149215 - in /cxf/branches/2.4.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos: KerberosTokenTest.java server/KerberosTokenValidator.java
Date Thu, 21 Jul 2011 15:13:27 GMT
Author: coheigea
Date: Thu Jul 21 15:13:25 2011
New Revision: 1149215

URL: http://svn.apache.org/viewvc?rev=1149215&view=rev
Log:
Fixing checkstyle errors.

Modified:
    cxf/branches/2.4.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/KerberosTokenTest.java
    cxf/branches/2.4.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/server/KerberosTokenValidator.java

Modified: cxf/branches/2.4.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/KerberosTokenTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/KerberosTokenTest.java?rev=1149215&r1=1149214&r2=1149215&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/KerberosTokenTest.java
(original)
+++ cxf/branches/2.4.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/KerberosTokenTest.java
Thu Jul 21 15:13:25 2011
@@ -83,9 +83,9 @@ public class KerberosTokenTest extends A
         try {
             KerberosCallbackHandler handler = new KerberosCallbackHandler();
             handler.setValueType(WSConstants.WSS_GSS_KRB_V5_AP_REQ);
-                ((BindingProvider)kerberosPort).getRequestContext().put(
-                    "ws-security.bst-callback-handler", handler
-                );
+            ((BindingProvider)kerberosPort).getRequestContext().put(
+                "ws-security.bst-callback-handler", handler
+            );
             kerberosPort.doubleIt(BigInteger.valueOf(25));
             fail("Expected failure on an invocation with the wrong Kerberos Token");
         } catch (javax.xml.ws.soap.SOAPFaultException ex) {
@@ -129,9 +129,9 @@ public class KerberosTokenTest extends A
         try {
             KerberosCallbackHandler handler = new KerberosCallbackHandler();
             handler.setToken("123456566");
-                ((BindingProvider)kerberosPort).getRequestContext().put(
-                    "ws-security.bst-callback-handler", handler
-                );
+            ((BindingProvider)kerberosPort).getRequestContext().put(
+                "ws-security.bst-callback-handler", handler
+            );
             kerberosPort.doubleIt(BigInteger.valueOf(25));
             fail("Expected failure on an invocation with the wrong Kerberos Token");
         } catch (javax.xml.ws.soap.SOAPFaultException ex) {

Modified: cxf/branches/2.4.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/server/KerberosTokenValidator.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/server/KerberosTokenValidator.java?rev=1149215&r1=1149214&r2=1149215&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/server/KerberosTokenValidator.java
(original)
+++ cxf/branches/2.4.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/server/KerberosTokenValidator.java
Thu Jul 21 15:13:25 2011
@@ -20,7 +20,6 @@ package org.apache.cxf.systest.ws.kerber
 
 import java.security.Principal;
 import java.util.Arrays;
-import java.util.List;
 
 import org.apache.ws.security.CustomTokenPrincipal;
 import org.apache.ws.security.WSSecurityException;



Mime
View raw message