/[pdpsoft]/branches/nl.nikhef.jgridstart-flyingsaucer/nl.nikhef.jgridstart/deployment/bcprov.policy
ViewVC logotype

Contents of /branches/nl.nikhef.jgridstart-flyingsaucer/nl.nikhef.jgridstart/deployment/bcprov.policy

Parent Directory Parent Directory | Revision Log Revision Log


Revision 773 - (show annotations) (download)
Thu Sep 10 09:27:21 2009 UTC (12 years, 2 months ago) by wvengen
File size: 1036 byte(s)
make unlimited strength keystore work with java web start as well, and document it
1 // To use BouncyCastle with Java Web Start it needs certain permissions.
2 // Either <all-permissions/> can be put in BouncyCastle's security, or this
3 // file can be referenced from property java.security.policy, which avoids
4 // a permission prompt for the BouncyCastle extension (in addition to the
5 // permission prompt for the application itself). Note that for the latter
6 // this file should be referenced with a full path which is not inside a jar
7 // but on the webserver.
8 grant {
9 // allow BouncyCastle to register itself
10 permission java.security.SecurityPermission "Security.insertProvider.BC";
11 permission java.security.SecurityPermission "putProviderProperty.BC";
12 // allow access to BouncyCastle properties
13 permission java.util.PropertyPermission "org.bouncycastle.*","read";
14 // allow access to JCE internals to bypass keysize restrictions
15 // as implemented by PKCS12KeyStoreUnlimited
16 permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
17 permission java.lang.RuntimePermission "accessDeclaredMembers";
18 };

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28