Hi Simon,
Currently Apache Rampart doesn't support alternative security
policies for an endpoint. Current workaround is having two separate
EPRs with the alternative policies. Would that suit your scenario ? If
not you can try to convince the Rampart community to support
alternative security policies starting a thread in the Rampart dev
list.
thanks,
/nandana
On Tue, Mar 4, 2008 at 10:58 PM, Glenn Dougherty
<[EMAIL PROTECTED]> wrote:
> Nandana, et al,
>
> We are looking for a combined ws-policy example that supports both Username
> Token and SAML assertions. Meaning, we need to provide a service that
> supports the caller passing either a username token or a SAML assertion.
> Does anyone have an example that shows these two options within in one
> ws-policy file? We have not been successful in configuring the Axis2 1.3
> stack for this effort.
>
> Regards,
> Glenn
>
>
> -----Original Message-----
> From: Nandana Mihindukulasooriya [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 21, 2008 3:27 AM
> To: [email protected]
> Subject: Re: Example policy file needed
>
> Hi Simon,
> Please take a look at samples come with the Apache Rampart
> distribution. They contain policies that defines
> Sample 01 - Username Token authentication
> Sample 05 - SAML token
>
> thanks,
> nandana
>
> [1] -
> https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/ramp
> art-samples/policy/sample01/
> [2] -
> https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/ramp
> art-samples/policy/sample02/
>
>
> On Thu, Feb 21, 2008 at 12:36 AM, Simon Nunn <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> > I am trying to use ws-policy for my webservice. I would like for the
> > service to receive either a saml assertion or a username token for
> > authetication. I have been unsuccessful in getting a ws-policy configured
> > for this. Does anyone have an example of a policy file that does this?
> >
> >
> >
> > Thanks,
> >
> > Simon
> >
> >
>
>
>
> --
> Nandana Mihindukulasooriya
> Software Engineer
> WSO2 inc.
>
> http://nandana83.blogspot.com/
> http://nandanasm.wordpress.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
http://nandana83.blogspot.com/
http://nandanasm.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]