That specific permission I think it is trying to access a system property in
order to check for a default value for a Hint.
You should be able to avoid these by manually locking everything down; however
it would be nice if you let us know about these on a case by case basis; so we
can simply issue a warning to the log (and cary on) rather than out right fail.
Have a look at some of the docs about Hints here:
- http://docs.geotools.org/latest/userguide/library/internal/integration.html
And yeah; you may want to open a bug report and a supply a patch allowing the
scanForSystemHints to be turned off when working in this manner?
--
Jody Garnett
On Tuesday, 24 May 2011 at 1:46 AM, robert benjamin shimirwa wrote:
> hello everyone,
>
> i'm having trouble using the java.rmi.RMISecurityManager
>
> i'm developping an application that has all spatial data on the server side,
> and transfer a set of features to clients according to clients' queries.
> communication is done by the java rmi (which caused me may problems because
> geotools classes and interfaces don't implement Serializable .... thanks to
> jody Garnett he gave me some tricks and finally, i can send
> featurecollections).
>
> my question is that when i try to set a security manager, with some
> permissions, i have so many warnigs and exceptions about geotools.. like
>
>
> AccessControlException: access denied (java.util.PropertyPermission
> org.geotools.referencing.epsg-datasource read)
> java.security.AccessControlException: access denied
> (java.util.PropertyPermission org.geotools.referencing.epsg-datasource read)
> at
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
> at java.security.AccessController.checkPermission(AccessController.java:546)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
> at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
> at java.lang.System.getProperty(System.java:652)
> at org.geotools.factory.GeoTools.scanForSystemHints(GeoTools.java:357)
> ...
>
> i'd like to know what kind of permissions that geotools support.
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users