From phil.hunt at oracle.com Wed Apr 2 15:11:35 2008 From: phil.hunt at oracle.com (Phil Hunt) Date: Wed, 02 Apr 2008 15:11:35 -0700 Subject: [Igf-dev] WS-Policy implementation checked-in Message-ID: <39FD1E47-9D4B-41E1-B0C6-4465C7E8A39B@oracle.com> Just checked in an initial implementation of WS-Policy support for the Attribute Services API. So far I have only implemented one CARML assertion (the PurposeAssertion). I'll implement the rest once we have clarification on the expected final WS-Policy assertions/ contraints. Check the basic test case code to see how it is used. I'm not yet happy with the implementation. I figure we're gonna need some "helper" classes to make life much simpler for the typical developer. Note: the WS-Policy implementation uses Apache Neethi. Neethi has a dependency on STAX (an implementation of JSR173) from http://stax.codehaus.org/ . This library will remain a separate download for now. Phil Hunt Oracle From phil.hunt at oracle.com Wed Apr 2 20:30:05 2008 From: phil.hunt at oracle.com (Phil Hunt) Date: Wed, 02 Apr 2008 20:30:05 -0700 Subject: [Igf-dev] Sample carml with appIdPolicy from JUnit test... Message-ID: <718DDCA5-FE44-48CB-BB2E-103A56EC77DF@oracle.com> Attached is a sample carml file from the JUnit test. You'll notice there are now various WS-Policy forms included. In the DataDefs section is a policy entitled "SchemaTestPolicy". This policy is then referenced in connection with an attribute (userPassword) used in a find interaction. Also note that each interaction can have their own policy statements. Note that the only policy I have so far is a "PurposeAssertion" so I have just created multiple different purpose assertions to test multiple policies and data vs. transaction policy. Phil Hunt Oracle