Example usage for org.apache.http.auth AuthScope ANY

List of usage examples for org.apache.http.auth AuthScope ANY

Introduction

In this page you can find the example usage for org.apache.http.auth AuthScope ANY.

Prototype

AuthScope ANY

To view the source code for org.apache.http.auth AuthScope ANY.

Click Source Link

Document

Default scope matching any host, port, realm and authentication scheme.

Usage

From source file:test.com.xceptance.xlt.common.actions.SimpleURLTest.java

@Test
public void testCredentials_NotSet() throws IOException {
    final List<AbstractHtmlPageAction> actions = mockIt(null, null, "URL", "{url}");
    final Credentials creds = actions.get(0).getWebClient().getCredentialsProvider()
            .getCredentials(AuthScope.ANY);

    Assert.assertNull("There is an credential provider set.", creds);
}