[ 
https://issues.apache.org/jira/browse/ARTEMIS-1758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16408461#comment-16408461
 ] 

ASF GitHub Bot commented on ARTEMIS-1758:
-----------------------------------------

Github user tabish121 commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1961
  
    When running in the IDE the new test works fine, however when I run the 
AMQP tests from the command line the new test produces an error as below which 
seems to indicate the test environment isn't getting configured correctly. 
    
    > Test
    
testConnection(org.apache.activemq.artemis.tests.integration.amqp.JMSSaslExternalTest)
  Time elapsed: 0.773 sec  <<< ERROR!
    javax.jms.JMSException: 
file:/home/timothy/.m2/repository/org/apache/activemq/tests/unit-tests/2.6.0-SNAPSHOT/unit-tests-2.6.0-SNAPSHOT-tests.jar!/client-side-keystore.jks
 (No such file or directory)
        at 
org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:86)
        at 
org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:108)
        at org.apache.qpid.jms.JmsConnection.connect(JmsConnection.java:168)
        at 
org.apache.qpid.jms.JmsConnectionFactory.createConnection(JmsConnectionFactory.java:203)
        at 
org.apache.activemq.artemis.tests.integration.amqp.JMSSaslExternalTest.testConnection(JMSSaslExternalTest.java:116)
    Caused by: java.io.FileNotFoundException: 
file:/home/timothy/.m2/repository/org/apache/activemq/tests/unit-tests/2.6.0-SNAPSHOT/unit-tests-2.6.0-SNAPSHOT-tests.jar!/client-side-keystore.jks
 (No such file or directory)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at 
org.apache.qpid.jms.transports.TransportSupport.loadStore(TransportSupport.java:287)
        at 
org.apache.qpid.jms.transports.TransportSupport.loadKeyManagers(TransportSupport.java:250)
        at 
org.apache.qpid.jms.transports.TransportSupport.createSslContext(TransportSupport.java:99)
        at 
org.apache.qpid.jms.transports.TransportSupport.createSslHandler(TransportSupport.java:74)
        at 
org.apache.qpid.jms.transports.netty.NettyTcpTransport.connect(NettyTcpTransport.java:136)
        at 
org.apache.qpid.jms.provider.amqp.AmqpProvider$1.run(AmqpProvider.java:203)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)



> Support SASL EXTERNAL
> ---------------------
>
>                 Key: ARTEMIS-1758
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1758
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: AMQP
>    Affects Versions: 2.5.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>            Priority: Major
>             Fix For: 2.6.0
>
>
> Add support for SASL EXTERNAL
> https://tools.ietf.org/html/rfc4422#appendix-A
> Peer principal from TLS client cert is used as the client identity on the 
> broker.
> The identity is mapped to a broker user and role via the 
> TextFileCertificateLoginModule



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to