cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liugang594 Liu <>
Subject Absolute path of ws-security.signature.crypto doesn't work on REST SAML Support
Date Fri, 02 Aug 2013 02:41:08 GMT
Hi All:

(CXF version: 2.7.7.SNAPSHOT)

We are tring to add SAML support on rest service, and the gave attribute
ws-security.signature.crypto value is an absolute file path.

After deployed this service, we always got an exception, which complains
"Caused by: General security
error (Cannot load the resource file:<filePath> )"

I traced the code,  in method
", String,
String)" , it always try to load the resource from classpath,
unfortunately, it's an absolute path and doesn't exist in current classpath.

At present, A way to make it work is providing a customized
ResourceResolver on ResourceManager of Bus.

I appreciate if there's any other way or configuration to make it work by

Thanks very much.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message