OpenSAML and CXF

Brent Putman putmanb at georgetown.edu
Fri Apr 29 15:00:48 EDT 2016



On 4/29/16 10:56 AM, Christofer Steingrefer wrote:
>
> But after CXF has validated a token, it seems that it's overwriting
> the config which i have initialized with 
> InitializationService.initialize()
>
> The code for encryption is like:

I don't see any problems with your code related to the problem you
described.


>
> Do you have any idea what i can do to use CXF and OpenSAML together? 
> ConfigurationService.get(EncryptionConfiguration.class) returns null
> when i call it after CXF has been started.

Yeah, I don't really know.  I'm not familiar with CXF.  I pulled down
the code and did some quick greps, but I don't even see that that are
calling our InitializationService or referencing the
ConfigurationService.  They do make use of OpenSAML classes.  They also
use wss4j, which I know also uses OpenSAML.  So maybe something in
wss4j or another dependency of theirs is monkeying with the OpenSAML
config. I'd suggest asking on the CXF and/or wss4j lists to see if
anyone there knows.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20160429/5ea9320a/attachment.html>


More information about the dev mailing list