Represents a request for HTTP authentication. More...
Inherits BBHttpAuthHandlerImpl.
Instances of this class are created by the BBWebView and passed to BBWebViewClient::onReceivedBBHttpAuthRequest. The host application must call either proceed or cancel to make authentication decision.
Public Member Functions | |
void | cancel () |
Instructs the BBWebView to cancel the authentication. More... | |
void | proceed (String username, String password) |
Instructs the WebView to proceed with the authentication with the given credentials. More... | |
BBAuthScheme | getAuthScheme () |
Get authentication scheme of HTTP authentication request. More... | |
void cancel | ( | ) |
void proceed | ( | String | username, |
String | password | ||
) |
Instructs the WebView to proceed with the authentication with the given credentials.
Must be called by User's code to provide the authentication credentials.
username | The User's name for the authentication |
password | The User's password for the authentication |
User name for NTLM case has to be in next format: "DOMAIN\USERNAME"
User name for Kerberos case has to be in next format: "USERNAME@DOMAIN"
Refer to the equivalent method proceed in the API Guide on the developer.android.com site.
BBAuthScheme getAuthScheme | ( | ) |
Get authentication scheme of HTTP authentication request.