CodeQL library for Java/Kotlin
codeql/java-all 0.11.0 (changelog, source)
Search

Predicate isProviderUrlSetter

Holds if ma writes the java.naming.provider.url (also known as Context.PROVIDER_URL) key of a Hashtable.

Import path

import semmle.code.java.security.InsecureLdapAuth
predicate isProviderUrlSetter(MethodCall ma)