-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make this work with a RemoteEJB on another server? #1
Comments
No, I did not try that. Feel free to send PR if you are able to have this path up and running (but ideally just with current way to be still supported and just add instructions how to support when client and server are on separate machine) |
Hi mposolda,
Thanks, |
I ended up using a "reusable" client connection configuration (ie: a known username/pwd) that is used to authenticate the remote EJB connection. However, every actual EJB call is authenticated/validated against a KC token, so the "shared" credentials are used only for setting up the remote EJB. Would have been tantamount to using an anonymous remote EJB connection. |
@benze could you please share your standalone.xml? |
I was looking at your sample for using the remote-ejb and I noticed that the client is using JBOSS-LOCAL-USER to establish its remoting connection.
If I add to the jboss-ejb-client.properties file:
the connection from the client to the server fails.
Have you been able to use KeyCloak tokens to call remote EJBs from a client running on a separate machine (or without the JBOSS-LOCAL-USER mechanism)?
Thanks,
Eric
The text was updated successfully, but these errors were encountered: