List of usage examples for java.net Authenticator subclass-usage
From source file ProxyAuthenticator.java
class ProxyAuthenticator extends Authenticator { private String userName, password; public ProxyAuthenticator(String userName, String password) { this.userName = userName;
From source file Main.java
class MyAuthenticator extends Authenticator { protected PasswordAuthentication getPasswordAuthentication() { String promptString = getRequestingPrompt(); System.out.println(promptString); String hostname = getRequestingHost();
From source file MainClass.java
class DialogAuthenticator extends Authenticator { public DialogAuthenticator() { } public PasswordAuthentication getPasswordAuthentication() {
From source file com.googlecode.gmail4j.auth.GmailHttpAuthenticator.java
/**
* Proxy aware HTTP {@link Authenticator} for {@link GmailConnection}
* implementations that require HTTP access to Gmail service.
* <p>
* Activate it with {@link Authenticator#setDefault(Authenticator)}:
* <p><blockquote><pre>
From source file com.adito.server.ProxyAuthenticator.java
/**
* {@link java.net.Authenticator} implementation used to authenticate with
* SOCKS and HTTP proxy servers when the Adito server tries to
* access web and network resources (for Replacement proxy, extension store etc).
*/
From source file com.sslexplorer.server.ProxyAuthenticator.java
/**
* {@link java.net.Authenticator} implementation used to authenticate with
* SOCKS and HTTP proxy servers when the SSL-Explorer server tries to
* access web and network resources (for Replacement proxy, extension store etc).
*/
From source file edu.indiana.lib.twinpeaks.net.HttpAuthenticator.java
/**
* Handle network authentication.
*<p>
* When we try to access a protected site,
* <code>getPasswordAuthentication()</code> is called by the network
* connection code (<code>HttpURLConnection</code> in our case) to obtain
From source file com.varaneckas.hawkscope.util.ModularAuthenticator.java
/**
* Modular {@link Authenticator} for Hawkscope.
*
* Should be used with plugins and version checks.
*
* @author Tomas Varaneckas
From source file info.joseluismartin.gtc.mvc.CacheController.java
/** * Simple Authenticator for proxy * * @author Jose Luis Martin */ class SimpleAuthenticator extends Authenticator {
From source file com.tremolosecurity.provisioning.sharepoint.SharePointGroups.java
class NtlmAuthenticator extends Authenticator { private final String username; private final char[] password; public NtlmAuthenticator(final String username, final String password) {