axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas" <dava...@gmail.com>
Subject Re: [Axis2] Question about Rampart (AbstractCrypto)
Date Wed, 08 Nov 2006 14:12:02 GMT
Martin, Thomas,

Yes, we can change the behavior (not lookup/load the file in
AbstractCrypto). Patches are welcome.

thanks,
dims

On 11/7/06, Martin Gainty <mgainty@hotmail.com> wrote:
> 2 providers for keystore specific implementations one of which is merlin ..the other
BC
> http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/components/crypto/package-summary.html
> dims could provide info on defaulting with merlin over BC
> M-
>
> This e-mail communication and any attachments may contain confidential and privileged
information for the use of the
> designated recipients named above. If you are not the intended recipient, you are hereby
notified that you have received
> this communication in error and that any review, disclosure, dissemination, distribution
or copying of it or its
> contents
> ----- Original Message -----
> From: <thomas.roberts@abs.gov.au>
> To: <axis-user@ws.apache.org>
> Sent: Tuesday, November 07, 2006 7:32 PM
> Subject: [Axis2] Question about Rampart (AbstractCrypto)
>
>
> > Hello,
> >
> > My name is Thomas Roberts and I am looking into developing Java Web
> > Services with Security components using Axis 2 and Rampart.
> >
> > I noticed something strange when examining the code for the class
> > AbstractCrypto.
> >
> > The code can be found here:
> > http://svn.apache.org/repos/asf/webservices/wss4j/trunk/src/org/apache/ws/security/components/crypto/AbstractCrypto.java
> >
> >
> > In the constructor "public AbstractCrypto(Properties properties,
> > ClassLoader loader)" there is some code:
> >
> >        String location =
> > this.properties.getProperty("org.apache.ws.security.crypto.merlin.file");
> >
> >            InputStream is = null;
> >            java.net.URL url = Loader.getResource(loader, location);
> >            if(url != null) {
> >                  is =  url.openStream();
> >            } else {
> >                  is = new java.io.FileInputStream(location);
> >            }
> >
> > My querstion is why is the AbstractCrypto class looking up a property entry
> > for it's sub class 'Merlin'?
> >
> > Our project is hoping to use Certificates with Axis2, but provide them from
> > another source. To include this property entry and presumably also the Java
> > Key Store is redundant.
> >
> > Thomas.
> >
> >
> >
> > ------------------------------------------------------------------------------------------------
> > Free publications and statistics available on www.abs.gov.au
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message