Hi CXF Developer, I implemented a first version of the JEXL Claims Mapper [1] including a UnitTest to demonstrate the usage of this mapper. Feedback would be very welcome.
My next plan would be to provide some (custom namespace) util functions [2] like value mappings, value wrapper, value merger, etc. to simplify the usage within the JEXL scripts. I'm also planning to provide a feature backport down to 2.7.13. WDYT? Best regards Jan [1] https://github.com/apache/cxf/pull/18 [2] http://commons.apache.org/proper/commons-jexl/reference/syntax.html#Functions > -----Original Message----- > From: Colm O hEigeartaigh [mailto:[email protected]] > Sent: Freitag, 1. August 2014 18:13 > To: [email protected] > Subject: Re: JEXL Expressions for STS Claim Mappings > > Hi Jan, > > I don't see any problem with including this in CXF if you want to contribute > it > :-) > > Colm. > > > On Thu, Jul 31, 2014 at 11:20 AM, Jan Bernhardt <[email protected]> > wrote: > > > Hi CXF Developer, > > > > I'm currently investigating on using JEXL Expression language [1] for > > a generic STS claim mapper. In case of a federation the STS is able to > > perform identity or claim mappings based on the provided token. > > But for claim mappings there is only a ClaimMapping interface provided > > without any implementation. Therefore I would like to develop and > > contribute a JEXL Claims mapper implementing the ClaimMapper interface > > and thus it would be possible to define generic claim mappings via a > > configuration file at runtime. > > > > WDYT? > > Shall I create a JIRA issue for this and provide a first > > implementation for it? > > > > Best regards > > Jan > > > > [1] > > http://commons.apache.org/proper/commons- > jexl/reference/syntax.html > > > > > > -- > Colm O hEigeartaigh > > Talend Community Coder > http://coders.talend.com
