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

Predicate isBasicAuthEnv

Holds if ma sets java.naming.security.authentication (also known as Context.SECURITY_AUTHENTICATION) to simple in some Hashtable.

Import path

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