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

Predicate javaApiCallableUsernameParam

Holds if callable c from a standard Java API expects a username parameter at index i.

Import path

import semmle.code.java.security.SensitiveApi
predicate javaApiCallableUsernameParam(Callable c, int i)