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 Davanum Srinivas <di...@yahoo.com> on 2004/03/08 20:54:17 UTC
RE: FW: cvs commit: ws-fx/wss4j/src/org/apache/ws/security/util W SSec urityUtil.java
Please submit patches ("cvs diff -u") directly the mailing list.
thanks,
dims
PS: PLEASE send email to the list directly.
--- "Lee, Insoo" <In...@gs.com> wrote:
> ok, thanks -
> how could I participate in this project as a contributor?
> I would like to get involved... could you give me check-in access?
> Thanks
> Insoo
>
> -----Original Message-----
> From: Davanum Srinivas [mailto:dims@yahoo.com]
> Sent: Monday, March 08, 2004 2:51 PM
> To: Lee, Insoo
> Cc: fx-dev@ws.apache.org
> Subject: Re: FW: cvs commit: ws-fx/wss4j/src/org/apache/ws/security/util
> WSSec urityUtil.java
>
>
> You need to use org.apache.ws.security.components.crypto.BouncyCastle.java
> which is broken. You will have to implement methods in that class that are
> not yet implemented.
>
> -- dims
>
> PS: PLEASE send email to the list directly.
>
> --- "Lee, Insoo" <In...@gs.com> wrote:
> >
> > Dims,
> >
> > Thanks for making it JDK 1.3 compatible..
> > I'm still struggling though..
> > in org/apache/ws/security/components/crypto/Merlin.java, it is
> > importing
> >
> > import java.security.cert.CertPath;
> >
> > which is only available in JDK 1.4 and above...
> > Thanks very much.
> >
> > Insoo
> >
> > -----Original Message-----
> > From: Davanum Srinivas [mailto:dims@apache.org]
> > Sent: Sunday, March 07, 2004 7:06 AM
> > To: Werner Dittmann; dims@apache.org; ws-fx-cvs@apache.org
> > Subject: Re: cvs commit: ws-fx/wss4j/src/org/apache/ws/security/util
> > WSSecurityUtil.java
> >
> >
> > Werner,
> >
> > Unfortunately, some production App Servers are still stuck on JDK 1.3
> > and will take time to upgrade. We should at least let the code compile
> > in JDK1.3 and usable with the BouncyCastle crypto for a little while.
> > No need to make the tests run against it though.
> >
> > thanks,
> > dims
> >
> > --- Werner Dittmann <We...@t-online.de> wrote:
> > > All,
> > >
> > > is it really necessary to support JDK1.3 - it's outdated quite a
> > > long time, isnt it?
> > >
> > > Dims, what are the differneces in the Principal and X509 handling?
> > > Haven't checked it in every detail yet.
> > >
> > > Regards,
> > > Werner
> > >
> > > ----- Original Message -----
> > > From: <di...@apache.org>
> > > To: <ws...@apache.org>
> > > Sent: Saturday, March 06, 2004 12:53 PM
> > > Subject: cvs commit: ws-fx/wss4j/src/org/apache/ws/security/util
> > > WSSecurityUtil.java
> > >
> > >
> > > > dims 2004/03/06 03:53:11
> > > >
> > > > Modified: wss4j/src/org/apache/ws/axis/security
> WSDoAllSender.java
> > > > package.html
> > > > wss4j/src/org/apache/ws/axis/security/util
> AxisUtil.java
> > > > wss4j/src/org/apache/ws/security WSSecurityEngine.java
> > > > wss4j/src/org/apache/ws/security/components/crypto
> > > > BouncyCastle.java Merlin.java
> errors.properties
> > > > wss4j/src/org/apache/ws/security/util
> WSSecurityUtil.java
> > > > Log:
> > > > Re-enable support for JDK1.3
> > > >
> > > > Revision Changes Path
> > > > 1.4 +4 -3
> > > ws-fx/wss4j/src/org/apache/ws/axis/security/WSDoAllSender.java
> > > >
> > > > Index: WSDoAllSender.java
> > > > ===================================================================
> > > > RCS file:
> > > /home/cvs/ws-fx/wss4j/src/org/apache/ws/axis/security/WSDoAllSender.
> > > ja
> > > va,v
> > > > retrieving revision 1.3
> > > > retrieving revision 1.4
> > > > diff -u -r1.3 -r1.4
> > > > --- WSDoAllSender.java 3 Mar 2004 20:44:51 -0000 1.3
> > > > +++ WSDoAllSender.java 6 Mar 2004 11:53:11 -0000 1.4
> > > > @@ -36,6 +36,7 @@
> > > > import org.apache.ws.security.message.WSSAddUsernameToken;
> > > > import org.apache.ws.security.message.WSSignEnvelope;
> > > > import org.apache.ws.security.util.WSSecurityUtil;
> > > > +import org.apache.ws.security.util.StringUtil;
> > > > import org.apache.xml.security.utils.XMLUtils;
> > > > import org.w3c.dom.Document;
> > > >
> > > > @@ -432,7 +433,7 @@
> > > > (String) msgContext.getProperty(WSDoAllConstants.ADD_UT_ELEMENTS);
> > > > }
> > > > if (tmpS != null) {
> > > > - utElements = tmpS.split(" ");
> > > > + utElements = StringUtil.split(tmpS,' ');
> > > > }
> > > > }
> > > >
> > > > @@ -662,10 +663,10 @@
> > > > private void splitEncParts(String tmpS, Vector encryptParts)
> > > > throws AxisFault {
> > > > WSEncryptionPart encPart = null;
> > > > - String[] rawParts = tmpS.split(";");
> > > > + String[] rawParts = StringUtil.split(tmpS,';');
> > > >
> > > > for (int i = 0; i < rawParts.length; i++) {
> > > > - String[] partDef = rawParts[i].split("}");
> > > > + String[] partDef = StringUtil.split(rawParts[i],'}');
> > > >
> > > > if (partDef.length == 1) {
> > > > if (doDebug) {
> > > >
> > > >
> > > >
> > > > 1.2 +1 -1
> > > ws-fx/wss4j/src/org/apache/ws/axis/security/package.html
> > > >
> > > > Index: package.html
> > > > ===================================================================
> > > > RCS file:
> > > /home/cvs/ws-fx/wss4j/src/org/apache/ws/axis/security/package.html,v
> > > > retrieving revision 1.1
> > > > retrieving revision 1.2
> > > > diff -u -r1.1 -r1.2
> > > > --- package.html 13 Feb 2004 20:43:07 -0000 1.1
> > > > +++ package.html 6 Mar 2004 11:53:11 -0000 1.2
> > > > @@ -667,7 +667,7 @@
> > > > </pre>
> > > > The principal structure is either a
> > > > {@link org.apache.ws.security.WSUsernameTokenPrincipal
> > > > UsernameToken}
> > > principal
> > > > -or a {@link javax.security.auth.x500.X500Principal
> > > > X509Principal}.
> > The
> > > > +or a {@link java.security.Principal X509Principal}. The
> > > > princpals contain the names plus other information of the
> > > > verified
> > > username
> > > > token or signature certificate.
> > > >
> > > >
> > > >
> > > >
> > > > 1.2 +2 -1
> > > ws-fx/wss4j/src/org/apache/ws/axis/security/util/AxisUtil.java
> > > >
> > > > Index: AxisUtil.java
> > > > ===================================================================
> > > > RCS file:
> > > /home/cvs/ws-fx/wss4j/src/org/apache/ws/axis/security/util/AxisUtil.
> > > ja
> > > va,v
> > > > retrieving revision 1.1
> > > > retrieving revision 1.2
> > > > diff -u -r1.1 -r1.2
> > > > --- AxisUtil.java 13 Feb 2004 20:43:07 -0000 1.1
> > > > +++ AxisUtil.java 6 Mar 2004 11:53:11 -0000 1.2
> > > > @@ -20,6 +20,7 @@
> > > > import org.apache.axis.AxisFault;
> > > > import org.apache.ws.axis.security.WSDoAllConstants;
> > > > import org.apache.ws.security.WSConstants;
> > > > +import org.apache.ws.security.util.StringUtil;
> > > > import org.apache.xml.security.c14n.Canonicalizer;
> > > > import org.w3c.dom.Document;
> > > >
> > > > @@ -118,7 +119,7 @@
> > > > if (action == null) {
> > > > return doAction;
> > > > }
> > > > - String single[] = action.split(" ");
> > > > + String single[] = StringUtil.split(action,' ');
> > > > for (int i = 0; i < single.length; i++) {
> > > > if (single[i].equals(WSDoAllConstants.NO_SECURITY)) {
>
=== message truncated ===
=====
Davanum Srinivas - http://webservices.apache.org/~dims/