You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Dan Diephouse <da...@mulesource.com> on 2007/12/17 00:25:35 UTC

Policies at the Bus level?

I was trying to figure out how to apply a WS-Policy globally today to 
the CXF Bus, but I'm not sure I really understand how to do it or if its 
possible. The WSPolicyFeature just seems to apply policies to 
Client/Servers.  initialize(Bus) seems to be written with the mistaken 
assumption that it is being called to initialize the WSPolicyFeature. 
But thats simply not the case - its being called to initialize global 
Bus level policies which apply to *everything*.

I'm happy to go about fixing this, but I can't seem to deduce how to use 
the PolicyEngine to enable a global policy. Any ideas?

- Dan

-- 
Dan Diephouse
MuleSource
http://mulesource.com | http://netzooid.com/blog


Re: Service Groups [was Re: Policies at the Bus level?]

Posted by Fred Dushin <fr...@dushin.net>.
Boy, Dan, I didn't know you were such a CORBA advocate :)

-Fred

On Dec 17, 2007, at 2:22 PM, Dan Diephouse wrote:

> Along these lines, a good future feature would be service groups.


Re: Policies at the Bus level?

Posted by Sergey Beryozkin <se...@iona.com>.
Hi Dan

What does it mean, to apply policies to a bus ? Does it mean something like : apply policies to all the service endpoints
known to this bus or something else ?

Thanks, Sergey

----- Original Message ----- 
From: "Dan Diephouse" <da...@mulesource.com>
To: <cx...@incubator.apache.org>
Sent: Sunday, December 16, 2007 11:25 PM
Subject: Policies at the Bus level?


>I was trying to figure out how to apply a WS-Policy globally today to 
> the CXF Bus, but I'm not sure I really understand how to do it or if its 
> possible. The WSPolicyFeature just seems to apply policies to 
> Client/Servers.  initialize(Bus) seems to be written with the mistaken 
> assumption that it is being called to initialize the WSPolicyFeature. 
> But thats simply not the case - its being called to initialize global 
> Bus level policies which apply to *everything*.
> 
> I'm happy to go about fixing this, but I can't seem to deduce how to use 
> the PolicyEngine to enable a global policy. Any ideas?
> 
> - Dan
> 
> -- 
> Dan Diephouse
> MuleSource
> http://mulesource.com | http://netzooid.com/blog 

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland

Re: Policies at the Bus level?

Posted by Glen Mazza <gl...@verizon.net>.
The cxf.xml file is for bus configuration.  Maybe [1] can give you an
idea how this is done.

HTH,
Glen

[1]
http://cwiki.apache.org/CXF20DOC/wsrmconfiguration.html#WSRMConfiguration-UsingtheReliableMessagingFeature


Am Sonntag, den 16.12.2007, 18:25 -0500 schrieb Dan Diephouse:
> I was trying to figure out how to apply a WS-Policy globally today to 
> the CXF Bus, but I'm not sure I really understand how to do it or if its 
> possible. The WSPolicyFeature just seems to apply policies to 
> Client/Servers.  initialize(Bus) seems to be written with the mistaken 
> assumption that it is being called to initialize the WSPolicyFeature. 
> But thats simply not the case - its being called to initialize global 
> Bus level policies which apply to *everything*.
> 
> I'm happy to go about fixing this, but I can't seem to deduce how to use 
> the PolicyEngine to enable a global policy. Any ideas?
> 
> - Dan
>