quarkiverse / quarkus-kerberos

Quarkus Kerberos extension
Apache License 2.0
4 stars 3 forks source link

Support setting the complete JAAS configuration in a property #8

Closed sberyozkin closed 2 years ago

sberyozkin commented 2 years ago

I've noticed it can be done for Kafka:

mp.messaging.connector.smallrye-kafka.sasl.jaas.config=com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true storeKey=true debug=true serviceName="kafka" keyTab="src/test/resources/client.keytab" principal="client/localhost@EXAMPLE.COM";

So we can support something similar with quarkus.kerberos.jaas-config

sberyozkin commented 2 years ago

That said, JAAS config is already auto-generated and the service principal name, key tab are already configurable which affect this generation, so I'll close this issue for now