-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate and Property Permissions
PostPosted: Thu Feb 12, 2015 1:02 pm 
Newbie

Joined: Thu Feb 12, 2015 12:43 pm
Posts: 1
I have deployed a Hibernate 4.1.15 based Web Application to a Tomcat 8 Server running under Security Manager. During Hibernate's configuration/environment setup there is usage of System.getProperties() in the Environment Class code.

This code line triggers a need for the Tomcat Permission:
permission java.util.PropertyPermission "*", "read,write";

The Internet Admins would prefer not to grant this permission in the environment. Is there a way around this?

I am using a named connection datasource defined on the Server. I do not have hibernate.properties, just a hibernate.cfg.xml with a few properties.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.