jaas

Kafka Server - Could not find a 'KafkaServer' in JAAS

自古美人都是妖i 提交于 2020-06-28 06:25:25
问题 I have a standalone kafka broker that I'm trying to configure SASL for. Configurations are below. I'm trying to set up SASL_PLAIN authentication on the broker. My understanding is that with the listener.name... configuration in the server.properties, I shouldn't need the jaas file. But I've experimented with one to see if that might be a better approach. I have experimented with each of these commands, but both result in the same exception. sudo bin/kafka-server-start etc/kafka/server

Jolokia access with custom JAAS

我只是一个虾纸丫 提交于 2020-06-17 09:59:24
问题 In ActiveMQ Artemis when I use the requisite or required flag with my custom JAAS login module I am not able to login to the Artemis management console (Jolokia, port 8163 ). I have special business logic in the custom JAAS login module which authenticates mobile devices. But at the same time I want to have an admin user who can login to Artemis management console with some username/password or even without password. In order to have both custom and guest login module in Artemis login.config

Malformed PAC logon info on new KerberosToken

寵の児 提交于 2020-01-16 06:06:43
问题 I'm using the code here to get authentication information from a Kerberos token. In there I've configured the domainUsername and domainUserPassword and just ran it as specified in the readme.md. Then, from a browser that is in the AD domain, I connect to http://server:8080/spnego and I see on the opened page my username@domain. The page should also contain the SID of the AD groups to which my user belongs. Looking at the server logs, I see: org.jaaslounge.decoding.DecodingException: Malformed

JBOSS AS7 jax-rs jaas and annotations

做~自己de王妃 提交于 2020-01-16 00:46:35
问题 Hey I hope someone can help tried for last 2 days to figure out what I am doing wrong. I want a programmatic login to a JAX-RS api and to use @RolesAlowed annotations on my endpoints. I login fine and can see the principal set in the login endpoint also I get a JSESSIONID. But when I call the /info/ping endpoint that is annotated with @RolesAllowed("USER") it throws UnauthenticatedException. If I remove the annotation then the req.getUserPrincipal() is null event though the cookie set. Any

JBOSS 7 with two contexts. One with SSL Mutual Auth and the other just SSL

匆匆过客 提交于 2020-01-12 09:14:25
问题 We are having a problem to configure our JBoss. We are tring to configure it to make it possible to use at the same time Mutual auth and to don't use it. Like: https://example.com/contextA/ (Requires SSL Mutual auth) https://example.com/contextB/ (Just SSL) Is it possible? What I could do is to make or all the JBoss use SSL mutual auth or don't. How can I configure it to be both at the same time? My contextA web.xml: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3

Can Kafka be provided with custom LoginModule to support LDAP?

跟風遠走 提交于 2020-01-10 04:12:06
问题 Kafka can be configured to use several authentication mechanisms: plaintext username/password, Kerberos or SSL. The first 2 use SASL, where there is a JAAS config file required. For the plain text auth method, the config looks like (taken from the documentation): KafkaServer { org.apache.kafka.common.security.plain.PlainLoginModule required username="admin" password="admin-secret" user_admin="admin-secret" user_alice="alice-secret"; }; I want to authenticate if possible using LDAP. My