You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by vh...@apache.org on 2002/10/08 16:48:32 UTC

cvs commit: xml-batik/sources/org/apache/batik/apps/svgbrowser Main.java

vhardy      2002/10/08 07:48:32

  Modified:    sources/org/apache/batik/apps/svgbrowser Main.java
  Log:
  Early security failure would prevent Batik to initialize
  
  Revision  Changes    Path
  1.45      +2 -3      xml-batik/sources/org/apache/batik/apps/svgbrowser/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/apps/svgbrowser/Main.java,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- Main.java	25 Sep 2002 11:59:59 -0000	1.44
  +++ Main.java	8 Oct 2002 14:48:32 -0000	1.45
  @@ -306,8 +306,6 @@
                                                 SQUIGGLE_SECURITY_POLICY);
   
           try {
  -            Authenticator.setDefault(new JAuthenticator());
  -
               preferenceManager = new XMLPreferenceManager(SQUIGGLE_CONFIGURATION_FILE,
                                                            defaults);
               String dir = System.getProperty(PROPERTY_USER_HOME);
  @@ -317,6 +315,7 @@
               preferenceManager.load();
               setPreferences();
               initializeLastVisited();
  +            Authenticator.setDefault(new JAuthenticator());
           } catch (Exception e) {
               e.printStackTrace();
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org