-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
All mechanism except for PLAIN throws SASLException in case of provided wrong password. PLAIN mechanism is not consistent with rest of mechanisms and returns IOException
See AbstractMgmtSaslTestBase.java (currently in https://github.com/wildfly/wildfly-core/pull/2481)
2017-06-15 08:09:20,180 TRACE [org.jboss.remoting.endpoint] (main) Completed open of endpoint "management-client" <127d7908> 2017-06-15 08:09:20,181 TRACE [org.jboss.remoting.endpoint] (main) Allocated tick to 1 of endpoint "management-client" <127d7908> (opened Connection provider for remote) 2017-06-15 08:09:20,181 TRACE [org.jboss.remoting.endpoint] (main) Adding connection provider registration named 'remote': Remoting remote connection provider 6622a690 for endpoint "management-client" <127d7908> 2017-06-15 08:09:20,181 TRACE [org.jboss.remoting.endpoint] (main) Allocated tick to 2 of endpoint "management-client" <127d7908> (opened Connection provider for remote+tls) 2017-06-15 08:09:20,181 TRACE [org.jboss.remoting.endpoint] (main) Adding connection provider registration named 'remote+tls': Remoting remote connection provider 412c995d for endpoint "management-client" <127d7908> 2017-06-15 08:09:20,181 TRACE [org.jboss.remoting.endpoint] (main) Allocated tick to 3 of endpoint "management-client" <127d7908> (opened Connection provider for remoting) 2017-06-15 08:09:20,181 TRACE [org.jboss.remoting.endpoint] (main) Adding connection provider registration named 'remoting': Remoting remote connection provider 2f4919b0 for endpoint "management-client" <127d7908> 2017-06-15 08:09:20,181 TRACE [org.jboss.remoting.endpoint] (main) Allocated tick to 4 of endpoint "management-client" <127d7908> (opened Connection provider for remote+http) 2017-06-15 08:09:20,182 TRACE [org.jboss.remoting.endpoint] (main) Adding connection provider registration named 'remote+http': Remoting remote connection provider 72be135f for endpoint "management-client" <127d7908> 2017-06-15 08:09:20,182 TRACE [org.jboss.remoting.endpoint] (main) Allocated tick to 5 of endpoint "management-client" <127d7908> (opened Connection provider for remote+https) 2017-06-15 08:09:20,182 TRACE [org.jboss.remoting.endpoint] (main) Adding connection provider registration named 'remote+https': Remoting remote connection provider 2e647e59 for endpoint "management-client" <127d7908> 2017-06-15 08:09:20,182 TRACE [org.jboss.remoting.endpoint] (main) Allocated tick to 6 of endpoint "management-client" <127d7908> (opened Connection provider for http-remoting) 2017-06-15 08:09:20,182 TRACE [org.jboss.remoting.endpoint] (main) Adding connection provider registration named 'http-remoting': Remoting remote connection provider deb3b60 for endpoint "management-client" <127d7908> 2017-06-15 08:09:20,182 TRACE [org.jboss.remoting.endpoint] (main) Allocated tick to 7 of endpoint "management-client" <127d7908> (opened Connection provider for https-remoting) 2017-06-15 08:09:20,182 TRACE [org.jboss.remoting.endpoint] (main) Adding connection provider registration named 'https-remoting': Remoting remote connection provider 73aff8f1 for endpoint "management-client" <127d7908> 2017-06-15 08:09:20,182 TRACE [org.wildfly.security] (main) getAuthenticationConfiguration uri=remote://127.0.0.1:10567, protocolDefaultPort=-1, abstractType=null, abstractTypeAuthority=null, MatchRule=[], AuthenticationConfiguration=[AuthenticationConfiguration:principal=guest,set-host=127.0.0.1,set-port=10567,credentials-present,providers-supplier=org.wildfly.test.integration.elytron.sasl.mgmt.ReproducerPlainClientClassTestCase$$Lambda$122/1247866422@4c060c8f,sasl-mechanism-selector=PLAIN,mechanism-properties={wildfly.sasl.local-user.quiet-auth=true}] 2017-06-15 08:09:20,182 TRACE [org.wildfly.security] (main) getAuthenticationConfiguration uri=remote://127.0.0.1:10567, protocolDefaultPort=-1, abstractType=null, abstractTypeAuthority=null, MatchRule=[], AuthenticationConfiguration=[AuthenticationConfiguration:principal=guest,set-host=127.0.0.1,set-port=10567,credentials-present,providers-supplier=org.wildfly.test.integration.elytron.sasl.mgmt.ReproducerPlainClientClassTestCase$$Lambda$122/1247866422@4c060c8f,sasl-mechanism-selector=PLAIN,mechanism-properties={wildfly.sasl.local-user.quiet-auth=true}] 2017-06-15 08:09:20,182 TRACE [org.jboss.remoting.endpoint] (main) Allocated tick to 8 of endpoint "management-client" <127d7908> (opened Connection to remote://127.0.0.1:10567) 2017-06-15 08:09:20,183 TRACE [org.jboss.remoting.remote] (main) Attempting to connect to "remote://127.0.0.1:10567" with options {org.xnio.Options.SSL_ENABLED=>true,org.xnio.Options.SSL_STARTTLS=>true} 2017-06-15 08:09:20,184 TRACE [org.jboss.remoting.endpoint] (XNIO-1 I/O-1) Allocated tick to 9 of endpoint "management-client" <127d7908> (opened org.jboss.remoting3.EndpointImpl$TrackingExecutor@69e70b3f) 2017-06-15 08:09:20,184 TRACE [org.jboss.remoting.endpoint] (XNIO-1 task-8) Resource closed count 00000008 of endpoint "management-client" <127d7908> (closed org.jboss.remoting3.EndpointImpl$TrackingExecutor@69e70b3f) 2017-06-15 08:09:20,184 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Initialized connection from /127.0.0.1:10567 to /127.0.0.1:34569 with options {org.xnio.Options.SSL_ENABLED=>true,org.xnio.Options.SSL_STARTTLS=>true} 2017-06-15 08:09:20,184 TRACE [org.jboss.remoting.remote] (XNIO-1 I/O-1) Setting read listener to org.jboss.remoting3.remote.ClientConnectionOpenListener$Greeting@17ae183b 2017-06-15 08:09:20,184 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) No buffers in queue for message header 2017-06-15 08:09:20,185 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Allocated fresh buffers 2017-06-15 08:09:20,185 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Received 28 bytes 2017-06-15 08:09:20,185 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Received message java.nio.HeapByteBuffer[pos=0 lim=24 cap=8192] 2017-06-15 08:09:20,185 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Received java.nio.HeapByteBuffer[pos=0 lim=24 cap=8192] 2017-06-15 08:09:20,185 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client received greeting 2017-06-15 08:09:20,185 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client received server name: localhost.localdomain 2017-06-15 08:09:20,185 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client sending capabilities request 2017-06-15 08:09:20,185 TRACE [org.jboss.remoting.remote] (XNIO-1 I/O-1) Setting read listener to org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities@4130691f 2017-06-15 08:09:20,185 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Sent 57 bytes 2017-06-15 08:09:20,185 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Flushed channel 2017-06-15 08:09:20,186 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) No buffers in queue for message header 2017-06-15 08:09:20,186 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Allocated fresh buffers 2017-06-15 08:09:20,186 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Received 67 bytes 2017-06-15 08:09:20,186 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Received message java.nio.HeapByteBuffer[pos=0 lim=63 cap=8192] 2017-06-15 08:09:20,186 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client received capabilities response 2017-06-15 08:09:20,186 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client received capability: version 1 2017-06-15 08:09:20,186 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client received capability: remote endpoint name "localhost:MANAGEMENT" 2017-06-15 08:09:20,186 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client received capability: SASL mechanism PLAIN 2017-06-15 08:09:20,186 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) SASL mechanism PLAIN added to allowed set 2017-06-15 08:09:20,186 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client received capability: message close protocol supported 2017-06-15 08:09:20,186 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client received capability: remote version is "5.0.0.Beta25" 2017-06-15 08:09:20,186 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client received capability: remote channels in is "40" 2017-06-15 08:09:20,186 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client received capability: remote channels out is "40" 2017-06-15 08:09:20,186 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client received capability: authentication service 2017-06-15 08:09:20,193 TRACE [org.wildfly.security] (XNIO-1 I/O-1) Created SaslClient for mechanism PLAIN, using Provider WildFlyElytron 2017-06-15 08:09:20,193 TRACE [org.wildfly.security] (XNIO-1 I/O-1) Created SaslClient [org.wildfly.security.sasl.util.LocalPrincipalSaslClientFactory$LocalPrincipalSaslClient@62d66074] for mechanisms [[PLAIN]] 2017-06-15 08:09:20,193 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client initiating authentication using mechanism PLAIN 2017-06-15 08:09:20,193 TRACE [org.jboss.remoting.endpoint] (XNIO-1 I/O-1) Allocated tick to 9 of endpoint "management-client" <127d7908> (opened org.jboss.remoting3.EndpointImpl$TrackingExecutor@231e0537) 2017-06-15 08:09:20,197 TRACE [org.jboss.remoting.remote] (XNIO-1 task-9) Setting read listener to org.jboss.remoting3.remote.ClientConnectionOpenListener$Authentication@44a838f0 2017-06-15 08:09:20,197 TRACE [org.jboss.remoting.endpoint] (XNIO-1 task-9) Resource closed count 00000008 of endpoint "management-client" <127d7908> (closed org.jboss.remoting3.EndpointImpl$TrackingExecutor@231e0537) 2017-06-15 08:09:20,197 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Sent 31 bytes 2017-06-15 08:09:20,197 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Flushed channel 2017-06-15 08:09:20,200 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) No buffers in queue for message header 2017-06-15 08:09:20,200 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Allocated fresh buffers 2017-06-15 08:09:20,200 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Received 5 bytes 2017-06-15 08:09:20,200 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Received message java.nio.HeapByteBuffer[pos=0 lim=1 cap=8192] 2017-06-15 08:09:20,200 DEBUG [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client received authentication rejected for mechanism PLAIN 2017-06-15 08:09:20,200 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client sending capabilities request 2017-06-15 08:09:20,200 TRACE [org.jboss.remoting.remote] (XNIO-1 I/O-1) Setting read listener to org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities@414f7169 2017-06-15 08:09:20,200 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) No buffers in queue for message header 2017-06-15 08:09:20,200 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Allocated fresh buffers 2017-06-15 08:09:20,200 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Received EOF 2017-06-15 08:09:20,200 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Connection error detail: java.io.IOException: JBREM000202: Abrupt close on Remoting connection 7e011c6e to /127.0.0.1:10567 of endpoint "management-client" <127d7908> at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:265) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:246) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.xnio.nio.WorkerThread.run(WorkerThread.java:571) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] 2017-06-15 08:09:20,201 DEBUG [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) JBREM000200: Remote connection failed: java.io.IOException: JBREM000202: Abrupt close on Remoting connection 7e011c6e to /127.0.0.1:10567 of endpoint "management-client" <127d7908> 2017-06-15 08:09:20,201 TRACE [org.jboss.remoting.endpoint] (XNIO-1 I/O-1) Registered exception result: java.io.IOException: JBREM000202: Abrupt close on Remoting connection 7e011c6e to /127.0.0.1:10567 of endpoint "management-client" <127d7908> at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:265) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:246) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.xnio.nio.WorkerThread.run(WorkerThread.java:571) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] 2017-06-15 08:09:20,201 TRACE [org.jboss.remoting.endpoint] (XNIO-1 I/O-1) Resource closed count 00000007 of endpoint "management-client" <127d7908> (closed a failed connection (2)) 2017-06-15 08:09:20,201 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Connection error detail: java.nio.channels.ClosedChannelException at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:270) [rt.jar:1.8.0_66] at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:494) [rt.jar:1.8.0_66] at org.xnio.nio.NioSocketConduit.write(NioSocketConduit.java:162) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.xnio.conduits.AbstractStreamSinkConduit.write(AbstractStreamSinkConduit.java:55) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.xnio.ssl.JsseSslStreamSinkConduit.write(JsseSslStreamSinkConduit.java:110) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.xnio.ssl.JsseSslStreamSinkConduit.write(JsseSslStreamSinkConduit.java:77) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.xnio.conduits.ConduitStreamSinkChannel.write(ConduitStreamSinkChannel.java:154) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.jboss.remoting3.remote.RemoteConnection$RemoteWriteListener.handleEvent(RemoteConnection.java:278) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.jboss.remoting3.remote.RemoteConnection$RemoteWriteListener.handleEvent(RemoteConnection.java:247) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.xnio.conduits.WriteReadyHandler$ChannelListenerHandler.writeReady(WriteReadyHandler.java:65) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:94) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] at org.xnio.nio.WorkerThread.run(WorkerThread.java:571) [wildfly-cli-3.0.0.Beta26-client.jar:3.0.0.Beta26] YYY2 java.io.IOException: java.net.ConnectException: WFLYPRT0053: Could not connect to remote://127.0.0.1:10567. The connection failed at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:149) at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:75) at org.wildfly.test.integration.elytron.sasl.mgmt.ReproducerPlainClientClassTestCase.lambda$testWrongCredentialsFailElytronOnly$48(ReproducerPlainClientClassTestCase.java:141) at org.wildfly.common.context.Contextual.run(Contextual.java:73) at org.wildfly.test.integration.elytron.sasl.mgmt.ReproducerPlainClientClassTestCase.testWrongCredentialsFailElytronOnly(ReproducerPlainClientClassTestCase.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:374) at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116) at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) at org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:53) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81) at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142) at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88) at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88) at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88) at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145) at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:367) at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:245) at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:426) at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54) at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:259) at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:319) at org.jboss.arquillian.container.test.impl.execution.ClientBeforeAfterLifecycleEventExecuter.execute(ClientBeforeAfterLifecycleEventExecuter.java:99) at org.jboss.arquillian.container.test.impl.execution.ClientBeforeAfterLifecycleEventExecuter.on(ClientBeforeAfterLifecycleEventExecuter.java:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81) at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142) at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createBeforeContext(ContainerEventController.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88) at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88) at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88) at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116) at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:312) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:204) at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:426) at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54) at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:218) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:166) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:108) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54) at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: java.net.ConnectException: WFLYPRT0053: Could not connect to remote://127.0.0.1:10567. The connection failed at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:126) at org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:259) at org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:70) at org.jboss.as.protocol.mgmt.ManagementClientChannelStrategy$Establishing.getChannel(ManagementClientChannelStrategy.java:162) at org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:146) at org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:60) at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:135) at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:110) at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:263) at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:168) at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:147) ... 141 more Caused by: java.io.IOException: JBREM000202: Abrupt close on Remoting connection 7e011c6e to /127.0.0.1:10567 of endpoint "management-client" <127d7908> at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:265) 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:509) at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:497) at org.jboss.as.protocol.ProtocolConnectionUtils.connect(ProtocolConnectionUtils.java:194) at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:118) ... 151 more XXX1 2017-06-15 08:09:20,213 TRACE [org.jboss.remoting.endpoint] (main) Completed open of endpoint "management-client" <f2c488> 2017-06-15 08:09:20,213 TRACE [org.jboss.remoting.endpoint] (main) Allocated tick to 1 of endpoint "management-client" <f2c488> (opened Connection provider for remote) 2017-06-15 08:09:20,214 TRACE [org.jboss.remoting.endpoint] (main) Adding connection provider registration named 'remote': Remoting remote connection provider 7bc9e6ab for endpoint "management-client" <f2c488> 2017-06-15 08:09:20,214 TRACE [org.jboss.remoting.endpoint] (main) Allocated tick to 2 of endpoint "management-client" <f2c488> (opened Connection provider for remote+tls) 2017-06-15 08:09:20,214 TRACE [org.jboss.remoting.endpoint] (main) Adding connection provider registration named 'remote+tls': Remoting remote connection provider 712ca57b for endpoint "management-client" <f2c488> 2017-06-15 08:09:20,214 TRACE [org.jboss.remoting.endpoint] (main) Allocated tick to 3 of endpoint "management-client" <f2c488> (opened Connection provider for remoting) 2017-06-15 08:09:20,214 TRACE [org.jboss.remoting.endpoint] (main) Adding connection provider registration named 'remoting': Remoting remote connection provider 51745f40 for endpoint "management-client" <f2c488> 2017-06-15 08:09:20,214 TRACE [org.jboss.remoting.endpoint] (main) Allocated tick to 4 of endpoint "management-client" <f2c488> (opened Connection provider for remote+http) 2017-06-15 08:09:20,225 TRACE [org.jboss.remoting.endpoint] (main) Adding connection provider registration named 'remote+http': Remoting remote connection provider 69e308c6 for endpoint "management-client" <f2c488> 2017-06-15 08:09:20,225 TRACE [org.jboss.remoting.endpoint] (main) Allocated tick to 5 of endpoint "management-client" <f2c488> (opened Connection provider for remote+https) 2017-06-15 08:09:20,225 TRACE [org.jboss.remoting.endpoint] (main) Adding connection provider registration named 'remote+https': Remoting remote connection provider 1c6e0a08 for endpoint "management-client" <f2c488> 2017-06-15 08:09:20,226 TRACE [org.jboss.remoting.endpoint] (main) Allocated tick to 6 of endpoint "management-client" <f2c488> (opened Connection provider for http-remoting) 2017-06-15 08:09:20,226 TRACE [org.jboss.remoting.endpoint] (main) Adding connection provider registration named 'http-remoting': Remoting remote connection provider 1623bbe5 for endpoint "management-client" <f2c488> 2017-06-15 08:09:20,227 TRACE [org.jboss.remoting.endpoint] (main) Allocated tick to 7 of endpoint "management-client" <f2c488> (opened Connection provider for https-remoting) 2017-06-15 08:09:20,227 TRACE [org.jboss.remoting.endpoint] (main) Adding connection provider registration named 'https-remoting': Remoting remote connection provider 3c2772d1 for endpoint "management-client" <f2c488> 2017-06-15 08:09:20,227 TRACE [org.wildfly.security] (main) getAuthenticationConfiguration uri=remote://127.0.0.1:10567, protocolDefaultPort=-1, abstractType=null, abstractTypeAuthority=null, MatchRule=[], AuthenticationConfiguration=[AuthenticationConfiguration:principal=guest,set-host=127.0.0.1,set-port=10567,credentials-present,providers-supplier=org.wildfly.test.integration.elytron.sasl.mgmt.ReproducerPlainClientClassTestCase$$Lambda$127/1392570698@89c65d5,sasl-mechanism-selector=PLAIN,mechanism-properties={wildfly.sasl.local-user.quiet-auth=true}] 2017-06-15 08:09:20,228 TRACE [org.wildfly.security] (main) getAuthenticationConfiguration uri=remote://127.0.0.1:10567, protocolDefaultPort=-1, abstractType=null, abstractTypeAuthority=null, MatchRule=[], AuthenticationConfiguration=[AuthenticationConfiguration:principal=guest,set-host=127.0.0.1,set-port=10567,credentials-present,providers-supplier=org.wildfly.test.integration.elytron.sasl.mgmt.ReproducerPlainClientClassTestCase$$Lambda$127/1392570698@89c65d5,sasl-mechanism-selector=PLAIN,mechanism-properties={wildfly.sasl.local-user.quiet-auth=true}] 2017-06-15 08:09:20,228 TRACE [org.jboss.remoting.endpoint] (main) Allocated tick to 8 of endpoint "management-client" <f2c488> (opened Connection to remote://127.0.0.1:10567) 2017-06-15 08:09:20,228 TRACE [org.jboss.remoting.remote] (main) Attempting to connect to "remote://127.0.0.1:10567" with options {org.xnio.Options.SSL_ENABLED=>true,org.xnio.Options.SSL_STARTTLS=>true} 2017-06-15 08:09:20,230 TRACE [org.jboss.remoting.endpoint] (XNIO-1 I/O-1) Allocated tick to 9 of endpoint "management-client" <f2c488> (opened org.jboss.remoting3.EndpointImpl$TrackingExecutor@2f85161a) 2017-06-15 08:09:20,230 TRACE [org.jboss.remoting.endpoint] (XNIO-1 task-10) Resource closed count 00000008 of endpoint "management-client" <f2c488> (closed org.jboss.remoting3.EndpointImpl$TrackingExecutor@2f85161a) 2017-06-15 08:09:20,230 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Initialized connection from /127.0.0.1:10567 to /127.0.0.1:36159 with options {org.xnio.Options.SSL_ENABLED=>true,org.xnio.Options.SSL_STARTTLS=>true} 2017-06-15 08:09:20,230 TRACE [org.jboss.remoting.remote] (XNIO-1 I/O-1) Setting read listener to org.jboss.remoting3.remote.ClientConnectionOpenListener$Greeting@7ce18960 2017-06-15 08:09:20,230 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) No buffers in queue for message header 2017-06-15 08:09:20,230 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Allocated fresh buffers 2017-06-15 08:09:20,230 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Received 28 bytes 2017-06-15 08:09:20,230 TRACE [org.jboss.remoting.remote.connection] (XNIO-1 I/O-1) Received message java.nio.HeapByteBuffer[pos=0 lim=24 cap=8192] 2017-06-15 08:09:20,230 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Received java.nio.HeapByteBuffer[pos=0 lim=24 cap=8192] 2017-06-15 08:09:20,230 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client received greeting 2017-06-15 08:09:20,230 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client received server name: localhost.localdomain 2017-06-15 08:09:20,230 TRACE [org.jboss.remoting.remote.client] (XNIO-1 I/O-1) Client sending capabilities request 2017-06-15 08:09:20,230 TRACE [org.jboss.remoting.remote] (XNIO-1 I/O-1) Setting read listener to org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities@461f6bac
- clones
-
JBEAP-11643 Return SASLException for PLAIN mechanism when wrong password is provided
- Closed
- is incorporated by
-
WFCORE-2991 Upgrade JBoss Remoting to 5.0.0.CR2
- Resolved