You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Brecht Yperman <Br...@invenso.com> on 2005/08/03 17:05:24 UTC

[WSS4J] Load crypto.properties from file system

Hi,

Is it possible to load the crypto.properties file (for
WSHandlerConstants.ENC_PROP_FILE) from the file system?
The search only goes through ClassLoader.getResource() and apparently
that doesn't find files on the filesystem?

Thanks,
Brecht


Re: [WSS4J] Load crypto.properties from file system

Posted by Guy Rixon <gt...@ast.cam.ac.uk>.
My crypto.properties is in the classes directory of my app, on the classpath.
WSS4J seems to be finding it OK.

On Wed, 3 Aug 2005, Brecht Yperman wrote:

> Hi,
>
> Is it possible to load the crypto.properties file (for
> WSHandlerConstants.ENC_PROP_FILE) from the file system?
> The search only goes through ClassLoader.getResource() and apparently
> that doesn't find files on the filesystem?
>
> Thanks,
> Brecht
>
>

Guy Rixon 				        gtr@ast.cam.ac.uk
Institute of Astronomy   	                Tel: +44-1223-337542
Madingley Road, Cambridge, UK, CB3 0HA		Fax: +44-1223-337523