cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Pell <ja...@pellcorp.com>
Subject Re: WS policy alternative selector based on a particular operation in a client
Date Fri, 10 Oct 2014 00:01:42 GMT
I can't upgrade to 3.x as yet. So I need to figure out a way to do this in
2.7.
On 10/10/2014 4:18 AM, "Daniel Kulp" <dkulp@apache.org> wrote:

>
> On Oct 9, 2014, at 5:41 AM, Jason Pell <jason@pellcorp.com> wrote:
>
> > For instance I want to force choosing username password token for one
> > method call and then a saml bearer token for all others.
> >
> > I don't have enough info in the assertor http conduit
>
> In the AlternativeSelector for CXF 3.0.x, we added the Message as a
> parameter.   Thus, you should be able to look at the operation being called
> and select different alternatives.   That param was added to specifically
> address this type of use case.  (as well as ability to look in the message
> to see if things like usernames/passwords are available and maybe select a
> different alternative if not).
>
>
>
> --
> Daniel Kulp
> dkulp@apache.org - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message