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)