Steps for KoP authentication and authorization Based on JWT.
Please reference to Pulsar Security Overview to understand the Pulsar authen and author. Currently KoP support Pulsar Token auth
Before start, preparing a KoP tar ball and a Pulsar tar ball(mainly use puslar-admin tools in this tar ball).
In KoP, we currently support SASL_PLAINTEXT
, in which a username/password pair needs provide.
We reused the Token provider in Pulsar to implement a KoP SASL authentication, the authorization still use Pulsar authorization.