5
|
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.5.0_11) on Sat Aug 23 11:49:50 GMT+01:00 2008 -->
|
|
6 <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
7 <TITLE>
|
|
8 Credentials (HttpClient 4.0-beta1 API)
|
|
9 </TITLE>
|
|
10
|
|
11 <META NAME="keywords" CONTENT="org.apache.http.auth.Credentials interface">
|
|
12
|
|
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
|
14
|
|
15 <SCRIPT type="text/javascript">
|
|
16 function windowTitle()
|
|
17 {
|
|
18 parent.document.title="Credentials (HttpClient 4.0-beta1 API)";
|
|
19 }
|
|
20 </SCRIPT>
|
|
21 <NOSCRIPT>
|
|
22 </NOSCRIPT>
|
|
23
|
|
24 </HEAD>
|
|
25
|
|
26 <BODY BGCOLOR="white" onload="windowTitle();">
|
|
27
|
|
28
|
|
29 <!-- ========= START OF TOP NAVBAR ======= -->
|
|
30 <A NAME="navbar_top"><!-- --></A>
|
|
31 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
32 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
33 <TR>
|
|
34 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
35 <A NAME="navbar_top_firstrow"><!-- --></A>
|
|
36 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
37 <TR ALIGN="center" VALIGN="top">
|
|
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
40 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Credentials.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
46 </TR>
|
|
47 </TABLE>
|
|
48 </TD>
|
|
49 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
50 </EM>
|
|
51 </TD>
|
|
52 </TR>
|
|
53
|
|
54 <TR>
|
|
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
56 <A HREF="../../../../org/apache/http/auth/BasicUserPrincipal.html" title="class in org.apache.http.auth"><B>PREV CLASS</B></A>
|
|
57 <A HREF="../../../../org/apache/http/auth/InvalidCredentialsException.html" title="class in org.apache.http.auth"><B>NEXT CLASS</B></A></FONT></TD>
|
|
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
59 <A HREF="../../../../index.html?org/apache/http/auth/Credentials.html" target="_top"><B>FRAMES</B></A>
|
|
60 <A HREF="Credentials.html" target="_top"><B>NO FRAMES</B></A>
|
|
61 <SCRIPT type="text/javascript">
|
|
62 <!--
|
|
63 if(window==top) {
|
|
64 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
65 }
|
|
66 //-->
|
|
67 </SCRIPT>
|
|
68 <NOSCRIPT>
|
|
69 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
70 </NOSCRIPT>
|
|
71
|
|
72
|
|
73 </FONT></TD>
|
|
74 </TR>
|
|
75 <TR>
|
|
76 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
77 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
79 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
80 </TR>
|
|
81 </TABLE>
|
|
82 <A NAME="skip-navbar_top"></A>
|
|
83 <!-- ========= END OF TOP NAVBAR ========= -->
|
|
84
|
|
85 <HR>
|
|
86 <!-- ======== START OF CLASS DATA ======== -->
|
|
87 <H2>
|
|
88 <FONT SIZE="-1">
|
|
89 org.apache.http.auth</FONT>
|
|
90 <BR>
|
|
91 Interface Credentials</H2>
|
|
92 <DL>
|
|
93 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/http/auth/NTCredentials.html" title="class in org.apache.http.auth">NTCredentials</A>, <A HREF="../../../../org/apache/http/auth/UsernamePasswordCredentials.html" title="class in org.apache.http.auth">UsernamePasswordCredentials</A></DD>
|
|
94 </DL>
|
|
95 <HR>
|
|
96 <DL>
|
|
97 <DT><PRE>public interface <B>Credentials</B></DL>
|
|
98 </PRE>
|
|
99
|
|
100 <P>
|
|
101 User name and password based authentication credentials.
|
|
102 <P>
|
|
103
|
|
104 <P>
|
|
105 <DL>
|
|
106 <DT><B>Version:</B></DT>
|
|
107 <DD>$Revision: 658430 $ $Date: 2008-05-20 23:04:27 +0200 (Tue, 20 May 2008) $</DD>
|
|
108 <DT><B>Author:</B></DT>
|
|
109 <DD>Unascribed, <a href="mailto:mbowler@GargoyleSoftware.com">Mike Bowler</a></DD>
|
|
110 </DL>
|
|
111 <HR>
|
|
112
|
|
113 <P>
|
|
114
|
|
115 <!-- ========== METHOD SUMMARY =========== -->
|
|
116
|
|
117 <A NAME="method_summary"><!-- --></A>
|
|
118 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
119 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
120 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
121 <B>Method Summary</B></FONT></TH>
|
|
122 </TR>
|
|
123 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
124 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
125 <CODE> java.lang.String</CODE></FONT></TD>
|
|
126 <TD><CODE><B><A HREF="../../../../org/apache/http/auth/Credentials.html#getPassword()">getPassword</A></B>()</CODE>
|
|
127
|
|
128 <BR>
|
|
129 </TD>
|
|
130 </TR>
|
|
131 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
132 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
133 <CODE> java.security.Principal</CODE></FONT></TD>
|
|
134 <TD><CODE><B><A HREF="../../../../org/apache/http/auth/Credentials.html#getUserPrincipal()">getUserPrincipal</A></B>()</CODE>
|
|
135
|
|
136 <BR>
|
|
137 </TD>
|
|
138 </TR>
|
|
139 </TABLE>
|
|
140
|
|
141 <P>
|
|
142
|
|
143 <!-- ============ METHOD DETAIL ========== -->
|
|
144
|
|
145 <A NAME="method_detail"><!-- --></A>
|
|
146 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
147 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
148 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
149 <B>Method Detail</B></FONT></TH>
|
|
150 </TR>
|
|
151 </TABLE>
|
|
152
|
|
153 <A NAME="getUserPrincipal()"><!-- --></A><H3>
|
|
154 getUserPrincipal</H3>
|
|
155 <PRE>
|
|
156 java.security.Principal <B>getUserPrincipal</B>()</PRE>
|
|
157 <DL>
|
|
158 <DD><DL>
|
|
159 </DL>
|
|
160 </DD>
|
|
161 </DL>
|
|
162 <HR>
|
|
163
|
|
164 <A NAME="getPassword()"><!-- --></A><H3>
|
|
165 getPassword</H3>
|
|
166 <PRE>
|
|
167 java.lang.String <B>getPassword</B>()</PRE>
|
|
168 <DL>
|
|
169 <DD><DL>
|
|
170 </DL>
|
|
171 </DD>
|
|
172 </DL>
|
|
173 <!-- ========= END OF CLASS DATA ========= -->
|
|
174 <HR>
|
|
175
|
|
176
|
|
177 <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
178 <A NAME="navbar_bottom"><!-- --></A>
|
|
179 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
180 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
181 <TR>
|
|
182 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
183 <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
184 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
185 <TR ALIGN="center" VALIGN="top">
|
|
186 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
187 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
188 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
189 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Credentials.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
190 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
191 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
192 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
193 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
194 </TR>
|
|
195 </TABLE>
|
|
196 </TD>
|
|
197 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
198 </EM>
|
|
199 </TD>
|
|
200 </TR>
|
|
201
|
|
202 <TR>
|
|
203 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
204 <A HREF="../../../../org/apache/http/auth/BasicUserPrincipal.html" title="class in org.apache.http.auth"><B>PREV CLASS</B></A>
|
|
205 <A HREF="../../../../org/apache/http/auth/InvalidCredentialsException.html" title="class in org.apache.http.auth"><B>NEXT CLASS</B></A></FONT></TD>
|
|
206 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
207 <A HREF="../../../../index.html?org/apache/http/auth/Credentials.html" target="_top"><B>FRAMES</B></A>
|
|
208 <A HREF="Credentials.html" target="_top"><B>NO FRAMES</B></A>
|
|
209 <SCRIPT type="text/javascript">
|
|
210 <!--
|
|
211 if(window==top) {
|
|
212 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
213 }
|
|
214 //-->
|
|
215 </SCRIPT>
|
|
216 <NOSCRIPT>
|
|
217 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
218 </NOSCRIPT>
|
|
219
|
|
220
|
|
221 </FONT></TD>
|
|
222 </TR>
|
|
223 <TR>
|
|
224 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
225 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
226 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
227 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
228 </TR>
|
|
229 </TABLE>
|
|
230 <A NAME="skip-navbar_bottom"></A>
|
|
231 <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
232
|
|
233 <HR>
|
|
234 Copyright © 1999-2008 <a href="http://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved.
|
|
235 </BODY>
|
|
236 </HTML>
|