You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by "Dittmann, Werner" <we...@siemens.com> on 2005/12/05 16:04:37 UTC

Some first trials with WS commons Policy implementation

All,

as proposed by Sanka let's continue the discussion
and reports about WS-Commons/Policy on the WSS4J list. We'll
try to use Policy as starting point to enable WSS4J with
some WS-SecurityPolicy functions.

Well, lets start.

I did a small (in fact very small) example just to warm up
to Policy methods. See the attachement for the Java file.

The attachement msg.txt shows the result and the problems
I have with the result.

The input to the example was taken from the link to IBM's
interop site (see msg.txt), selected "policy2", cut/paste 
it into a small file. This site also shows the expected 
result if this Policy is normalized (merge and intersect 
don't work yet?)

Sanka, can you have a look into the result and the example
Java and give some advise? Did I miss something, e.g. scanning
the domain specific part (sec:) and using XOR / AND functions?

Regards,
Werner

Fwd: Some first trials with WS commons Policy implementation

Posted by Sanka Samaranayake <ss...@gmail.com>.
---------- Forwarded message ----------
From: Sanka Samaranayake <ss...@gmail.com>
Date: Dec 7, 2005 2:27 AM
Subject: Re: Some first trials with WS commons Policy implementation
To: Werner Dittmann <We...@t-online.de>


Hi Werner,

Please see the attachment and hope that'll help.

Please do feel free to ask any doubts you have and I am willing to
help you as needed.

Best,
Sanka

On 12/6/05, Werner Dittmann <We...@t-online.de> wrote:
> Sanka,
>
> while you have a look into the wsp:Optinal stuff, maybe you
> can give some hints/ideas how to access and evaluate the various
> assertions inside a policy once it was normalized? This would
> speed up my learning curve considerable :-) .
>
> Regards,
> Werner
>
>
> Davanum Srinivas wrote:
> > Nice!!!. Please feel free to cleanup/update policy code if needed.
> >
> > -- dims
> >
> > On 12/5/05, Dittmann, Werner <we...@siemens.com> wrote:
> >
> >>All,
> >>
> >>as proposed by Sanka let's continue the discussion
> >>and reports about WS-Commons/Policy on the WSS4J list. We'll
> >>try to use Policy as starting point to enable WSS4J with
> >>some WS-SecurityPolicy functions.
> >>
> >>Well, lets start.
> >>
> >>I did a small (in fact very small) example just to warm up
> >>to Policy methods. See the attachement for the Java file.
> >>
> >>The attachement msg.txt shows the result and the problems
> >>I have with the result.
> >>
> >>The input to the example was taken from the link to IBM's
> >>interop site (see msg.txt), selected "policy2", cut/paste
> >>it into a small file. This site also shows the expected
> >>result if this Policy is normalized (merge and intersect
> >>don't work yet?)
> >>
> >>Sanka, can you have a look into the result and the example
> >>Java and give some advise? Did I miss something, e.g. scanning
> >>the domain specific part (sec:) and using XOR / AND functions?
> >>
> >>Regards,
> >>Werner
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
> >>For additional commands, e-mail: wss4j-dev-help@ws.apache.org
> >>
> >>
> >>
> >
> >
> >
> > --
> > Davanum Srinivas : http://wso2.com/blogs/
> >
>
>

Fwd: Some first trials with WS commons Policy implementation

Posted by Sanka Samaranayake <ss...@gmail.com>.
---------- Forwarded message ----------
From: Sanka Samaranayake <ss...@gmail.com>
Date: Dec 7, 2005 2:27 AM
Subject: Re: Some first trials with WS commons Policy implementation
To: Werner Dittmann <We...@t-online.de>


Hi Werner,

Please see the attachment and hope that'll help.

Please do feel free to ask any doubts you have and I am willing to
help you as needed.

Best,
Sanka

On 12/6/05, Werner Dittmann <We...@t-online.de> wrote:
> Sanka,
>
> while you have a look into the wsp:Optinal stuff, maybe you
> can give some hints/ideas how to access and evaluate the various
> assertions inside a policy once it was normalized? This would
> speed up my learning curve considerable :-) .
>
> Regards,
> Werner
>
>
> Davanum Srinivas wrote:
> > Nice!!!. Please feel free to cleanup/update policy code if needed.
> >
> > -- dims
> >
> > On 12/5/05, Dittmann, Werner <we...@siemens.com> wrote:
> >
> >>All,
> >>
> >>as proposed by Sanka let's continue the discussion
> >>and reports about WS-Commons/Policy on the WSS4J list. We'll
> >>try to use Policy as starting point to enable WSS4J with
> >>some WS-SecurityPolicy functions.
> >>
> >>Well, lets start.
> >>
> >>I did a small (in fact very small) example just to warm up
> >>to Policy methods. See the attachement for the Java file.
> >>
> >>The attachement msg.txt shows the result and the problems
> >>I have with the result.
> >>
> >>The input to the example was taken from the link to IBM's
> >>interop site (see msg.txt), selected "policy2", cut/paste
> >>it into a small file. This site also shows the expected
> >>result if this Policy is normalized (merge and intersect
> >>don't work yet?)
> >>
> >>Sanka, can you have a look into the result and the example
> >>Java and give some advise? Did I miss something, e.g. scanning
> >>the domain specific part (sec:) and using XOR / AND functions?
> >>
> >>Regards,
> >>Werner
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
> >>For additional commands, e-mail: wss4j-dev-help@ws.apache.org
> >>
> >>
> >>
> >
> >
> >
> > --
> > Davanum Srinivas : http://wso2.com/blogs/
> >
>
>

Re: Some first trials with WS commons Policy implementation

Posted by Werner Dittmann <We...@t-online.de>.
Sanka,

while you have a look into the wsp:Optinal stuff, maybe you
can give some hints/ideas how to access and evaluate the various
assertions inside a policy once it was normalized? This would
speed up my learning curve considerable :-) .

Regards,
Werner


Davanum Srinivas wrote:
> Nice!!!. Please feel free to cleanup/update policy code if needed.
> 
> -- dims
> 
> On 12/5/05, Dittmann, Werner <we...@siemens.com> wrote:
> 
>>All,
>>
>>as proposed by Sanka let's continue the discussion
>>and reports about WS-Commons/Policy on the WSS4J list. We'll
>>try to use Policy as starting point to enable WSS4J with
>>some WS-SecurityPolicy functions.
>>
>>Well, lets start.
>>
>>I did a small (in fact very small) example just to warm up
>>to Policy methods. See the attachement for the Java file.
>>
>>The attachement msg.txt shows the result and the problems
>>I have with the result.
>>
>>The input to the example was taken from the link to IBM's
>>interop site (see msg.txt), selected "policy2", cut/paste
>>it into a small file. This site also shows the expected
>>result if this Policy is normalized (merge and intersect
>>don't work yet?)
>>
>>Sanka, can you have a look into the result and the example
>>Java and give some advise? Did I miss something, e.g. scanning
>>the domain specific part (sec:) and using XOR / AND functions?
>>
>>Regards,
>>Werner
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
>>For additional commands, e-mail: wss4j-dev-help@ws.apache.org
>>
>>
>>
> 
> 
> 
> --
> Davanum Srinivas : http://wso2.com/blogs/
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


Re: Some first trials with WS commons Policy implementation

Posted by Werner Dittmann <We...@t-online.de>.
Sanka,

while you have a look into the wsp:Optinal stuff, maybe you
can give some hints/ideas how to access and evaluate the various
assertions inside a policy once it was normalized? This would
speed up my learning curve considerable :-) .

Regards,
Werner


Davanum Srinivas wrote:
> Nice!!!. Please feel free to cleanup/update policy code if needed.
> 
> -- dims
> 
> On 12/5/05, Dittmann, Werner <we...@siemens.com> wrote:
> 
>>All,
>>
>>as proposed by Sanka let's continue the discussion
>>and reports about WS-Commons/Policy on the WSS4J list. We'll
>>try to use Policy as starting point to enable WSS4J with
>>some WS-SecurityPolicy functions.
>>
>>Well, lets start.
>>
>>I did a small (in fact very small) example just to warm up
>>to Policy methods. See the attachement for the Java file.
>>
>>The attachement msg.txt shows the result and the problems
>>I have with the result.
>>
>>The input to the example was taken from the link to IBM's
>>interop site (see msg.txt), selected "policy2", cut/paste
>>it into a small file. This site also shows the expected
>>result if this Policy is normalized (merge and intersect
>>don't work yet?)
>>
>>Sanka, can you have a look into the result and the example
>>Java and give some advise? Did I miss something, e.g. scanning
>>the domain specific part (sec:) and using XOR / AND functions?
>>
>>Regards,
>>Werner
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
>>For additional commands, e-mail: wss4j-dev-help@ws.apache.org
>>
>>
>>
> 
> 
> 
> --
> Davanum Srinivas : http://wso2.com/blogs/
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


Re: Some first trials with WS commons Policy implementation

Posted by Davanum Srinivas <da...@gmail.com>.
Nice!!!. Please feel free to cleanup/update policy code if needed.

-- dims

On 12/5/05, Dittmann, Werner <we...@siemens.com> wrote:
> All,
>
> as proposed by Sanka let's continue the discussion
> and reports about WS-Commons/Policy on the WSS4J list. We'll
> try to use Policy as starting point to enable WSS4J with
> some WS-SecurityPolicy functions.
>
> Well, lets start.
>
> I did a small (in fact very small) example just to warm up
> to Policy methods. See the attachement for the Java file.
>
> The attachement msg.txt shows the result and the problems
> I have with the result.
>
> The input to the example was taken from the link to IBM's
> interop site (see msg.txt), selected "policy2", cut/paste
> it into a small file. This site also shows the expected
> result if this Policy is normalized (merge and intersect
> don't work yet?)
>
> Sanka, can you have a look into the result and the example
> Java and give some advise? Did I miss something, e.g. scanning
> the domain specific part (sec:) and using XOR / AND functions?
>
> Regards,
> Werner
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: wss4j-dev-help@ws.apache.org
>
>
>


--
Davanum Srinivas : http://wso2.com/blogs/

---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


Re: Some first trials with WS commons Policy implementation

Posted by Davanum Srinivas <da...@gmail.com>.
Nice!!!. Please feel free to cleanup/update policy code if needed.

-- dims

On 12/5/05, Dittmann, Werner <we...@siemens.com> wrote:
> All,
>
> as proposed by Sanka let's continue the discussion
> and reports about WS-Commons/Policy on the WSS4J list. We'll
> try to use Policy as starting point to enable WSS4J with
> some WS-SecurityPolicy functions.
>
> Well, lets start.
>
> I did a small (in fact very small) example just to warm up
> to Policy methods. See the attachement for the Java file.
>
> The attachement msg.txt shows the result and the problems
> I have with the result.
>
> The input to the example was taken from the link to IBM's
> interop site (see msg.txt), selected "policy2", cut/paste
> it into a small file. This site also shows the expected
> result if this Policy is normalized (merge and intersect
> don't work yet?)
>
> Sanka, can you have a look into the result and the example
> Java and give some advise? Did I miss something, e.g. scanning
> the domain specific part (sec:) and using XOR / AND functions?
>
> Regards,
> Werner
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: wss4j-dev-help@ws.apache.org
>
>
>


--
Davanum Srinivas : http://wso2.com/blogs/

---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org