diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-05 11:13:14 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-05 11:13:14 +0000 |
commit | 772d956afa3a4ec971d3f8013d66117ef462bf6b (patch) | |
tree | 09f583eabc7dd8787a2582e9edeabde1626186ed /java/sca/modules/core-spi/src | |
parent | 6df72a7b3fce91961535e82ec5757ce59bf7d71c (diff) |
Use basic authentication as a motivating scenario for looking at policy plug points. Generic username/password processing is added as an interceptor. Specific axis configuration is performed by new logic specific to binding.ws which is invoked if the basic auth policy is present (we need to think about this mechanism). I added a binding-ws-axis2-policy module as a replacement for policy-security-ws but haven't moved over to it yet. I also added a message header map to Message but have only been experimenting to date.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@692411 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/core-spi/src')
-rw-r--r-- | java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java index 4c27c8b06f..a727693132 100644 --- a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java +++ b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java @@ -114,4 +114,11 @@ public interface Message { * @return */ Map<String, Object> getQoSContext(); + + /** + * Returns a map of objects that are contained in the message header + * + * @return + */ + Map<String, Object> getHeader(); } |