public class AuthorizerUtils extends Object
Constructor and Description |
---|
AuthorizerUtils() |
Modifier and Type | Method and Description |
---|---|
static RequestContext |
kafkaRequestContext(org.apache.kafka.server.authorizer.AuthorizableRequestContext kafkaContext) |
static RequestContext |
newRequestContext(String source,
org.apache.kafka.common.security.auth.KafkaPrincipal principal,
String host) |
static RequestContext |
newRequestContext(String source,
org.apache.kafka.common.security.auth.KafkaPrincipal principal,
String host,
String requestId,
boolean isProxyModeLocal) |
public static RequestContext newRequestContext(String source, org.apache.kafka.common.security.auth.KafkaPrincipal principal, String host)
public static RequestContext newRequestContext(String source, org.apache.kafka.common.security.auth.KafkaPrincipal principal, String host, String requestId, boolean isProxyModeLocal)
public static RequestContext kafkaRequestContext(org.apache.kafka.server.authorizer.AuthorizableRequestContext kafkaContext)