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

Sufyan Haroon commented on SLING-5348:
--------------------------------------

[~bdelacretaz], I have uploaded patch 
patchSupportAuthenticationThroughSlingJunitServlet.txt where I have introduced 
a new configuration "testServletPath" in ClientSideTeleporter and 
TeleporterHttpClient to allow users to specify the servlet path against which 
to execute the tests. It works for my use case where I have pointed it to node 
resolving to SlingJunitServlet and it work fine. Can you please try it out and 
help it included in teleporter mechanism.

> Support Authentication in teleporter mechanism using SlingJunitServlet
> ----------------------------------------------------------------------
>
>                 Key: SLING-5348
>                 URL: https://issues.apache.org/jira/browse/SLING-5348
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>    Affects Versions: JUnit Tests Teleporter 1.0.4
>            Reporter: Sufyan Haroon
>         Attachments: patchSupportAuthenticationThroughSlingJunitServlet.txt
>
>
> Currently, junit servlet path to be used by teleporter mechanism is hard 
> coded and points to "system/sling/junit". Junit Servlet at this does not 
> require authentication. 
> Teleporter mechanism should allow configuring Junit servlet path to be used 
> for executing tests so that if authentication is needed to run tests, one 
> configure the path to SlingJunitServlet and execute authenticated tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to