From: Sven G. <sgo...@ja...> - 2002-01-22 21:41:21
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 22 January 2002 11:28, pet...@ba... wrote: > Hi all, > > I'm currently trying to clamp down on my security permissions using a > policy file. The problem I've come across is that Gl4Java defaults back > to using a DummyGLDrawableFactory unless the following permissions > appear in the policy file: > > > permission java.lang.RuntimePermission > "accessClassInPackage.sun.awt"; > permission java.lang.RuntimePermission "accessDeclaredMembers"; > permission java.lang.reflect.ReflectPermission > "suppressAccessChecks"; > > > Don't get me wrong: I don't have any major qualms about having to add > these things to my policy file, I just thought I'd contribute the above > lines in case they were of use to someone else... Perhaps Sven would > like to add an entry in the FAQ for this one? > well, gl4java asks if it can use a privilegedAction, loading a special implementation (class). if gl4java is installed in the regular location, the jre/lib/ext (see the FAQ for details), the default policy file gives us all needed rights: - loading a native library - loading a java class looks like, you are using it on a different location ? therefore, of course, you need to grant proviliges by hand. > Hope someone finds it useful anyway... > ok, can be FAQ entry, thanxs > Cheers, > > Pete > cheers, sven - -- health & wealth mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440 ; fax : +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8TdlfHdOA30NoFAARAuFTAKDAKyCCLdtFFqBR1WlCi7kYBkt6JACfXC17 XJgcKDqgdaH2wt1vsb+oeuU= =EMLu -----END PGP SIGNATURE----- |