You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to WildFly
Hi everyone!
How do you solve the pre-authentication problem with EJBs? I have a Java client that needs some information from the server prior to the actual user login. I'd like to have a single stateless bean that I can call anonymously and receive the data from. All other beans should require an authenticated user.
I'm using WildFly 38 with the JDBC-Realm and can't figure out how to configure WildFly and/or the client. Either I have only anonymous login for all beans or the anonymous login won't work and I receive something like "Authentication failed: all available authentication mechanisms failed: ANONYMOUS: javax.security.sasl.SaslException: ANONYMOUS: Server rejected authentication" in the client.
I'm deploying an EAR-file containing a JAR. If needed I would be fine with a second JAR for the anonymous stuff.