Author: veithen
Date: Mon Mar  1 23:24:49 2010
New Revision: 917791

URL: http://svn.apache.org/viewvc?rev=917791&view=rev
Log:
Added some Javadoc.

Modified:
    
cxf/sandbox/veithen/cxf-spring-security/cxf-systests-spring-security/src/test/java/org/apache/cxf/systest/security/SpringHttpAuthJaxwsOnewayTest.java

Modified: 
cxf/sandbox/veithen/cxf-spring-security/cxf-systests-spring-security/src/test/java/org/apache/cxf/systest/security/SpringHttpAuthJaxwsOnewayTest.java
URL: 
http://svn.apache.org/viewvc/cxf/sandbox/veithen/cxf-spring-security/cxf-systests-spring-security/src/test/java/org/apache/cxf/systest/security/SpringHttpAuthJaxwsOnewayTest.java?rev=917791&r1=917790&r2=917791&view=diff
==============================================================================
--- 
cxf/sandbox/veithen/cxf-spring-security/cxf-systests-spring-security/src/test/java/org/apache/cxf/systest/security/SpringHttpAuthJaxwsOnewayTest.java
 (original)
+++ 
cxf/sandbox/veithen/cxf-spring-security/cxf-systests-spring-security/src/test/java/org/apache/cxf/systest/security/SpringHttpAuthJaxwsOnewayTest.java
 Mon Mar  1 23:24:49 2010
@@ -23,6 +23,20 @@
 import org.junit.BeforeClass;
 import org.junit.Test;
 
+/**
+ * Systest for HTTP Basic Auth with JAX-WS oneway operations. Scenario:
+ * <ul>
+ * <li>HTTP Basic authentication is configured using the Spring Security 
servlet
+ * filters.
+ * <li>A JAX-WS service with a {...@link javax.jws.Oneway} operation is exposed
+ * using <code>&lt;jaxws:server></code>.
+ * <li>No authorization is used, but the oneway operation attempts to access 
the
+ * {...@link org.springframework.security.context.SecurityContext}.
+ * </ul>
+ * The difficulty here is that the servlet filters will bind the authentication
+ * token to the server thread that receives the request but that CXF executes
+ * the oneway operation asynchronously on a different thread.
+ */
 public class SpringHttpAuthJaxwsOnewayTest extends 
AbstractClientServerTestBase {
     public static class SpringServer extends AbstractSpringServer {
         public SpringServer() {


Reply via email to