EAP 7.1+ Identity Propagation does not work with Spring Security that uses HttpServletRequest.login()

Solution Verified - Updated -

Issue

  • EAP 7.1+ Identity Propagation does not work with Spring Security that uses HttpServletRequest.login()
11:31:42,336 ERROR [stderr] (default task-2) org.jboss.ejb.client.RequestSendFailedException: EJBCLIENT000409: No more destinations are available
11:31:42,336 ERROR [stderr] (default task-2)    at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:592)
...
11:31:42,348 ERROR [stderr] (default task-2)    Suppressed: org.jboss.ejb.client.RequestSendFailedException
11:31:42,348 ERROR [stderr] (default task-2)        at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.handleFailed(RemoteEJBReceiver.java:101)
11:31:42,348 ERROR [stderr] (default task-2)        at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.handleFailed(RemoteEJBReceiver.java:74)
11:31:42,349 ERROR [stderr] (default task-2)        at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:215)
11:31:42,349 ERROR [stderr] (default task-2)        at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
11:31:42,349 ERROR [stderr] (default task-2)        at org.jboss.remoting3.EndpointImpl$TrackingExecutor.lambda$execute$0(EndpointImpl.java:949)
11:31:42,349 ERROR [stderr] (default task-2)        ... 5 more
11:31:42,349 ERROR [stderr] (default task-2)    Caused by: javax.security.sasl.SaslException: Authentication failed: none of the mechanisms presented by the server (PLAIN) are supported
11:31:42,349 ERROR [stderr] (default task-2)        at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:444)
11:31:42,349 ERROR [stderr] (default task-2)        at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:242)
11:31:42,350 ERROR [stderr] (default task-2)        at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
...

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.2
    • 7.1
  • Spring Security

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content