com.teamdev.jxbrowser.proxy
Interface AuthenticationHandler
public interface AuthenticationHandler
Represents a handler for receiving and processing proxy server
authentication. By default a standard browser dialog with user
name and password will be shown.
authenticationRequired
ProxyServerLogin authenticationRequired(ServerType type)
- Invoked when proxy server requires authentication.
For BrowserType.Mozilla this handler will be invoked each time
when authentication is required. In case of incorrect user name or password
this handler will be invoked until proxy server get right authentication information
or this handler will return
null.
For BrowserType.IE this handler will be invoked one time only
when authentication is required.
- Parameters:
type - server type that requires user name and password for authentication.
- Returns:
- user name and password which is required for proxy server authentication
or
null when authentication should be canceled.