[keycloak-user] Help - Remote EJB Security Context

Stian Thorgersen sthorger at redhat.com
Fri Aug 26 05:10:36 EDT 2016


I'd try the WildFly forum for JEE related issues

On 22 August 2016 at 19:35, Christian Hebert <christian_hebert at hotmail.com>
wrote:

> Hello everyone!
>
> We have a few applications protected by keycloak deployed on two jboss
> servers (EAP 7). I'm trying to access an EJB from an application deployed
> on server A to an application deployed on server B.
>
> Following the basic example that comes with JBoss I've been able to do it
> by simply using the ApplicationRealm.  My problem is that i have no
> identity on the remote server and I need to propagate the identity (and
> security context) from server A to server B.
>
>  I can't figure the way to configure my EJBReceiver to use another realm.
>
> I keep receiving the following error :
>
> java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver
> available for handling [appName:RemoteApp, moduleName:RemoteAppEJB,
> distinctName:] combination for invocation context org.jboss.ejb.client.
> EJBClientInvocationContext at 717cef09
> at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(
> EJBClientContext.java:798)
> at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(
> ReceiverInterceptor.java:128)
> at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(
> EJBClientInvocationContext.java:186)
> at org.jboss.ejb.client.EJBInvocationHandler.
> sendRequestWithPossibleRetries(EJBInvocationHandler.java:255)
>
>
> Is there anybody who can help me with this?
>
> Thanks alot !
>
> Christian Hebert
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160826/305ceaad/attachment.html 


More information about the keycloak-user mailing list