Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-16152

[GSS](7.2.z) ELY-1464/ELY-1747 - identity propagation does not work when programmatic web authentication via HttpServletRequest.login() is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.2.1.CR1, 7.2.1.GA
    • 7.1.5.GA, 7.2.0.GA
    • Security
    • None

    Description

      Spring Security uses HttpServletRequest.login() to set the Principal.

      In general, programmatic web authentication via HttpServletRequest.login() works fine, but when Elytron Identity Propagation is configured, the Identity that gets set by HttpServletRequest.login() does not get propagated.

      It results in:

      org.jboss.ejb.client.RequestSendFailedException: EJBCLIENT000409: No more destinations are available
               at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:592)
               at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:528)
               at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocationResult(RemotingEJBClientInterceptor.java:56)
      ...
               Suppressed: org.jboss.ejb.client.RequestSendFailedException
                       at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.handleFailed(RemoteEJBReceiver.java:101)
      ...
               Caused by: javax.security.sasl.SaslException: Authentication failed: none of the mechanisms presented by the server (PLAIN) are supported
                       at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:444)
      ...
      

      Attachments

        1. server.log.gz
          17 kB
          Brad Maxwell

        Issue Links

          Activity

            People

              rhn-support-ivassile Ilia Vassilev
              rhn-support-bmaxwell Brad Maxwell
              Daniel Cihak Daniel Cihak
              Daniel Cihak Daniel Cihak
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: