Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
180 views

I'm writing an OpenSearch plugin in Java, using the provided template. Except communication with OpenSearch Dashboards which works fine, I need to implement communication with external service. ...
Some_ Person's user avatar
1 vote
0 answers
134 views

i'm developing a Java class in and IBM Lotus Domino app, it uses the okhttp3 library : import java.io.*; import okhttp3.*; public class Uploader { public String Poster(String FileName, String ...
Lea Giardili's user avatar
0 votes
0 answers
111 views

I am trying to deploy GeoServer 2.21.4 in JBoss EAP 7.4.9 with Java 11. The GeoServer application fails to deploy when Java Security Manager is turned on. I have been using the same Geoserver/JBoss ...
tungpham's user avatar
2 votes
1 answer
1k views

As referring to the "Creating and Installing a Security Manager" for oracle's tutorial: https://docs.oracle.com/javase/tutorial/rmi/implementing.html It mentioned whenever we need to ...
Tel lui's user avatar
  • 109
0 votes
1 answer
262 views

I have an app that uses RMI and works when I have the security policy set to // // Allow everything for now // permission java.security.AllPermission; But, when I try to lock it down with the policy ...
SRJ's user avatar
  • 349
0 votes
1 answer
296 views

I have some tests that need to check if the main code did a System.exit(...). This works very nicely with suggestions from https://stackoverflow.com/a/309427/1023341. But when running these tests in ...
gkephorus's user avatar
  • 1,416
5 votes
0 answers
473 views

I'm using RMI to invoke a method that is specified to return an object of class ClassX. ClassX xObj = remoteObject.meth(...); If the remote method actually returns an instance of a locally unknown ...
Any1's user avatar
  • 51
0 votes
1 answer
165 views

I am trying to create a custom authentication. When I I made a simple identityStore that validate every user as guest with rols AF_ADMIN and AF_USER. CustomAuthenticationMechanism is called when login ...
Joe's user avatar
  • 7,939
1 vote
0 answers
160 views

In Java I can raise privileges by calling java.security.AccessController.doPrivileged(). How can I raise privileges in kotlin coroutines? Example: When I call the program import java.security....
splint's user avatar
  • 11
5 votes
1 answer
9k views

I try to append security properties to java.security. Hence I add a property "java.security.properties" specifying the file to be appended. I checked that security.overridePropertiesFile is ...
Lao Tse's user avatar
  • 191
1 vote
1 answer
241 views

Switching from version 1.11.700 to 1.11.908 of AWS SDK one of our libraries is now unable to work in a protected environment. More specifically the new SDK version has changed ClientConfiguration so ...
Simone Avogadro's user avatar
5 votes
1 answer
3k views

I'm running a java (openjdk:11.0.8) application using bouncycastle.jce.provider: group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.65' I noticed a memory leak and the dump shows that ...
user12396421's user avatar
4 votes
1 answer
370 views

I'm upgrading jdk 8 to 11. I load some class in checkPermission method then security manager emit recursive update exception. but use jdk1.8.0_202 everything works fine. What causes this problem? My ...
kospi's user avatar
  • 406
0 votes
0 answers
268 views

I want my SecurityManager to only block invoke for method and set for field reflection. getDeclaredMethods or similar should stay allowed. Is this possible? I want to block change of the security ...
Aura Lee's user avatar
  • 476
0 votes
1 answer
1k views

I have a simple java application ClientApp which has Java Security Manager enable. This application is trying to call method of Test jar which fetches "os.arch" System property. Since it is time ...
Pankaj007's user avatar
0 votes
1 answer
720 views

We added -Djava.security.manager parameter in java options of tomcat9 to enable security manager . Tomcat is running without any issue but when I try to perform some operation then it takes 9-10 min ...
rahul sharma's user avatar
1 vote
1 answer
1k views

I get an error when starting my spring-boot application. The exception occurs in combination with the `java secuirity manager´. Exception in thread "ContainerBackgroundProcessor[StandardEngine[Tomcat]...
pbrandstetter's user avatar
3 votes
0 answers
409 views

I'm trying to enforce a security policy, giving Java classes signed by a certain signer certain permissions. My security policy file looks as following: // ========== SYSTEM CODE PERMISSIONS =========...
D.O.'s user avatar
  • 237
1 vote
1 answer
2k views

I'm trying to embed Apache Derby into an application. When I run it directly from IntelliJ, everything works fine, but sbt run generates the exception: Caused by: java.security....
Ben McKenneby's user avatar
0 votes
1 answer
2k views

We running one spring-boot application, which will download some jars dynamically in /tmp folder and execute some functions in side those jars. Now we have enabled java.security.manager and gave ...
Karunakar Reddy L's user avatar
1 vote
1 answer
3k views

I need to download and run a Jar file. Is there a way to know what it can/will do? I mean what permissions it has? Specifically I need to know if it will try to access my files and if it will try to ...
Science Guy's user avatar
3 votes
1 answer
399 views

Is it possible to sandbox my Runnable within Java? Given a Runnable, I want the code inside of it (along with whatever threads it spawns) to run in a sandbox that only lets the code access a specific ...
offbynull's user avatar
  • 390
0 votes
1 answer
532 views

I am testing Java Security Manager in a simple java application. I write the properties "user.home", "user.info". I read the properties "user.home", "user.info". I set a policy file that ALLOWS ...
Tarek EZZAT's user avatar
1 vote
0 answers
377 views

I am running elastic search with non loop-back IP (production mode) on Windows. To run ES, I am forking it out (elasticsearch.bat) from a Java app using ProcessBuilder. However, it is giving me ...
NumeroUno's user avatar
  • 1,178
1 vote
1 answer
369 views

We are running on spring boot version 1.5.10 JDK : 1.8.0.52 Our gradle file has the entry compile group: 'org.springframework.security', name: 'spring-security-web', version: '4.2.3.RELEASE' We ...
jibsonline's user avatar