[
https://issues.jboss.org/browse/ARQ-1321?page=com.atlassian.jira.plugin.s...
]
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