You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2021/12/10 17:04:39 UTC

[GitHub] [logging-log4j2] peturthors edited a comment on pull request #608: Restrict LDAP access via JNDI

peturthors edited a comment on pull request #608:
URL: https://github.com/apache/logging-log4j2/pull/608#issuecomment-991139464


   > Can't find much info about it.
   
   grep-ing  through the source code for jdk-11.0.1 we get 
   `src/java.naming/com/sun/jndi/ldap/VersionHelper.java:        PrivilegedAction<String> act =  () -> System.getProperty("com.sun.jndi.ldap.object.trustURLCodebase", "false");`
   and
   `src/jdk.naming.rmi/com/sun/jndi/rmi/registry/RegistryContext.java:   PrivilegedAction<String> act = () -> System.getProperty( "com.sun.jndi.rmi.object.trustURLCodebase", "false");
   `
   So I'm guessing jdk-11.0.1 and later set these properties to false by default.
   _Edit: formatting_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org