cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [3/3] git commit: Minor stuff
Date Tue, 15 Apr 2014 13:07:27 GMT
Minor stuff


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/3a4118d6
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/3a4118d6
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/3a4118d6

Branch: refs/heads/master
Commit: 3a4118d6c4cc67e06b8d151aad7ee7cefccc3f3e
Parents: 210d24b
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Tue Apr 15 10:30:22 2014 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue Apr 15 14:05:27 2014 +0100

----------------------------------------------------------------------
 .../ws/security/wss4j/PolicyBasedWSS4JStaxInInterceptor.java | 2 +-
 .../apache/cxf/ws/security/wss4j/WSS4JStaxInInterceptor.java | 8 ++++----
 .../cxf/ws/security/wss4j/WSS4JStaxOutInterceptor.java       | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/3a4118d6/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/PolicyBasedWSS4JStaxInInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/PolicyBasedWSS4JStaxInInterceptor.java
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/PolicyBasedWSS4JStaxInInterceptor.java
index 1891ee2..f05081b 100644
--- a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/PolicyBasedWSS4JStaxInInterceptor.java
+++ b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/PolicyBasedWSS4JStaxInInterceptor.java
@@ -345,7 +345,7 @@ public class PolicyBasedWSS4JStaxInInterceptor extends WSS4JStaxInInterceptor
{
     protected List<SecurityEventListener> configureSecurityEventListeners(
         SoapMessage msg, WSSSecurityProperties securityProperties
     ) throws WSSPolicyException {
-        List<SecurityEventListener> securityEventListeners = new ArrayList<SecurityEventListener>(2);
+        final List<SecurityEventListener> securityEventListeners = new ArrayList<SecurityEventListener>(2);
         securityEventListeners.addAll(super.configureSecurityEventListeners(msg, securityProperties));
         
         Endpoint endoint = msg.getExchange().get(Endpoint.class);

http://git-wip-us.apache.org/repos/asf/cxf/blob/3a4118d6/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JStaxInInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JStaxInInterceptor.java
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JStaxInInterceptor.java
index 631f1e1..a560b72 100644
--- a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JStaxInInterceptor.java
+++ b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JStaxInInterceptor.java
@@ -119,7 +119,7 @@ public class WSS4JStaxInInterceptor extends AbstractWSS4JStaxInterceptor
{
                 secProps.setAttachmentCallbackHandler(new AttachmentCallbackHandler(soapMessage));
             }
             
-            TokenStoreCallbackHandler callbackHandler = 
+            final TokenStoreCallbackHandler callbackHandler = 
                 new TokenStoreCallbackHandler(
                     secProps.getCallbackHandler(), WSS4JUtils.getTokenStore(soapMessage)
                 );
@@ -128,10 +128,10 @@ public class WSS4JStaxInInterceptor extends AbstractWSS4JStaxInterceptor
{
             setTokenValidators(secProps, soapMessage);
             secProps.setMsgContext(soapMessage);
             
-            List<SecurityEventListener> securityEventListeners = 
+            final List<SecurityEventListener> securityEventListeners = 
                 configureSecurityEventListeners(soapMessage, secProps);
             
-            InboundWSSec inboundWSSec = 
+            final InboundWSSec inboundWSSec = 
                 WSSec.getInboundWSSec(secProps, MessageUtils.isRequestor(soapMessage));
             
             newXmlStreamReader = 
@@ -160,7 +160,7 @@ public class WSS4JStaxInInterceptor extends AbstractWSS4JStaxInterceptor
{
         SoapMessage msg, WSSSecurityProperties securityProperties
     ) throws WSSPolicyException {
         final List<SecurityEvent> incomingSecurityEventList = new LinkedList<SecurityEvent>();
-        SecurityEventListener securityEventListener = new SecurityEventListener() {
+        final SecurityEventListener securityEventListener = new SecurityEventListener() {
             @Override
             public void registerSecurityEvent(SecurityEvent securityEvent) throws WSSecurityException
{
                 incomingSecurityEventList.add(securityEvent);

http://git-wip-us.apache.org/repos/asf/cxf/blob/3a4118d6/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JStaxOutInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JStaxOutInterceptor.java
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JStaxOutInterceptor.java
index 2e42641..459a85f 100644
--- a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JStaxOutInterceptor.java
+++ b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JStaxOutInterceptor.java
@@ -195,7 +195,7 @@ public class WSS4JStaxOutInterceptor extends AbstractWSS4JStaxInterceptor
{
         final SoapMessage msg, WSSSecurityProperties securityProperties
     ) throws WSSPolicyException {
         final List<SecurityEvent> outgoingSecurityEventList = new LinkedList<SecurityEvent>();
-        SecurityEventListener securityEventListener = new SecurityEventListener() {
+        final SecurityEventListener securityEventListener = new SecurityEventListener() {
             @Override
             public void registerSecurityEvent(SecurityEvent securityEvent) throws XMLSecurityException
{
                 if (securityEvent.getSecurityEventType() == WSSecurityEventConstants.SamlToken


Mime
View raw message