cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1346575 - in /cxf/trunk/distribution/src/main/release/samples/sts/src/main/java/demo/wssec: client/ClientCallbackHandler.java sts/STSCallbackHandler.java
Date Tue, 05 Jun 2012 20:35:34 GMT
Author: dkulp
Date: Tue Jun  5 20:35:34 2012
New Revision: 1346575

URL: http://svn.apache.org/viewvc?rev=1346575&view=rev
Log:
Fix some checkstyle issues

Modified:
    cxf/trunk/distribution/src/main/release/samples/sts/src/main/java/demo/wssec/client/ClientCallbackHandler.java
    cxf/trunk/distribution/src/main/release/samples/sts/src/main/java/demo/wssec/sts/STSCallbackHandler.java

Modified: cxf/trunk/distribution/src/main/release/samples/sts/src/main/java/demo/wssec/client/ClientCallbackHandler.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/sts/src/main/java/demo/wssec/client/ClientCallbackHandler.java?rev=1346575&r1=1346574&r2=1346575&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/sts/src/main/java/demo/wssec/client/ClientCallbackHandler.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/sts/src/main/java/demo/wssec/client/ClientCallbackHandler.java
Tue Jun  5 20:35:34 2012
@@ -31,8 +31,8 @@ public class ClientCallbackHandler imple
         for (int i = 0; i < callbacks.length; i++) {
             if (callbacks[i] instanceof WSPasswordCallback) {
                 WSPasswordCallback pc = (WSPasswordCallback) callbacks[i];
-                if (pc.getUsage() == WSPasswordCallback.DECRYPT || 
-                    pc.getUsage() == WSPasswordCallback.SIGNATURE) {
+                if (pc.getUsage() == WSPasswordCallback.DECRYPT 
+                    || pc.getUsage() == WSPasswordCallback.SIGNATURE) {
                     if ("myclientkey".equals(pc.getIdentifier())) {
                         pc.setPassword("ckpass");
                     }

Modified: cxf/trunk/distribution/src/main/release/samples/sts/src/main/java/demo/wssec/sts/STSCallbackHandler.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/sts/src/main/java/demo/wssec/sts/STSCallbackHandler.java?rev=1346575&r1=1346574&r2=1346575&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/sts/src/main/java/demo/wssec/sts/STSCallbackHandler.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/sts/src/main/java/demo/wssec/sts/STSCallbackHandler.java
Tue Jun  5 20:35:34 2012
@@ -31,8 +31,8 @@ public class STSCallbackHandler implemen
         for (int i = 0; i < callbacks.length; i++) {
             if (callbacks[i] instanceof WSPasswordCallback) {
                 WSPasswordCallback pc = (WSPasswordCallback) callbacks[i];
-                if (pc.getUsage() == WSPasswordCallback.DECRYPT || 
-                    pc.getUsage() == WSPasswordCallback.SIGNATURE) {
+                if (pc.getUsage() == WSPasswordCallback.DECRYPT 
+                    || pc.getUsage() == WSPasswordCallback.SIGNATURE) {
                     if ("mystskey".equals(pc.getIdentifier())) {
                         pc.setPassword("stskpass");
                     }



Mime
View raw message