You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Sergey Beryozkin <sb...@gmail.com> on 2011/07/11 01:03:41 UTC

How to initialize OpenSamlEngine on the client side

HI

I'm seeing strange test failure on JDK 5.0 (6.0 is OK), to do with
OpenSaml engine failing to initialize on the client side [1], despite
the fact the execution goes via WSS4J AssertionWrapper constructor
which does call OpenSAMLUtil.initSamlEngine() the first thing.
I think it is a side-effect of many static factory method calls, but
I'm not sure how to trace it.
I don't see what special systest/ws-security/.../SamlTokenTest does in
this regard,  the same AssertionWrapper constructor is also being
called and there seem to be nothing in the execution chain suggesting
OpenSaml engine was already initialized...

Any advice on how to fix this issue ?
Cheers, Sergey

[1] https://builds.apache.org/job/CXF-Trunk-JDK15/org.apache.cxf.systests$cxf-systests-rs-security/lastCompletedBuild/console