DomainLoadStoreParameter configuration example has syntax errors

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 8
    • Component/s: security-libs

      The example in the new java.security.KeyStore.DomainLoadStoreParameter has a syntax error. The keystore entries must each end in a ";" otherwise a parsing error will be thrown. The examples should be:

       domain app1 {
           keystore app1-truststore
               keystoreURI="file:///app1/etc/truststore.jks";

           keystore system-truststore
               keystoreURI="${java.home}/lib/security/cacerts";

           keystore app1-keystore
               keystoreType="PKCS12"
               keystoreURI="file:///app1/etc/keystore.p12";
       };

            Assignee:
            Vincent Ryan
            Reporter:
            Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: