public interface HttpBasedAuthentication extends Authentication
Authentication that defines HTTP specific callbacks for
Authentications.
Copyright (c) 2015. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
| Modifier and Type | Method and Description |
|---|---|
HttpURLConnection |
openConnection(URL url,
String userName,
com.oracle.bedrock.OptionsByType optionsByType)
Open a connection to the specified URL and configure the connection with the
correct authentication mechanism.
|
HttpURLConnection openConnection(URL url, String userName, com.oracle.bedrock.OptionsByType optionsByType) throws IOException
url - the URL to connect touserName - the name of the user to use to open the connectionoptionsByType - an OptionsByType to use to configure authenticationHttpURLConnection to the specified URLIOException - when the connection can't be openedCopyright © 2017. All rights reserved.