[java-opensaml COMMIT] in /trunk: opensaml-soap-api/src/main/java/org/opensaml/soap/messaging/context/InboundSOAPCont...

noreply at shibboleth.net noreply at shibboleth.net
Fri Jun 5 23:07:26 EDT 2015


Author: putmanb
Date: Fri Jun  5 23:07:25 2015
New Revision: 4294

URL: http://svn.shibboleth.net/view/java-opensaml?rev=4294&view=rev
Log:
Add message handler impls to consume and emit WS-Addressing Action and MessageID headers.

Added:
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/wsaddressing/messaging/
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/wsaddressing/messaging/context/
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/wsaddressing/messaging/context/WSAddressingContext.java   (with props)
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/wsaddressing/messaging/context/package-info.java   (with props)
    trunk/opensaml-soap-impl/src/main/java/org/opensaml/soap/wsaddressing/messaging/
    trunk/opensaml-soap-impl/src/main/java/org/opensaml/soap/wsaddressing/messaging/impl/
    trunk/opensaml-soap-impl/src/main/java/org/opensaml/soap/wsaddressing/messaging/impl/AddActionHandler.java   (with props)
    trunk/opensaml-soap-impl/src/main/java/org/opensaml/soap/wsaddressing/messaging/impl/AddMessageIDHandler.java   (with props)
    trunk/opensaml-soap-impl/src/main/java/org/opensaml/soap/wsaddressing/messaging/impl/ExtractMessageIDHandler.java   (with props)
    trunk/opensaml-soap-impl/src/main/java/org/opensaml/soap/wsaddressing/messaging/impl/ValidateActionHandler.java   (with props)
    trunk/opensaml-soap-impl/src/main/java/org/opensaml/soap/wsaddressing/messaging/impl/package-info.java   (with props)
    trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/SOAPMessagingBaseTestCase.java   (with props)
    trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/wsaddressing/messaging/
    trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/wsaddressing/messaging/impl/
    trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/wsaddressing/messaging/impl/AddActionHandlerTest.java   (with props)
    trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/wsaddressing/messaging/impl/AddMessageIDHandlerTest.java   (with props)
    trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/wsaddressing/messaging/impl/ExtractMessageIDHandlerTest.java   (with props)
    trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/wsaddressing/messaging/impl/ValidateActionHandlerTest.java   (with props)
Modified:
    trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/messaging/context/InboundSOAPContext.java

Modified: trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/messaging/context/InboundSOAPContext.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/messaging/context/InboundSOAPContext.java?rev=4294&r1=4293&r2=4294&view=diff
==============================================================================
--- trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/messaging/context/InboundSOAPContext.java	(original)
+++ trunk/opensaml-soap-api/src/main/java/org/opensaml/soap/messaging/context/InboundSOAPContext.java	Fri Jun  5 23:07:25 2015
@@ -36,7 +36,7 @@
     
     /** Flag indicating whether the node is the final destination for the current 
      * message processing context. Defaults to: true*/
-    private boolean finalDestination = true;
+    private boolean finalDestination;
     
     /** The set of headers that have been understood. */
     private LazySet<XMLObject> understoodHeaders;
@@ -46,10 +46,12 @@
         super();
         nodeActors = new LazySet<String>();
         understoodHeaders = new LazySet<XMLObject>();
+        finalDestination = true;
     }
     
     /** 
      * Get the (modifiable) set of actor URI's under which this SOAP node is operating.
+     * 
      * @return the set of node actor URI's
      * */
     @Nonnull public Set<String> getNodeActors() {
@@ -58,6 +60,7 @@
     
     /** 
      * Get the (modifiable) set of headers which have been understood.
+     * 
      * @return the set of node actor URI's
      * */
     @Nonnull public Set<XMLObject> getUnderstoodHeaders() {
@@ -67,6 +70,11 @@
     /**
      * Get the flag indicating whether the node is the final destination for the current 
      * message processing context.
+     * 
+     * <p>
+     * Defaults to: true.
+     * </p>
+     * 
      * @return true if is the final destination, false otherwise
      * 
      */
@@ -77,6 +85,11 @@
     /**
      * Set the flag indicating whether the node is the final destination for the current 
      * message processing context.
+     * 
+     * <p>
+     * Defaults to: true.
+     * </p>
+     * 
      * @param newValue the new flag value
      * 
      */



More information about the commits mailing list