cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From janb <>
Subject Custom claim parser
Date Mon, 27 Feb 2012 16:00:44 GMT
Hi everyone,

currently there is now way to use a custom dialect in requested claims. Even supports only one
element (ClaimType).

What is missing is a ClaimParser Interface and the possibility to write
custom ClaimParser for a custom dialect. 
In a customer project I had the need to request a validation for a specific
claim value (active role of a consumer). Therefore I created a patch to CXF
to enable my STS to register certain ClaimHandler for different dialects. 

I provided my patch via Jira to CXF and hope that my work is helpful and can
be continued by CXF. 

This patch is just a starting point. I think there should be a more complex
redesign of the current claim handling implementation, because it currently
focuses on only one Use-Case. The following improvements should be done:

* The RequestClaim class should be replaced by a more flexible interface
supporting any kind of parsing and handling custom dialects.
* It should be possible to include/configure custom claimparser via spring
* A fully supporting implementation of dialect would be great

Best regards

View this message in context:
Sent from the cxf-dev mailing list archive at

View raw message