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

Ensure the test sasl-authentication-factory configured by EjbElytronDomainSetup has the JBOSS-LOCAL-USER and DIGEST-MD5 mechanisms configured

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.ER2
    • None
    • Test Suite
    • None

      Currently, EjbElytronDomainSetup incorrectly configures the BASIC mechanism causing the following exception for some tests that are run with -Delytron:

      javax.naming.CommunicationException: EJBCLIENT000062: Failed to look up "/sfsb//SFSBLifecycleCallback!org.jboss.as.test.integration.ejb.security.callerprincipal.IBeanLifecycleCallback?stateful" [Root exception is java.lang.IllegalStateException: EJBCLIENT000024: Not able to find EJB matching "StatelessEJBLocator for "/sfsb/SFSBLifecycleCallback", view is interface org.jboss.as.test.integration.ejb.security.callerprincipal.IBeanLifecycleCallback, affinity is None"]
      ...
      Caused by: java.lang.IllegalStateException: EJBCLIENT000024: Not able to find EJB matching "StatelessEJBLocator for "/sfsb/SFSBLifecycleCallback", view is interface org.jboss.as.test.integration.ejb.security.callerprincipal.IBeanLifecycleCallback, affinity is None"
          at org.jboss.ejb.client.EJBClientContext.discoverAffinityNone(EJBClientContext.java:771)
          at org.jboss.ejb.client.EJBClientContext.performLocatedAction(EJBClientContext.java:708)
          at org.jboss.ejb.client.EJBClientContext.createSession(EJBClientContext.java:685)
          at org.jboss.ejb.client.EJBClient.createSession(EJBClient.java:293)
          at org.jboss.ejb.client.EJBRootContext.lookupNative(EJBRootContext.java:154)
          ... 133 more
          Suppressed: javax.security.sasl.SaslException: Authentication failed: the server presented no authentication mechanisms
              at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:397)
              at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:246)
              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
              at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
              at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
              at org.xnio.nio.WorkerThread.run(WorkerThread.java:571)
              at ...asynchronous invocation...(Unknown Source)
              at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:545)
              at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:513)
              at org.jboss.remoting3.ConnectionInfo$None.getConnection(ConnectionInfo.java:83)
              at org.jboss.remoting3.ConnectionInfo.getConnection(ConnectionInfo.java:56)
              at org.jboss.remoting3.EndpointImpl.doGetConnection(EndpointImpl.java:464)
              at org.jboss.remoting3.EndpointImpl.getConnectedIdentity(EndpointImpl.java:410)
              at org.jboss.remoting3.UncloseableEndpoint.getConnectedIdentity(UncloseableEndpoint.java:55)
              at org.jboss.remoting3.Endpoint.getConnectedIdentity(Endpoint.java:126)
              at org.jboss.ejb.protocol.remote.RemotingEJBDiscoveryProvider$DiscoveryAttempt.lambda$connectAndDiscover$0(RemotingEJBDiscoveryProvider.java:176)
              at java.security.AccessController.doPrivileged(Native Method)
              at org.jboss.ejb.protocol.remote.RemotingEJBDiscoveryProvider$DiscoveryAttempt.connectAndDiscover(RemotingEJBDiscoveryProvider.java:176)
              at org.jboss.ejb.protocol.remote.RemotingEJBDiscoveryProvider.discover(RemotingEJBDiscoveryProvider.java:84)
              at org.wildfly.discovery.ConfiguredProvider.discover(ConfiguredProvider.java:45)
              at org.wildfly.discovery.Discovery.discover(Discovery.java:94)
              at org.jboss.ejb.client.EJBClientContext.discover(EJBClientContext.java:443)
              at org.jboss.ejb.client.EJBClientContext.discoverAffinityNone(EJBClientContext.java:766)
      

              fjuma1@redhat.com Farah Juma
              fjuma1@redhat.com Farah Juma
              Josef Cacek Josef Cacek (Inactive)
              Josef Cacek Josef Cacek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: