public class ClientAuth extends Authenticator
Authenticator used by HTTP clients
Authenticator.RequestorType
Modifier and Type | Method and Description |
---|---|
static void |
createInstance(String keystorePath) |
void |
deleteKeyStore() |
static ClientAuth |
getInstance() |
protected PasswordAuthentication |
getPasswordAuthentication() |
void |
setPassword(char[] passwd) |
void |
setUser(String user) |
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefault
public static ClientAuth getInstance()
public static void createInstance(String keystorePath)
public void setUser(String user)
public void setPassword(char[] passwd)
protected PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication
in class Authenticator
public void deleteKeyStore()
Copyright © 2016 Sensia Software LLC. All rights reserved.