What does the "Absolute path" look like? Are you using "file:///..."? You also have the option of loading the Merlin Object yourself + using WSHandlerConstants.SIG_PROP_REF_ID to refer to it.
Colm. On Wed, Aug 26, 2015 at 4:00 PM, Eduardo Perez <[email protected]> wrote: > Hi, > I 'm new with CXF and i 'm using it with WS-Security. > I could configure the security using the files for merlin inside my jar, > i did some test with success. > Now my requirements changed slightly, and i need to have the Merlin > configuration files outside my Jar. > I tried configure Merlin with paths outside my jar, but i had the > following error: > > CryptoFactory: Cannot Load properties > > this is the property that i am configuring in cxf (some lines) > > propertyOutMap.put (WSHanlderConstants.SIG_PROP_FILE,<Absoulte path>); > > final WSS4JOutInterceptor wssOut= new WSS4JOutInterceptor(propertyOutMap); > > endpoint.getOutInterceptors().add(wssOut); > > ¿how can i read the property file outside my Jar? > > Thanks in Advance, > Eduardo. > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
