Where do I find the policy logging module? -----Original Message----- From: Luciano Resende [mailto:luckbr1...@gmail.com] Sent: Monday, March 02, 2009 5:20 PM To: user@tuscany.apache.org 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 <mike.sacaus...@gdit.com> 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/