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

Predicate isSslEnv

Holds if ma sets java.naming.security.protocol (also known as Context.SECURITY_PROTOCOL) to ssl in some Hashtable.

Import path

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