comparison libs/httpcomponents-client-4.0-beta1/javadoc/httpclient/org/apache/http/auth/NTUserPrincipal.html @ 5:0be9d53a6967

editor for annotations
author dwinter
date Tue, 13 Dec 2011 17:43:46 +0100
parents
children
comparison
equal deleted inserted replaced
4:c32080f364c6 5:0be9d53a6967
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 NTUserPrincipal (HttpClient 4.0-beta1 API)
9 </TITLE>
10
11 <META NAME="keywords" CONTENT="org.apache.http.auth.NTUserPrincipal class">
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="NTUserPrincipal (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>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/NTUserPrincipal.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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 &nbsp;<A HREF="../../../../org/apache/http/auth/NTCredentials.html" title="class in org.apache.http.auth"><B>PREV CLASS</B></A>&nbsp;
57 &nbsp;<A HREF="../../../../org/apache/http/auth/UsernamePasswordCredentials.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/NTUserPrincipal.html" target="_top"><B>FRAMES</B></A> &nbsp;
60 &nbsp;<A HREF="NTUserPrincipal.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
61 &nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 Class NTUserPrincipal</H2>
92 <PRE>
93 java.lang.Object
94 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.http.auth.NTUserPrincipal</B>
95 </PRE>
96 <DL>
97 <DT><B>All Implemented Interfaces:</B> <DD>java.security.Principal</DD>
98 </DL>
99 <HR>
100 <DL>
101 <DT><PRE>public class <B>NTUserPrincipal</B><DT>extends java.lang.Object<DT>implements java.security.Principal</DL>
102 </PRE>
103
104 <P>
105 NT (MS Windows specific) user principal used for HTTP authentication
106 <P>
107
108 <P>
109 <DL>
110 <DT><B>Since:</B></DT>
111 <DD>4.0</DD>
112 <DT><B>Author:</B></DT>
113 <DD><a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a></DD>
114 </DL>
115 <HR>
116
117 <P>
118
119 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
120
121 <A NAME="constructor_summary"><!-- --></A>
122 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
124 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
125 <B>Constructor Summary</B></FONT></TH>
126 </TR>
127 <TR BGCOLOR="white" CLASS="TableRowColor">
128 <TD><CODE><B><A HREF="../../../../org/apache/http/auth/NTUserPrincipal.html#NTUserPrincipal(java.lang.String, java.lang.String)">NTUserPrincipal</A></B>(java.lang.String&nbsp;domain,
129 java.lang.String&nbsp;username)</CODE>
130
131 <BR>
132 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
133 </TR>
134 </TABLE>
135 &nbsp;
136 <!-- ========== METHOD SUMMARY =========== -->
137
138 <A NAME="method_summary"><!-- --></A>
139 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
140 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
141 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
142 <B>Method Summary</B></FONT></TH>
143 </TR>
144 <TR BGCOLOR="white" CLASS="TableRowColor">
145 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
146 <CODE>&nbsp;boolean</CODE></FONT></TD>
147 <TD><CODE><B><A HREF="../../../../org/apache/http/auth/NTUserPrincipal.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;o)</CODE>
148
149 <BR>
150 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
151 </TR>
152 <TR BGCOLOR="white" CLASS="TableRowColor">
153 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
155 <TD><CODE><B><A HREF="../../../../org/apache/http/auth/NTUserPrincipal.html#getDomain()">getDomain</A></B>()</CODE>
156
157 <BR>
158 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
159 </TR>
160 <TR BGCOLOR="white" CLASS="TableRowColor">
161 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
162 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
163 <TD><CODE><B><A HREF="../../../../org/apache/http/auth/NTUserPrincipal.html#getName()">getName</A></B>()</CODE>
164
165 <BR>
166 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
167 </TR>
168 <TR BGCOLOR="white" CLASS="TableRowColor">
169 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
170 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
171 <TD><CODE><B><A HREF="../../../../org/apache/http/auth/NTUserPrincipal.html#getUsername()">getUsername</A></B>()</CODE>
172
173 <BR>
174 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
175 </TR>
176 <TR BGCOLOR="white" CLASS="TableRowColor">
177 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
178 <CODE>&nbsp;int</CODE></FONT></TD>
179 <TD><CODE><B><A HREF="../../../../org/apache/http/auth/NTUserPrincipal.html#hashCode()">hashCode</A></B>()</CODE>
180
181 <BR>
182 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
183 </TR>
184 <TR BGCOLOR="white" CLASS="TableRowColor">
185 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
186 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
187 <TD><CODE><B><A HREF="../../../../org/apache/http/auth/NTUserPrincipal.html#toString()">toString</A></B>()</CODE>
188
189 <BR>
190 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
191 </TR>
192 </TABLE>
193 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
194 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
195 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
196 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
197 </TR>
198 <TR BGCOLOR="white" CLASS="TableRowColor">
199 <TD><CODE>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
200 </TR>
201 </TABLE>
202 &nbsp;
203 <P>
204
205 <!-- ========= CONSTRUCTOR DETAIL ======== -->
206
207 <A NAME="constructor_detail"><!-- --></A>
208 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
209 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
210 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
211 <B>Constructor Detail</B></FONT></TH>
212 </TR>
213 </TABLE>
214
215 <A NAME="NTUserPrincipal(java.lang.String, java.lang.String)"><!-- --></A><H3>
216 NTUserPrincipal</H3>
217 <PRE>
218 public <B>NTUserPrincipal</B>(java.lang.String&nbsp;domain,
219 java.lang.String&nbsp;username)</PRE>
220 <DL>
221 </DL>
222
223 <!-- ============ METHOD DETAIL ========== -->
224
225 <A NAME="method_detail"><!-- --></A>
226 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
227 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
228 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
229 <B>Method Detail</B></FONT></TH>
230 </TR>
231 </TABLE>
232
233 <A NAME="getName()"><!-- --></A><H3>
234 getName</H3>
235 <PRE>
236 public java.lang.String <B>getName</B>()</PRE>
237 <DL>
238 <DD><DL>
239 <DT><B>Specified by:</B><DD><CODE>getName</CODE> in interface <CODE>java.security.Principal</CODE></DL>
240 </DD>
241 <DD><DL>
242 </DL>
243 </DD>
244 </DL>
245 <HR>
246
247 <A NAME="getDomain()"><!-- --></A><H3>
248 getDomain</H3>
249 <PRE>
250 public java.lang.String <B>getDomain</B>()</PRE>
251 <DL>
252 <DD><DL>
253 </DL>
254 </DD>
255 <DD><DL>
256 </DL>
257 </DD>
258 </DL>
259 <HR>
260
261 <A NAME="getUsername()"><!-- --></A><H3>
262 getUsername</H3>
263 <PRE>
264 public java.lang.String <B>getUsername</B>()</PRE>
265 <DL>
266 <DD><DL>
267 </DL>
268 </DD>
269 <DD><DL>
270 </DL>
271 </DD>
272 </DL>
273 <HR>
274
275 <A NAME="hashCode()"><!-- --></A><H3>
276 hashCode</H3>
277 <PRE>
278 public int <B>hashCode</B>()</PRE>
279 <DL>
280 <DD><DL>
281 <DT><B>Specified by:</B><DD><CODE>hashCode</CODE> in interface <CODE>java.security.Principal</CODE><DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL>
282 </DD>
283 <DD><DL>
284 </DL>
285 </DD>
286 </DL>
287 <HR>
288
289 <A NAME="equals(java.lang.Object)"><!-- --></A><H3>
290 equals</H3>
291 <PRE>
292 public boolean <B>equals</B>(java.lang.Object&nbsp;o)</PRE>
293 <DL>
294 <DD><DL>
295 <DT><B>Specified by:</B><DD><CODE>equals</CODE> in interface <CODE>java.security.Principal</CODE><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
296 </DD>
297 <DD><DL>
298 </DL>
299 </DD>
300 </DL>
301 <HR>
302
303 <A NAME="toString()"><!-- --></A><H3>
304 toString</H3>
305 <PRE>
306 public java.lang.String <B>toString</B>()</PRE>
307 <DL>
308 <DD><DL>
309 <DT><B>Specified by:</B><DD><CODE>toString</CODE> in interface <CODE>java.security.Principal</CODE><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
310 </DD>
311 <DD><DL>
312 </DL>
313 </DD>
314 </DL>
315 <!-- ========= END OF CLASS DATA ========= -->
316 <HR>
317
318
319 <!-- ======= START OF BOTTOM NAVBAR ====== -->
320 <A NAME="navbar_bottom"><!-- --></A>
321 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
322 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
323 <TR>
324 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
325 <A NAME="navbar_bottom_firstrow"><!-- --></A>
326 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
327 <TR ALIGN="center" VALIGN="top">
328 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
329 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
330 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
331 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/NTUserPrincipal.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
332 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
333 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
334 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
335 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
336 </TR>
337 </TABLE>
338 </TD>
339 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
340 </EM>
341 </TD>
342 </TR>
343
344 <TR>
345 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
346 &nbsp;<A HREF="../../../../org/apache/http/auth/NTCredentials.html" title="class in org.apache.http.auth"><B>PREV CLASS</B></A>&nbsp;
347 &nbsp;<A HREF="../../../../org/apache/http/auth/UsernamePasswordCredentials.html" title="class in org.apache.http.auth"><B>NEXT CLASS</B></A></FONT></TD>
348 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
349 <A HREF="../../../../index.html?org/apache/http/auth/NTUserPrincipal.html" target="_top"><B>FRAMES</B></A> &nbsp;
350 &nbsp;<A HREF="NTUserPrincipal.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
351 &nbsp;<SCRIPT type="text/javascript">
352 <!--
353 if(window==top) {
354 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
355 }
356 //-->
357 </SCRIPT>
358 <NOSCRIPT>
359 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
360 </NOSCRIPT>
361
362
363 </FONT></TD>
364 </TR>
365 <TR>
366 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
367 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
368 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
369 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
370 </TR>
371 </TABLE>
372 <A NAME="skip-navbar_bottom"></A>
373 <!-- ======== END OF BOTTOM NAVBAR ======= -->
374
375 <HR>
376 Copyright © 1999-2008 <a href="http://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved.
377 </BODY>
378 </HTML>