io.strimzi.kafka.oauth.server.authorizer.JwtKafkaPrincipalBuilder Maven / Gradle / Ivy
/*
* Copyright 2017-2019, Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.kafka.oauth.server.authorizer;
import io.strimzi.kafka.oauth.server.OAuthKafkaPrincipalBuilder;
/**
* This class needs to be enabled as the PrincipalBuilder on Kafka Broker.
*
* It ensures that the OAuthBearerToken produced by io.strimzi.kafka.oauth.server.JaasServerOauthValidatorCallbackHandler
* is available to KeycloakRBACAuthorizer.
*
*
* You can use 'principal.builder.class=io.strimzi.kafka.oauth.server.authorizer.JwtKafkaPrincipalBuilder'
* property definition in server.properties to install it.
*
*
* @deprecated Use io.strimzi.kafka.oauth.server.OAuthKafkaPrincipalBuilder class instead.
*/
@Deprecated
public class JwtKafkaPrincipalBuilder extends OAuthKafkaPrincipalBuilder {
}