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, setDefaultpublic static final String defaultAuthfile
public DefaultAuthenticator(@NotNull
ErrorReceiver receiver,
@NotNull
File authfile)
throws BadCommandLineException
BadCommandLineExceptionprotected PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication in class Authenticatorstatic Authenticator getCurrentAuthenticator()
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.