jdk/test/sun/security/pkcs11/Provider/Login.policy
author amjiang
Thu, 14 Apr 2016 09:45:37 +0800
changeset 37353 e8e684b89c81
parent 36511 9d0388c6b336
permissions -rw-r--r--
8153545: sun/security/pkcs11/Provider/Login.sh fails on Linux Reviewed-by: vinnie, weijun

grant {
    permission java.util.PropertyPermission "*", "read, write";
    permission java.lang.RuntimePermission "loadLibrary.*";
    permission java.lang.RuntimePermission "accessClassInPackage.apple.*";
    permission java.lang.RuntimePermission "accessClassInPackage.sun.*";
    permission java.lang.RuntimePermission "getProtectionDomain";
    permission java.lang.RuntimePermission "setSecurityManager";
    permission java.security.SecurityPermission "putProviderProperty.*";


    permission java.io.FilePermission "<<ALL FILES>>", "read";
    permission java.security.SecurityPermission "setProperty.auth.login.defaultCallbackHandler";
    permission java.security.SecurityPermission "authProvider.SunPKCS11-NSS";
};