view test/sun/security/provider/KeyStore/domains.cfg @ 8854:e8daf5a83e42

8028377: test/sun/security/provider/KeyStore/DKSTest.sh attempts to write to ${test.src} Reviewed-by: alanb, weijun
author vinnie
date Tue, 19 Nov 2013 15:39:58 +0000
parents 11438befdd4c
children
line wrap: on
line source
// domain containing a single keystore
domain system {
    keystore truststore 
        keystoreType="JKS"
        keystoreURI="${java.home}/lib/security/cacerts";
};

// domain containing two JKS keystores
domain system_plus {
    keystore truststore 
        keystoreType="JKS"
        keystoreURI="${java.home}/lib/security/cacerts";
    keystore pw_keystore 
        keystoreType="JKS"
        keystoreURI="${test.src}/pw.jks";
};

// domain containing a mixture of keystores
domain keystores
    keystoreType="PKCS12" {
        keystore policy_keystore 
            keystoreType="JKS"
            keystoreURI="${test.src}/../PolicyFile/Alias.keystore";
        keystore pw_keystore 
            keystoreType="CaseExactJKS"
            keystoreURI="${test.src}/pw.jks";
        keystore eckeystore1
            keystoreURI="${test.src}/../../pkcs11/ec/pkcs12/sect193r1server-rsa1024ca.p12";
        keystore eckeystore2 
            keystoreURI="${test.src}/../../pkcs11/ec/pkcs12/secp256r1server-secp384r1ca.p12";
};

// domain containing a mixture of keystores
domain keystores_tmp
    keystoreType="PKCS12" {
        keystore policy_keystore 
            keystoreType="JKS"
            keystoreURI="${user.dir}/Alias.keystore_tmp";
        keystore pw_keystore 
            keystoreType="CaseExactJKS"
            keystoreURI="${user.dir}/pw.jks_tmp";
        keystore eckeystore1
            keystoreURI="${user.dir}/sect193r1server-rsa1024ca.p12_tmp";
        keystore eckeystore2 
            keystoreURI="${user.dir}/secp256r1server-secp384r1ca.p12_tmp";
};

// domain where passwords are supplied via environment variables
domain system_env 
    keystoreType="JKS"
    keystorePasswordEnv="KEYSTORE_PWD" {
        keystore env_keystore
            keystoreURI="${test.src}/pw.jks";
        keystore env_truststore
            keystoreURI="${java.home}/lib/security/cacerts"
            keystorePasswordEnv="TRUSTSTORE_PWD";
};

// empty domain
domain empty
    keystoreType="JKS"
    keystoreProviderName="SUN" {
        keystore empty
            keystoreURI="${user.dir}/empty.jks";
};