summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing/itest/policy/interceptors/src/main/java/helloworld/HelloWorldService.java
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2011-06-21 16:08:48 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2011-06-21 16:08:48 +0000
commit2c9c36e7af90ef230f70ef9480435c70e98771ab (patch)
tree6ba4a3baf38596c97607b5194395fb36048714cd /sca-java-2.x/trunk/testing/itest/policy/interceptors/src/main/java/helloworld/HelloWorldService.java
parent74016a79997195f318749df00ed07933b4673c4a (diff)
Add a binding.ws specific policy set and capture the order in which the interceptors should be called so that this can be explicitly checked by the test. The test also looks at the result of the matchin process which is not correct at present because "appliesTo" processing is not performed for runtime resolved references.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1138071 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/testing/itest/policy/interceptors/src/main/java/helloworld/HelloWorldService.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/policy/interceptors/src/main/java/helloworld/HelloWorldService.java b/sca-java-2.x/trunk/testing/itest/policy/interceptors/src/main/java/helloworld/HelloWorldService.java
index 8c3284eb84..6040132f2c 100644
--- a/sca-java-2.x/trunk/testing/itest/policy/interceptors/src/main/java/helloworld/HelloWorldService.java
+++ b/sca-java-2.x/trunk/testing/itest/policy/interceptors/src/main/java/helloworld/HelloWorldService.java
@@ -32,8 +32,7 @@ public class HelloWorldService implements HelloWorld {
public String getGreetings(String name) {
Subject subject = requestContext.getSecuritySubject();
String response = "Hello " + name;
-
- System.out.println("At service: " + response);
+ StatusImpl.appendStatus("At service", response);
return response;
}
}