Example usage for java.net Authenticator interface-usage

List of usage examples for java.net Authenticator interface-usage

Introduction

In this page you can find the example usage for java.net Authenticator interface-usage.

Usage

From source file org.infoscoop.request.NTLMAuthenticator.java

public class NTLMAuthenticator implements Authenticator {
    private String domainController;

    public void doAuthentication(HttpClient client, ProxyRequest request, HttpMethod method, String uid, String pwd)
            throws ProxyAuthenticationException {
        try {

From source file org.infoscoop.request.BasicAuthenticator.java

public class BasicAuthenticator implements Authenticator {
    private int credentialType = -1;

    public BasicAuthenticator() {
        this(Authenticator.WIDGET_PREFS_CREDENTIAL);
    }

From source file org.trellisldp.auth.oauth.JwksAuthenticator.java

/**
 * A jwks-based authenticator.
 */
public class JwksAuthenticator implements Authenticator {

    private static final Logger LOGGER = getLogger(JwksAuthenticator.class);

From source file com.supermap.desktop.icloud.online.AuthenticatorImpl.java

/**
 * Created by xie on 2016/12/24.
 * Online
 */
public class AuthenticatorImpl implements Authenticator {

From source file org.apache.juddi.v3.auth.XMLDocAuthenticator.java

/**
 * This is a simple implementation of jUDDI's Authenticator interface. The credential
 * store is simply an unencrypted xml document called 'juddi.users' that can be
 * found in jUDDI's config directory. Below is an example of what you might find
 * in this document.
 *

From source file org.infoscoop.request.OAuthAuthenticator.java

public class OAuthAuthenticator implements Authenticator {
    public static final OAuthClient CLIENT = new OAuthClient(new HttpClient3());

    private static String AUTH_CALLBACK_URL = "oauthcallback";

    private static Log log = LogFactory.getLog(OAuthAuthenticator.class);

From source file org.infoscoop.request.SignedAuthenticator.java

public class SignedAuthenticator implements Authenticator {
    public static final OAuthClient CLIENT = new OAuthClient(new HttpClient3());
    private static final String PUBLIC_KEY_NAME = "public.cer";

    private static Log log = LogFactory.getLog(SignedAuthenticator.class);

From source file org.infoscoop.request.OAuth2Authenticator.java

public class OAuth2Authenticator implements Authenticator {
    public static final OAuthClient CLIENT = new OAuthClient(new HttpClient3());
    private static String AUTH_CALLBACK_URL2 = "oauth2callback";
    private static Log log = LogFactory.getLog(OAuth2Authenticator.class);
    private static Map<String, OAuthConsumer> consumers = new HashMap<String, OAuthConsumer>();

From source file com.cloudera.alfredo.client.KerberosAuthenticator.java

/**
 * The <code>KerberosAuthenticator</code> implements the Kerberos SPNEGO authentication sequence.
 * <p/>
 * It uses the default principal for the Kerberos cache (normally set via kinit).
 * <p/>
 * It falls back to the {@link PseudoAuthenticator} if the HTTP endpoint does not trigger an SPNEGO authentication

From source file com.lucidworks.security.authentication.client.KerberosAuthenticator.java

/**
 * The {@link KerberosAuthenticator} implements the Kerberos SPNEGO authentication sequence.
 * <p/>
 * It uses the default principal for the Kerberos cache (normally set via kinit).
 * <p/>
 * It falls back to the {@link PseudoAuthenticator} if the HTTP endpoint does not trigger an SPNEGO authentication