yahoo / CMAK

CMAK is a tool for managing Apache Kafka clusters
Apache License 2.0
11.74k stars 2.5k forks source link

Login page for authenication #343

Open bastianvs opened 7 years ago

bastianvs commented 7 years ago

Can we setup login authenication page for kafka manager, Currently eveyone can access kafka manager using the browser link ?

montana-ua commented 7 years ago

you can enable it into application.conf file.

$cat application.conf | grep Authentication basicAuthentication.enabled=false basicAuthentication.username="admin" basicAuthentication.password="password" basicAuthentication.realm="Kafka-Manager"

sanjeevtripurari commented 7 years ago

Is there support for encrypted password? or any other authentication methods supported?

montana-ua commented 7 years ago

As you can see only basic Auth.

brijesh27 commented 6 years ago

Hi,

I have added below config in application.conf

basicAuthentication.enabled=false basicAuthentication.username="admin" basicAuthentication.password="password" basicAuthentication.realm="Kafka-Manager"

but authentication didn't work. Any thing else need to change

Ashish123gs commented 6 years ago

Change - basicAuthentication.enabled=true

sm4rk0 commented 6 years ago

@bastianvs can this issue be closed?

brijesh27 commented 6 years ago

Hi Ashish,

I have tried "basicAuthentication.enabled=true" but it didn't work

Ashish123gs commented 6 years ago

do you pass the config file that has this new config ? try to restart the process .

anything in the logs ?

an authentication page will pop up that will ask for username and password ? check your browser settings

TattiQ commented 5 years ago

It looks like this config can be specified via env vars:

basicAuthentication.enabled=false basicAuthentication.enabled=${?KAFKA_MANAGER_AUTH_ENABLED} basicAuthentication.username="admin" basicAuthentication.username=${?KAFKA_MANAGER_USERNAME} basicAuthentication.password="password" basicAuthentication.password=${?KAFKA_MANAGER_PASSWORD} basicAuthentication.realm="Kafka-Manager"

Would be awesome to be able to arrange log in via github accounts or google sso

adivardhan commented 4 years ago

Does it support multiple user logins (role based access) ? How is Kafka Manager storing the login information (if at all it is storing)?

EXTERNALCOREWORKS commented 3 years ago

Hi, Is this still supported ? Also Is there support for encrypted password? or any other authentication methods supported besides this one and LDAP ? TIA.

sxganapa commented 3 years ago

Does Kafka manager support multiple user logins and also I want to store the login info for audit trail purpose?

Riturajvats commented 2 years ago

It looks like this config can be specified via env vars:

basicAuthentication.enabled=false basicAuthentication.enabled=${?KAFKA_MANAGER_AUTH_ENABLED} basicAuthentication.username="admin" basicAuthentication.username=${?KAFKA_MANAGER_USERNAME} basicAuthentication.password="password" basicAuthentication.password=${?KAFKA_MANAGER_PASSWORD} basicAuthentication.realm="Kafka-Manager"

Would be awesome to be able to arrange log in via github accounts or google sso