You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2018/03/06 16:31:00 UTC

[jira] [Resolved] (ARTEMIS-1552) SASL GSSAPI IBM JDK - clients get authentication refused first time they connect to broker

     [ https://issues.apache.org/jira/browse/ARTEMIS-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully resolved ARTEMIS-1552.
---------------------------------
    Resolution: Fixed

> 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)