[
https://issues.jboss.org/browse/ARQ-1321?page=com.atlassian.jira.plugin.s...
]
Aslak Knutsen commented on ARQ-1321:
------------------------------------
How about adding some form of qualifier to the ArquillanResource instead of a new type.
If we can find a class that can match the 'filter' in the ArquillianResource
annotation:
{code}
@ArquillianResource(HTTPS.class) URL url;
{code}
or a qualifier annotation
{code}
@ArquillianResource @Secure URL url;
{code}
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