You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by Glen Daniels <gl...@thoughtcraft.com> on 2007/03/16 17:24:41 UTC
Re: [axis2] Re: AxisEngine.checkMustUnderstand enforcing actor/roles?
Michael, dims, all:
The first piece of this is done, FYI. Working on the second part this
weekend.
> That said, the checkMustUnderstand() code is definitely doing the wrong
> thing right now. The correct logic should be:
>
> for (each header that IS targeted to me) {
> if (!processed and mustUnderstand==true) {
> throw version-specific-MU-Fault
> }
> }
>
> The first cut of "is targeted to me" is something like "has no role, the
> 'next' role, or is the ultimate receiver role". The next version is to
> support a configurable list of role URIs.
This first cut version is exactly what the engine now does (see
AxisEngine). I'm going to add a way to configure roles for a) the
engine, b) services, and c) modules. The roles that are active for a
given MessageContext will be the union of all of those. We will always
default to supporting the ultimate receiver role, but I'll add config to
turn this off as well (i.e. for Synapse).
--Glen
---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org
Re: [axis2] Re: AxisEngine.checkMustUnderstand enforcing actor/roles?
Posted by Glen Daniels <gl...@thoughtcraft.com>.
Got busy with a couple of other things, getting back to this next.
Sorry for the delay!
--G
Michael Rheinheimer wrote:
> Thank you Glen for working on this. Is the work complete? What's the
> status?
>
> mike
>
> Mike Rheinheimer
> (512) 838-0086 t/l 678-0086
> WebSphere WebService Core Engine Team
>
>
>
>
> Glen Daniels
> <glen@thoughtcraf
> t.com> To
> Axis-Dev <ax...@ws.apache.org>,
> 03/16/2007 11:24 synapse-dev@ws.apache.org
> AM cc
>
> Subject
> Please respond to Re: [axis2] Re:
> axis-dev@ws.apach AxisEngine.checkMustUnderstand
> e.org enforcing actor/roles?
>
>
>
>
>
>
>
>
>
>
> Michael, dims, all:
>
> The first piece of this is done, FYI. Working on the second part this
> weekend.
>
>> That said, the checkMustUnderstand() code is definitely doing the wrong
>> thing right now. The correct logic should be:
>>
>> for (each header that IS targeted to me) {
>> if (!processed and mustUnderstand==true) {
>> throw version-specific-MU-Fault
>> }
>> }
>>
>> The first cut of "is targeted to me" is something like "has no role, the
>> 'next' role, or is the ultimate receiver role". The next version is to
>> support a configurable list of role URIs.
>
> This first cut version is exactly what the engine now does (see
> AxisEngine). I'm going to add a way to configure roles for a) the
> engine, b) services, and c) modules. The roles that are active for a
> given MessageContext will be the union of all of those. We will always
> default to supporting the ultimate receiver role, but I'll add config to
> turn this off as well (i.e. for Synapse).
>
> --Glen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org
Re: [axis2] Re: AxisEngine.checkMustUnderstand enforcing actor/roles?
Posted by Glen Daniels <gl...@thoughtcraft.com>.
Got busy with a couple of other things, getting back to this next.
Sorry for the delay!
--G
Michael Rheinheimer wrote:
> Thank you Glen for working on this. Is the work complete? What's the
> status?
>
> mike
>
> Mike Rheinheimer
> (512) 838-0086 t/l 678-0086
> WebSphere WebService Core Engine Team
>
>
>
>
> Glen Daniels
> <glen@thoughtcraf
> t.com> To
> Axis-Dev <ax...@ws.apache.org>,
> 03/16/2007 11:24 synapse-dev@ws.apache.org
> AM cc
>
> Subject
> Please respond to Re: [axis2] Re:
> axis-dev@ws.apach AxisEngine.checkMustUnderstand
> e.org enforcing actor/roles?
>
>
>
>
>
>
>
>
>
>
> Michael, dims, all:
>
> The first piece of this is done, FYI. Working on the second part this
> weekend.
>
>> That said, the checkMustUnderstand() code is definitely doing the wrong
>> thing right now. The correct logic should be:
>>
>> for (each header that IS targeted to me) {
>> if (!processed and mustUnderstand==true) {
>> throw version-specific-MU-Fault
>> }
>> }
>>
>> The first cut of "is targeted to me" is something like "has no role, the
>> 'next' role, or is the ultimate receiver role". The next version is to
>> support a configurable list of role URIs.
>
> This first cut version is exactly what the engine now does (see
> AxisEngine). I'm going to add a way to configure roles for a) the
> engine, b) services, and c) modules. The roles that are active for a
> given MessageContext will be the union of all of those. We will always
> default to supporting the ultimate receiver role, but I'll add config to
> turn this off as well (i.e. for Synapse).
>
> --Glen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: [axis2] Re: AxisEngine.checkMustUnderstand enforcing actor/roles?
Posted by Michael Rheinheimer <ro...@us.ibm.com>.
Thank you Glen for working on this. Is the work complete? What's the
status?
mike
Mike Rheinheimer
(512) 838-0086 t/l 678-0086
WebSphere WebService Core Engine Team
Glen Daniels
<glen@thoughtcraf
t.com> To
Axis-Dev <ax...@ws.apache.org>,
03/16/2007 11:24 synapse-dev@ws.apache.org
AM cc
Subject
Please respond to Re: [axis2] Re:
axis-dev@ws.apach AxisEngine.checkMustUnderstand
e.org enforcing actor/roles?
Michael, dims, all:
The first piece of this is done, FYI. Working on the second part this
weekend.
> That said, the checkMustUnderstand() code is definitely doing the wrong
> thing right now. The correct logic should be:
>
> for (each header that IS targeted to me) {
> if (!processed and mustUnderstand==true) {
> throw version-specific-MU-Fault
> }
> }
>
> The first cut of "is targeted to me" is something like "has no role, the
> 'next' role, or is the ultimate receiver role". The next version is to
> support a configurable list of role URIs.
This first cut version is exactly what the engine now does (see
AxisEngine). I'm going to add a way to configure roles for a) the
engine, b) services, and c) modules. The roles that are active for a
given MessageContext will be the union of all of those. We will always
default to supporting the ultimate receiver role, but I'll add config to
turn this off as well (i.e. for Synapse).
--Glen
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org