All that example shows is the definition of an intent. -----Original Message----- From: Luciano Resende [mailto:[email protected]] Sent: Tuesday, March 03, 2009 8:36 AM To: [email protected] Subject: Re: Contents of Definitions.xml
It's in modules/policy-loggin [1] [1] https://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.x/modules/policy-logging/ On Tue, Mar 3, 2009 at 8:22 AM, Sacauskis, Mike <[email protected]> wrote: > Where do I find the policy logging module? > > -----Original Message----- > From: Luciano Resende [mailto:[email protected]] > Sent: Monday, March 02, 2009 5:20 PM > To: [email protected] > Subject: Re: Contents of Definitions.xml > > The policy support in Tuscany is very flexible, the policy-logging > module is a good example on how to create your own policies (e.g > providing intents, provide processors for the policySets, etc) > > On Mon, Mar 2, 2009 at 4:56 PM, Sacauskis, Mike <[email protected]> > wrote: >> I playing with the definitions.xml in the calculator-ws-secure-webapp >> sample. On of the policy sets is: >> >> <!-- WS Security POLICY SETS --> >> >> <sca:policySet name="calc:wsAuthenticationPolicy" >> >> provides="sca:authentication" >> >> appliesTo="sca:service/sca:binding.ws"> >> >> <tuscany:wsConfigParam> >> >> <parameter name="InflowSecurity"> >> >> <action> >> >> >> <items>UsernameToken</items> >> >> >> <passwordCallbackClass>calculator.security.ServerPWCBHandler</passwordCallbackClass> >> >> </action> >> >> </parameter> >> >> </tuscany:wsConfigParam> >> >> </sca:policySet> >> >> >> >> There is named element Tuscany:wsConfigParam and a parameter name >> InflowSecurity. I was wondering where do these come from , obviously there >> are others such as OutFlowSecurity. Is there a list of these somewhere? Can >> I define my own, so if I want to have a policy to do foobar I can set up a >> parameter named foobar? >> >> >> >> >> >> Mike Sacauskis >> >> > > > > -- > Luciano Resende > Apache Tuscany, Apache PhotArk > http://people.apache.org/~lresende > http://lresende.blogspot.com/ > -- Luciano Resende Apache Tuscany, Apache PhotArk http://people.apache.org/~lresende http://lresende.blogspot.com/
