[ https://issues.apache.org/jira/browse/ARTEMIS-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16332344#comment-16332344 ]
ASF GitHub Bot commented on ARTEMIS-1552: ----------------------------------------- GitHub user gtully opened a pull request: https://github.com/apache/activemq-artemis/pull/1794 [ARTEMIS-1552] differenciate empty frame from no frame such that a nu… …ll response is accepted when valid You can merge this pull request into a Git repository by running: $ git pull https://github.com/gtully/activemq-artemis ARTEMIS-1552 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq-artemis/pull/1794.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1794 ---- commit b6612c950562f764e620f916b5d0e7751e8caa1c Author: gtully <gary.tully@...> Date: 2018-01-19T14:19:54Z [ARTEMIS-1552] differenciate empty frame from no frame such that a null response is accepted when valid ---- > SASL GSSAPI IBM JDK - clients get authentication refused first time they > connect to broker > ------------------------------------------------------------------------------------------ > > Key: ARTEMIS-1552 > URL: https://issues.apache.org/jira/browse/ARTEMIS-1552 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: AMQP > Affects Versions: 2.4.0 > Reporter: Gary Tully > Assignee: Gary Tully > Priority: Major > Fix For: 2.5.0 > > > {code} > [JGSS_DBG_WRAP] Thread-18 > (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$5@d7b0af0d) > GSSContextImpl.unwrap buffer (len=0, offset=0): > [JGSS_DBG_WRAP] Thread-18 > (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$5@d7b0af0d) > > [JGSS_DBG_WRAP] Thread-18 > (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$5@d7b0af0d) > Krb5Context.unwrap: buffer (len=0, offset=0): > [JGSS_DBG_WRAP] Thread-18 > (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$5@d7b0af0d) > > [JGSS_DBG_UNMARSH] Thread-18 > (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$5@d7b0af0d) > AES256WrapToken.decode: buffer : > [JGSS_DBG_UNMARSH] Thread-18 > (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$5@d7b0af0d) > > 14:23:14.955 INFO > [org.apache.activemq.artemis.protocol.amqp.sasl.GSSAPIServerSASL] Error on > sasl input: java.security.PrivilegedActionException: > javax.security.sasl.SaslException: Final handshake step failed [Caused by > org.ietf.jgss.GSSException, major code: 11, minor code: 0 > major string: General failure, unspecified at GSSAPI level > minor string: Error while decoding token: > java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0]: > java.security.PrivilegedActionException: javax.security.sasl.SaslException: > Final handshake step failed [Caused by org.ietf.jgss.GSSException, major > code: 11, minor code: 0 > major string: General failure, unspecified at GSSAPI level > minor string: Error while decoding token: > java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0] > at > java.security.AccessController.doPrivileged(AccessController.java:692) > [vm.jar:1.8.0] > at javax.security.auth.Subject.doAs(Subject.java:569) [rt.jar:1.8.0] > at > org.apache.activemq.artemis.protocol.amqp.sasl.GSSAPIServerSASL.processSASL(GSSAPIServerSASL.java:77) > [] > at > org.apache.activemq.artemis.protocol.amqp.proton.handler.ProtonHandler.checkSASL(ProtonHandler.java:315) > [] > at > org.apache.activemq.artemis.protocol.amqp.proton.handler.ProtonHandler.flush(ProtonHandler.java:274) > [] > at > org.apache.activemq.artemis.protocol.amqp.proton.AMQPConnectionContext.flush(AMQPConnectionContext.java:178) > [] > at > org.apache.activemq.artemis.protocol.amqp.broker.ActiveMQProtonRemotingConnection.flush(ActiveMQProtonRemotingConnection.java:136) > [] > at > org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$FailureCheckAndFlushThread$1.run(RemotingServiceImpl.java:715) > [] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) > [] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) > [] > at > org.apache.activemq.artemis.utils.actors.ProcessorBase$ExecutorTask.run(ProcessorBase.java:53) > [] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) > [rt.jar:1.8.0] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > [rt.jar:1.8.0] > at java.lang.Thread.run(Thread.java:785) [vm.jar:2.6 (07-22-2017)]{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)