<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 4/29/16 10:56 AM, Christofer
Steingrefer wrote:<br>
</div>
<blockquote
cite="mid:CAGQKdpiBucJhz5mvaCCaEYSq-4SkBJE3eMWdM+UgKFgeMjSD9A@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<div>But after CXF has validated a token, it seems that it's
overwriting the config which i have initialized with </div>
<div>InitializationService.initialize()</div>
<div><br>
</div>
<div>The code for encryption is like:</div>
</div>
</blockquote>
<br>
I don't see any problems with your code related to the problem you
described.<br>
<br>
<br>
<blockquote
cite="mid:CAGQKdpiBucJhz5mvaCCaEYSq-4SkBJE3eMWdM+UgKFgeMjSD9A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>Do you have any idea what i can do to use CXF and OpenSAML
together? </div>
<div>
<div>ConfigurationService.get(EncryptionConfiguration.class)
returns null when i call it after CXF has been started.<br>
</div>
</div>
</div>
</blockquote>
<br>
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.<br>
</body>
</html>