[arquillian-issues] [JBoss JIRA] (ARQ-1321) Support for HTTPS in URLs injected with @ArquillianResource

Karel Piwko (JIRA) issues at jboss.org
Wed Dec 11 10:54:33 EST 2013


    [ https://issues.jboss.org/browse/ARQ-1321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12930428#comment-12930428 ] 

Karel Piwko commented on ARQ-1321:
----------------------------------

Maybe @OverProtocol could be reused? Like @ArquillianResource @OverProtocol("https"/enum) URL url;

IIf http/https is not a protocol (@Protocol) but we want to name it *scheme*, maybe @UriScheme(string/enum/whatever) or @Scheme(string/enum/whatever)? 
This goes in hand with concept of qualifier, plus will support other schemes, like *and-activity://* for Selendroid native app testing. It would be a responsibility of container to be able to provide URI with given scheme.
                
> Support for HTTPS in URLs injected with @ArquillianResource
> -----------------------------------------------------------
>
>                 Key: ARQ-1321
>                 URL: https://issues.jboss.org/browse/ARQ-1321
>             Project: Arquillian
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Samuel Santos
>            Assignee: Samuel Santos
>
> When injecting an URL like the following:
> {code:java}
> @ArquillianResource URL url;
> {code}
> HTTP protocol will always be used. This happens because "http" is hard-coded in {{URLResourceProvider}}.
> Vineet Reynolds suggested that we can create the type {{SecureUrl}} and a {{SecureUrlResourceProvider}} to allow us to use HTTPS:
> {code:java}
> @ArquillianResource SecureUrl url;
> {code}
> Any comment?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list