jaas Questions

3

Solved

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 li...
Recruitment asked 8/1, 2019 at 21:40

2

Solved

I have a problem communicating with Kafka secured with sasl using console scripts. Kafka is secured with sasl, listener is SASL_PLAINTEXT and mechanism is PLAIN. What I did: I tried listing some d...
Ruffled asked 18/8, 2017 at 12:22

2

I am quite desperate, because I think there must be an easy solution to my problem but I am searching - to no avail. I am using a custom Realm in Glassfish 3.1.1. This custom realm (implements App...
Heavily asked 11/1, 2012 at 17:0

4

Solved

I'm developing a Java application that performs authentication with JAAS, should work as follows: (i) when the ticket for user uclient is already in local cache it should authenticate the user with...
Scalenus asked 2/8, 2017 at 14:27

3

Solved

Just a quick question regarding security frameworks in java. To date JAAS has always been my go to framework. Yes people complain that it is very difficult to setup and it requires hooks into your...
Amphimacer asked 4/1, 2016 at 17:2

0

Vanilla Krb5LoginModule is working, prompting for creds In my modest usage of JAAS -> JGSS -> Kerberos -> Windows thus far, I have set up a Krb5LoginModule When I do: Subject.doAs( new Lo...
Elayneelazaro asked 26/1, 2021 at 4:7

1

Solved

I want to point to a different krb.conf file, dynamically, without restarting the JVM. I have searched through different solution on Stackoverflow and tried to implement the solution accordingly. B...
Shutout asked 13/1, 2021 at 11:22

2

I have a system wherein .NET clients authenticate against a Java server with Kerberos. Everything works, but I'm trying to improve the server configuration. Currently a keytab file is required in t...
Adachi asked 6/6, 2013 at 13:32

0

I am referring to JAAS Login Configuration File. It talks about 2 ways to specify which login configuration file to be used: The first approach where we set the jaas.conf through VM arg java.secu...
Radicle asked 9/10, 2019 at 23:51

1

Solved

I want to create kafka consumer which is using security protocol SASL_SSL and sasl merchanism PLAIN. Can someone help me configure these details? I have read many documents on how to configure SAS...
Croaker asked 11/9, 2019 at 9:34

1

Solved

when i run the zookeeper from the package in the kakfa_2.12-2.3.0 i am getting the following error $ export KAFKA_OPTS="-Djava.security.auth.login.config=/kafka/kafka_2.12-2.3.0/config/zookeeper_...
Disruption asked 29/7, 2019 at 16:34

11

Solved

The value proposition of externalizing identity is starting to increase where many sites now accept OpenID, CardSpace or federated identity. However, many developers haven't yet taken the next step...
Parabolize asked 5/6, 2009 at 11:23

3

I am new to authentication and security area and I am trying to extend the authentication mechanism of my application, which currently provides traditional user name/password authentication, to pro...
Wuhan asked 18/2, 2016 at 12:12

2

I am trying to have setup SASL authentication for my zookeeper for Kafka. I followed all the steps mentioned in below link https://cwiki.apache.org/confluence/display/ZOOKEEPER/Client-Server+mutua...
Sakovich asked 1/8, 2017 at 15:5

1

Solved

I'm developing a server-side application that needs authentication and authorization based on objects. I like Shiro's simplicity, but for being compatible with JAAS, I wrote a LoginModule that uses...
Sixgun asked 20/4, 2011 at 20:13

1

Solved

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...
Barometrograph asked 14/11, 2017 at 21:28

4

Solved

I'm trying to understand how the JAAS principal propagates to the Business/EJB tier from web tier. I've read that the if the roles/realm is configured in login-config & security-context of web...
Argil asked 25/8, 2011 at 20:23

1

Solved

We have a Wildfly 10 JEE application and a java fat client that uses remote EJ calls to communicate with the server. Authentication is done using a custom login module in the wildfly server. Now ...
Module asked 16/5, 2017 at 14:56

3

Solved

I'm actually working on setting up simple Kafka authentication using SASL Plain Text and add ACL authorization. But I have an issue when I try to consume data. [main] INFO org.apache.kafka.common....
Derwent asked 22/10, 2016 at 20:23

2

Solved

We use JAAS in a heavily loaded web server. The configuration file is loaded from a file, System.setProperty("java.security.auth.login.config", "/config/jaas.config"); During profiling, we noti...
Bootleg asked 18/9, 2009 at 0:34

3

Solved

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/ (Requi...
Hako asked 3/5, 2013 at 2:44

1

Solved

I built a Java application, which runs a command via ssh. In the first attempt I authenticated via username and password, and everything worked fine. Now I want to use a Kerberos keytab file to ma...
Koah asked 20/1, 2017 at 12:18

1

Solved

When configuring authentication for kafka, the document mentioned that JVM parameters need to be added when starting kafka server. like: -Djava.security.auth.login.config=/etc/kafka/kafka_server_j...
Overleap asked 30/11, 2016 at 14:25

1

Solved

I have this security configuration in Glassfish domain.xml which works for 4.0 but fail in 4.1.1 can someone help to identify what is wrong. The only difference is the class package "ee" GF 4.0 (w...
Uveitis asked 18/11, 2016 at 22:11

3

Solved

On my way to migrate from JBoss 7 to WildFly, I encountered another problem. When calling an rest service which is protected by @RolesAllowed("ADMIN") I get the following error: 13:46:44,359 ERROR...
Susannahsusanne asked 18/2, 2014 at 12:54

© 2022 - 2024 — McMap. All rights reserved.