public interface GroupProvider extends Provider
Modifier and Type | Method and Description |
---|---|
Set<org.apache.kafka.common.security.auth.KafkaPrincipal> |
groups(org.apache.kafka.common.security.auth.KafkaPrincipal sessionPrincipal)
Returns the groups of the provided user principal.
|
boolean |
providerConfigured(Map<String,?> configs)
Returns true if minimal configs of this provider are included in the provided configs.
|
providerName, start, usesMetadataFromThisKafkaCluster
Set<org.apache.kafka.common.security.auth.KafkaPrincipal> groups(org.apache.kafka.common.security.auth.KafkaPrincipal sessionPrincipal)
sessionPrincipal
- User principal of the Session.