use of io.strimzi.api.kafka.model.KafkaAuthorizationCustomBuilder in project strimzi by strimzi.
the class EntityUserOperatorTest method testAclsAdminApiSupported.
@ParallelTest
public void testAclsAdminApiSupported() {
testAclsAdminApiSupported(new KafkaAuthorizationSimple());
testAclsAdminApiSupported(new KafkaAuthorizationOpa());
testAclsAdminApiSupported(new KafkaAuthorizationKeycloakBuilder().withDelegateToKafkaAcls(true).build());
testAclsAdminApiSupported(new KafkaAuthorizationKeycloakBuilder().withDelegateToKafkaAcls(false).build());
testAclsAdminApiSupported(new KafkaAuthorizationCustomBuilder().withSupportsAdminApi(true).build());
testAclsAdminApiSupported(new KafkaAuthorizationCustomBuilder().withSupportsAdminApi(false).build());
}
use of io.strimzi.api.kafka.model.KafkaAuthorizationCustomBuilder in project strimzi-kafka-operator by strimzi.
the class EntityUserOperatorTest method testAclsAdminApiSupported.
@ParallelTest
public void testAclsAdminApiSupported() {
testAclsAdminApiSupported(new KafkaAuthorizationSimple());
testAclsAdminApiSupported(new KafkaAuthorizationOpa());
testAclsAdminApiSupported(new KafkaAuthorizationKeycloakBuilder().withDelegateToKafkaAcls(true).build());
testAclsAdminApiSupported(new KafkaAuthorizationKeycloakBuilder().withDelegateToKafkaAcls(false).build());
testAclsAdminApiSupported(new KafkaAuthorizationCustomBuilder().withSupportsAdminApi(true).build());
testAclsAdminApiSupported(new KafkaAuthorizationCustomBuilder().withSupportsAdminApi(false).build());
}
Aggregations