[jboss-jira] [JBoss JIRA] (WFLY-8950) Ensure the test sasl-authentication-factory configured by EjbElytronDomainSetup has the JBOSS-LOCAL-USER and DIGEST-MD5 mechanisms configured

Farah Juma (JIRA) issues at jboss.org
Fri Jun 16 13:12:00 EDT 2017


     [ https://issues.jboss.org/browse/WFLY-8950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Farah Juma moved JBEAP-11626 to WFLY-8950:
------------------------------------------

        Project: WildFly  (was: JBoss Enterprise Application Platform)
            Key: WFLY-8950  (was: JBEAP-11626)
       Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
    Component/s: Test Suite
                     (was: Test Suite)


> Ensure the test sasl-authentication-factory configured by EjbElytronDomainSetup has the JBOSS-LOCAL-USER and DIGEST-MD5 mechanisms configured
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-8950
>                 URL: https://issues.jboss.org/browse/WFLY-8950
>             Project: WildFly
>          Issue Type: Bug
>          Components: Test Suite
>            Reporter: Farah Juma
>            Assignee: Farah Juma
>
> Currently, EjbElytronDomainSetup incorrectly configures the BASIC mechanism causing the following exception for some tests that are run with -Delytron:
> {code}
> 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)
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list