You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by vd...@apache.org on 2003/11/20 09:28:40 UTC

cvs commit: xml-security/src/org/apache/xml/security Init.java

vdkoogh     2003/11/20 00:28:40

  Modified:    src/org/apache/xml/security Init.java
  Log:
  Removed unused assignment and commented out keystore stuff, the real work was commented out already.
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.22      +6 -2      xml-security/src/org/apache/xml/security/Init.java
  
  Index: Init.java
  ===================================================================
  RCS file: /home/cvs/xml-security/src/org/apache/xml/security/Init.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- Init.java	28 Aug 2003 13:13:43 -0000	1.21
  +++ Init.java	20 Nov 2003 08:28:40 -0000	1.22
  @@ -269,7 +269,7 @@
                     boolean registerClass = true;
   
                     try {
  -                     Class c = Class.forName(JAVACLASS);
  +                     Class.forName(JAVACLASS);
                     } catch (ClassNotFoundException e) {
                        Object exArgs[] = { URI, JAVACLASS };
   
  @@ -574,6 +574,9 @@
                                          context);
   
               for (int i = 0; i < nl.getLength(); i++) {
  +               //EK: the registerStore method was already commented out.
  +               //unsure what needs to happen with it now.
  +               /*
                  Element e = (Element) nl.item(i);
                  String URI = e.getAttributeNS(null, "URI");
                  String keyStoreType = e.getAttributeNS(null, "Type");
  @@ -581,6 +584,7 @@
                                                            "DefaultKeyAlias");
                  String storePass = e.getAttributeNS(null, "StorePass");
                  String KeyPass = e.getAttributeNS(null, "KeyPass");
  +               */
   
                  // org.apache.xml.security.keys.keyStorage.KeyStorage.registerStore(URI, JAVACLASS, LOCATION, DEFAULTKEYOBJECT, CONTEXT);
               }