Subversion Repositories javautils

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7 daniel-mar 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.6.0_10) on Tue Nov 17 12:13:44 PST 2009 -->
6
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
7
<TITLE>
8
Uses of Class javax.mail.PasswordAuthentication (JavaMail API documentation)
9
</TITLE>
10
 
11
<META NAME="date" CONTENT="2009-11-17">
12
 
13
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
14
 
15
<SCRIPT type="text/javascript">
16
function windowTitle()
17
{
18
    if (location.href.indexOf('is-external=true') == -1) {
19
        parent.document.title="Uses of Class javax.mail.PasswordAuthentication (JavaMail API documentation)";
20
    }
21
}
22
</SCRIPT>
23
<NOSCRIPT>
24
</NOSCRIPT>
25
 
26
</HEAD>
27
 
28
<BODY BGCOLOR="white" onload="windowTitle();">
29
<HR>
30
 
31
 
32
<!-- ========= START OF TOP NAVBAR ======= -->
33
<A NAME="navbar_top"><!-- --></A>
34
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36
<TR>
37
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38
<A NAME="navbar_top_firstrow"><!-- --></A>
39
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40
  <TR ALIGN="center" VALIGN="top">
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../javax/mail/PasswordAuthentication.html" title="class in javax.mail"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
48
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
49
  </TR>
50
</TABLE>
51
</TD>
52
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
53
</EM>
54
</TD>
55
</TR>
56
 
57
<TR>
58
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
&nbsp;PREV&nbsp;
60
&nbsp;NEXT</FONT></TD>
61
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
62
  <A HREF="../../../index.html?javax/mail//class-usePasswordAuthentication.html" target="_top"><B>FRAMES</B></A>  &nbsp;
63
&nbsp;<A HREF="PasswordAuthentication.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
64
&nbsp;<SCRIPT type="text/javascript">
65
  <!--
66
  if(window==top) {
67
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
68
  }
69
  //-->
70
</SCRIPT>
71
<NOSCRIPT>
72
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
73
</NOSCRIPT>
74
 
75
 
76
</FONT></TD>
77
</TR>
78
</TABLE>
79
<A NAME="skip-navbar_top"></A>
80
<!-- ========= END OF TOP NAVBAR ========= -->
81
 
82
<HR>
83
<CENTER>
84
<H2>
85
<B>Uses of Class<br>javax.mail.PasswordAuthentication</B></H2>
86
</CENTER>
87
 
88
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
89
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
90
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
91
Packages that use <A HREF="../../../javax/mail/PasswordAuthentication.html" title="class in javax.mail">PasswordAuthentication</A></FONT></TH>
92
</TR>
93
<TR BGCOLOR="white" CLASS="TableRowColor">
94
<TD><A HREF="#javax.mail"><B>javax.mail</B></A></TD>
95
<TD>The JavaMail<sup><font size="-2">TM</font></sup> API
96
provides classes that model a mail system.&nbsp;</TD>
97
</TR>
98
</TABLE>
99
&nbsp;
100
<P>
101
<A NAME="javax.mail"><!-- --></A>
102
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
103
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
104
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
105
Uses of <A HREF="../../../javax/mail/PasswordAuthentication.html" title="class in javax.mail">PasswordAuthentication</A> in <A HREF="../../../javax/mail/package-summary.html">javax.mail</A></FONT></TH>
106
</TR>
107
</TABLE>
108
&nbsp;
109
<P>
110
 
111
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
112
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
113
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../javax/mail/package-summary.html">javax.mail</A> that return <A HREF="../../../javax/mail/PasswordAuthentication.html" title="class in javax.mail">PasswordAuthentication</A></FONT></TH>
114
</TR>
115
<TR BGCOLOR="white" CLASS="TableRowColor">
116
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
117
<CODE>protected &nbsp;<A HREF="../../../javax/mail/PasswordAuthentication.html" title="class in javax.mail">PasswordAuthentication</A></CODE></FONT></TD>
118
<TD><CODE><B>Authenticator.</B><B><A HREF="../../../javax/mail/Authenticator.html#getPasswordAuthentication()">getPasswordAuthentication</A></B>()</CODE>
119
 
120
<BR>
121
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called when password authentication is needed.</TD>
122
</TR>
123
<TR BGCOLOR="white" CLASS="TableRowColor">
124
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
125
<CODE>&nbsp;<A HREF="../../../javax/mail/PasswordAuthentication.html" title="class in javax.mail">PasswordAuthentication</A></CODE></FONT></TD>
126
<TD><CODE><B>Session.</B><B><A HREF="../../../javax/mail/Session.html#getPasswordAuthentication(javax.mail.URLName)">getPasswordAuthentication</A></B>(<A HREF="../../../javax/mail/URLName.html" title="class in javax.mail">URLName</A>&nbsp;url)</CODE>
127
 
128
<BR>
129
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return any saved PasswordAuthentication for this (store or transport)
130
 URLName.</TD>
131
</TR>
132
<TR BGCOLOR="white" CLASS="TableRowColor">
133
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
134
<CODE>&nbsp;<A HREF="../../../javax/mail/PasswordAuthentication.html" title="class in javax.mail">PasswordAuthentication</A></CODE></FONT></TD>
135
<TD><CODE><B>Session.</B><B><A HREF="../../../javax/mail/Session.html#requestPasswordAuthentication(java.net.InetAddress, int, java.lang.String, java.lang.String, java.lang.String)">requestPasswordAuthentication</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/InetAddress.html?is-external=true" title="class or interface in java.net">InetAddress</A>&nbsp;addr,
136
                              int&nbsp;port,
137
                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;protocol,
138
                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prompt,
139
                              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;defaultUserName)</CODE>
140
 
141
<BR>
142
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Call back to the application to get the needed user name and password.</TD>
143
</TR>
144
</TABLE>
145
&nbsp;
146
<P>
147
 
148
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
149
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
150
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../javax/mail/package-summary.html">javax.mail</A> with parameters of type <A HREF="../../../javax/mail/PasswordAuthentication.html" title="class in javax.mail">PasswordAuthentication</A></FONT></TH>
151
</TR>
152
<TR BGCOLOR="white" CLASS="TableRowColor">
153
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154
<CODE>&nbsp;void</CODE></FONT></TD>
155
<TD><CODE><B>Session.</B><B><A HREF="../../../javax/mail/Session.html#setPasswordAuthentication(javax.mail.URLName, javax.mail.PasswordAuthentication)">setPasswordAuthentication</A></B>(<A HREF="../../../javax/mail/URLName.html" title="class in javax.mail">URLName</A>&nbsp;url,
156
                          <A HREF="../../../javax/mail/PasswordAuthentication.html" title="class in javax.mail">PasswordAuthentication</A>&nbsp;pw)</CODE>
157
 
158
<BR>
159
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Save a PasswordAuthentication for this (store or transport) URLName.</TD>
160
</TR>
161
</TABLE>
162
&nbsp;
163
<P>
164
<HR>
165
 
166
 
167
<!-- ======= START OF BOTTOM NAVBAR ====== -->
168
<A NAME="navbar_bottom"><!-- --></A>
169
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
170
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
171
<TR>
172
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
173
<A NAME="navbar_bottom_firstrow"><!-- --></A>
174
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
175
  <TR ALIGN="center" VALIGN="top">
176
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
177
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
178
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../javax/mail/PasswordAuthentication.html" title="class in javax.mail"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
179
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
180
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
181
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
182
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
183
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
184
  </TR>
185
</TABLE>
186
</TD>
187
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
188
</EM>
189
</TD>
190
</TR>
191
 
192
<TR>
193
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
194
&nbsp;PREV&nbsp;
195
&nbsp;NEXT</FONT></TD>
196
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
197
  <A HREF="../../../index.html?javax/mail//class-usePasswordAuthentication.html" target="_top"><B>FRAMES</B></A>  &nbsp;
198
&nbsp;<A HREF="PasswordAuthentication.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
199
&nbsp;<SCRIPT type="text/javascript">
200
  <!--
201
  if(window==top) {
202
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
203
  }
204
  //-->
205
</SCRIPT>
206
<NOSCRIPT>
207
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
208
</NOSCRIPT>
209
 
210
 
211
</FONT></TD>
212
</TR>
213
</TABLE>
214
<A NAME="skip-navbar_bottom"></A>
215
<!-- ======== END OF BOTTOM NAVBAR ======= -->
216
 
217
<HR>
218
Copyright &#169; 2009 <a href="http://www.sun.com">Sun Microsystems, Inc.</a>. All Rights Reserved.
219
</BODY>
220
</HTML>