/[classpath]/classpath/java/security/Security.java
ViewVC logotype

Diff of /classpath/java/security/Security.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.24 by mkoch, Tue Oct 7 14:05:59 2003 UTC revision 1.25 by mkoch, Tue Oct 7 14:14:57 2003 UTC
# Line 70  public final class Security extends Obje Line 70  public final class Security extends Obje
70      {      {
71        String base = System.getProperty ("gnu.classpath.home.url");        String base = System.getProperty ("gnu.classpath.home.url");
72        String vendor = System.getProperty ("gnu.classpath.vm.shortname");        String vendor = System.getProperty ("gnu.classpath.vm.shortname");
73                    
74        // Try VM specific security file        // Try VM specific security file
75        boolean loaded = loadProviders (base, vendor);        boolean loaded = loadProviders (base, vendor);
76                    
77        // Append classpath standard provider if possible        // Append classpath standard provider if possible
78        if (!loadProviders (base, "classpath")        if (!loadProviders (base, "classpath")
79            && !loaded            && !loaded
80            && providers.size() == 0)            && providers.size() == 0)
81          {          {
82          // No providers found            // No providers found and both security files failed to load properly.
         // and both security files failed to load properly.  
83            System.err.println            System.err.println
84              ("WARNING: could not properly read security provider files:");              ("WARNING: could not properly read security provider files:");
85            System.err.println            System.err.println
# Line 91  public final class Security extends Obje Line 90  public final class Security extends Obje
90              ("         Falling back to standard GNU security provider");              ("         Falling back to standard GNU security provider");
91            providers.addElement (new gnu.java.security.provider.Gnu());            providers.addElement (new gnu.java.security.provider.Gnu());
92          }          }
93      }    }
94    
95    // This class can't be instantiated.    // This class can't be instantiated.
96    private Security()    private Security()
# Line 476  public final class Security extends Obje Line 475  public final class Security extends Obje
475     *    provider that supplied a CertificateFactory implementation for X.509     *    provider that supplied a CertificateFactory implementation for X.509
476     *    certificates.</p></li>     *    certificates.</p></li>
477     *     *
478     *    <li><p>&lt;crypto_service>.&lt;algorithm_or_type>&lt;attribute_name>:&lt;attribute_value></p>     *    <li><p>&lt;crypto_service>.&lt;algorithm_or_type>&nbsp;&lt;attribute_name>:&lt;attribute_value></p>
479     *    <p>The cryptographic service name must not contain any dots. There must     *    <p>The cryptographic service name must not contain any dots. There must
480     *    be one or more space charaters between the the &lt;algorithm_or_type>     *    be one or more space charaters between the the &lt;algorithm_or_type>
481     *    and the &lt;attribute_name>.</p>     *    and the &lt;attribute_name>.</p>

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26