public class DefaultAuthenticator extends Authenticator
Authenticator.RequestorType
Modifier and Type | Field and Description |
---|---|
static String |
defaultAuthfile |
Constructor and Description |
---|
DefaultAuthenticator(ErrorReceiver receiver,
File authfile) |
Modifier and Type | Method and Description |
---|---|
(package private) static Authenticator |
getCurrentAuthenticator() |
protected PasswordAuthentication |
getPasswordAuthentication() |
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefault
public static final String defaultAuthfile
public DefaultAuthenticator(@NotNull ErrorReceiver receiver, @NotNull File authfile) throws BadCommandLineException
BadCommandLineException
protected PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication
in class Authenticator
static Authenticator getCurrentAuthenticator()
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.