Package | Description |
---|---|
javax.mail |
Modifier and Type | Method and Description |
---|---|
protected PasswordAuthentication |
Authenticator.getPasswordAuthentication() |
PasswordAuthentication |
Session.getPasswordAuthentication(URLName name)
Get the password authentication associated with a URL
|
PasswordAuthentication |
Session.requestPasswordAuthentication(InetAddress host,
int port,
String protocol,
String prompt,
String defaultUserName)
Call back to the application supplied authenticator to get the needed username add password.
|
Modifier and Type | Method and Description |
---|---|
void |
Session.setPasswordAuthentication(URLName name,
PasswordAuthentication authenticator)
Set the password authentication associated with a URL.
|
Copyright © 2013. All rights reserved.