1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
5
<!-- Generated by javadoc on Sun Oct 10 17:41:05 EDT 2004 -->
7
HttpClient 2.0.2 API: Class AuthSchemeBase
9
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
11
<BODY BGCOLOR="white">
13
<!-- ========== START OF NAVBAR ========== -->
14
<A NAME="navbar_top"><!-- --></A>
15
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
17
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
18
<A NAME="navbar_top_firstrow"><!-- --></A>
19
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
20
<TR ALIGN="center" VALIGN="top">
21
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
22
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
23
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
24
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AuthSchemeBase.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
25
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
26
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
27
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
28
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
32
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
38
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
39
<A HREF="../../../../../org/apache/commons/httpclient/auth/AuthChallengeParser.html"><B>PREV CLASS</B></A>
40
<A HREF="../../../../../org/apache/commons/httpclient/auth/BasicScheme.html"><B>NEXT CLASS</B></A></FONT></TD>
41
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
42
<A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
43
<A HREF="AuthSchemeBase.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
46
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
47
SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
48
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
49
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
52
<!-- =========== END OF NAVBAR =========== -->
55
<!-- ======== START OF CLASS DATA ======== -->
58
org.apache.commons.httpclient.auth</FONT>
60
Class AuthSchemeBase</H2>
62
<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html">java.lang.Object</A>
64
+--<B>org.apache.commons.httpclient.auth.AuthSchemeBase</B>
67
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/commons/httpclient/auth/AuthScheme.html">AuthScheme</A></DD>
70
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/commons/httpclient/auth/NTLMScheme.html">NTLMScheme</A>, <A HREF="../../../../../org/apache/commons/httpclient/auth/RFC2617Scheme.html">RFC2617Scheme</A></DD>
74
<DT>public abstract class <B>AuthSchemeBase</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html">Object</A><DT>implements <A HREF="../../../../../org/apache/commons/httpclient/auth/AuthScheme.html">AuthScheme</A></DL>
78
Abstract authentication scheme class that implements <A HREF="../../../../../org/apache/commons/httpclient/auth/AuthScheme.html"><CODE>AuthScheme</CODE></A>
79
interface and provides a default contstructor.
83
<DT><B>Author: </B><DD><a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a></DD>
88
<!-- ======== INNER CLASS SUMMARY ======== -->
91
<!-- =========== FIELD SUMMARY =========== -->
94
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
96
<A NAME="constructor_summary"><!-- --></A>
97
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
98
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
99
<TD COLSPAN=2><FONT SIZE="+2">
100
<B>Constructor Summary</B></FONT></TD>
102
<TR BGCOLOR="white" CLASS="TableRowColor">
103
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/auth/AuthSchemeBase.html#AuthSchemeBase(java.lang.String)">AuthSchemeBase</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A> challenge)</CODE>
106
Constructor for an abstract authetication schemes.</TD>
110
<!-- ========== METHOD SUMMARY =========== -->
112
<A NAME="method_summary"><!-- --></A>
113
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
114
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
115
<TD COLSPAN=2><FONT SIZE="+2">
116
<B>Method Summary</B></FONT></TD>
118
<TR BGCOLOR="white" CLASS="TableRowColor">
119
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
120
<CODE> boolean</CODE></FONT></TD>
121
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/auth/AuthSchemeBase.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html">Object</A> obj)</CODE>
124
</TD>
126
<TR BGCOLOR="white" CLASS="TableRowColor">
127
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
128
<CODE> int</CODE></FONT></TD>
129
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/auth/AuthSchemeBase.html#hashCode()">hashCode</A></B>()</CODE>
132
</TD>
134
<TR BGCOLOR="white" CLASS="TableRowColor">
135
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
136
<CODE> <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
137
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/auth/AuthSchemeBase.html#toString()">toString</A></B>()</CODE>
140
</TD>
143
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
144
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
145
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
146
<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html">Object</A></B></TD>
148
<TR BGCOLOR="white" CLASS="TableRowColor">
149
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#<clinit>()"><clinit></A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
152
<A NAME="methods_inherited_from_class_org.apache.commons.httpclient.auth.AuthScheme"><!-- --></A>
153
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
154
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
155
<TD><B>Methods inherited from interface org.apache.commons.httpclient.auth.<A HREF="../../../../../org/apache/commons/httpclient/auth/AuthScheme.html">AuthScheme</A></B></TD>
157
<TR BGCOLOR="white" CLASS="TableRowColor">
158
<TD><CODE><A HREF="../../../../../org/apache/commons/httpclient/auth/AuthScheme.html#authenticate(org.apache.commons.httpclient.Credentials, java.lang.String, java.lang.String)">authenticate</A>, <A HREF="../../../../../org/apache/commons/httpclient/auth/AuthScheme.html#getID()">getID</A>, <A HREF="../../../../../org/apache/commons/httpclient/auth/AuthScheme.html#getParameter(java.lang.String)">getParameter</A>, <A HREF="../../../../../org/apache/commons/httpclient/auth/AuthScheme.html#getRealm()">getRealm</A>, <A HREF="../../../../../org/apache/commons/httpclient/auth/AuthScheme.html#getSchemeName()">getSchemeName</A></CODE></TD>
164
<!-- ============ FIELD DETAIL =========== -->
167
<!-- ========= CONSTRUCTOR DETAIL ======== -->
169
<A NAME="constructor_detail"><!-- --></A>
170
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
171
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
172
<TD COLSPAN=1><FONT SIZE="+2">
173
<B>Constructor Detail</B></FONT></TD>
177
<A NAME="AuthSchemeBase(java.lang.String)"><!-- --></A><H3>
180
public <B>AuthSchemeBase</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A> challenge)
181
throws <A HREF="../../../../../org/apache/commons/httpclient/auth/MalformedChallengeException.html">MalformedChallengeException</A></PRE>
183
<DD>Constructor for an abstract authetication schemes.<DD><DL>
184
<DT><B>Parameters:</B><DD><CODE>challenge</CODE> - authentication challenge<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../org/apache/commons/httpclient/auth/MalformedChallengeException.html">MalformedChallengeException</A></CODE> - is thrown if the authentication challenge
189
<!-- ============ METHOD DETAIL ========== -->
191
<A NAME="method_detail"><!-- --></A>
192
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
193
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
194
<TD COLSPAN=1><FONT SIZE="+2">
195
<B>Method Detail</B></FONT></TD>
199
<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
202
public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html">Object</A> obj)</PRE>
205
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html">Object</A></CODE></DL>
208
<DT><B>See Also: </B><DD><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#equals(java.lang.Object)"><CODE>Object.equals(Object)</CODE></A></DL>
213
<A NAME="hashCode()"><!-- --></A><H3>
216
public int <B>hashCode</B>()</PRE>
219
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html">Object</A></CODE></DL>
222
<DT><B>See Also: </B><DD><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#hashCode()"><CODE>Object.hashCode()</CODE></A></DL>
227
<A NAME="toString()"><!-- --></A><H3>
230
public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
233
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html">Object</A></CODE></DL>
236
<DT><B>See Also: </B><DD><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#toString()"><CODE>Object.toString()</CODE></A></DL>
239
<!-- ========= END OF CLASS DATA ========= -->
242
<!-- ========== START OF NAVBAR ========== -->
243
<A NAME="navbar_bottom"><!-- --></A>
244
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
246
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
247
<A NAME="navbar_bottom_firstrow"><!-- --></A>
248
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
249
<TR ALIGN="center" VALIGN="top">
250
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
251
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
252
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
253
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AuthSchemeBase.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
254
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
255
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
256
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
257
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
261
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
267
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
268
<A HREF="../../../../../org/apache/commons/httpclient/auth/AuthChallengeParser.html"><B>PREV CLASS</B></A>
269
<A HREF="../../../../../org/apache/commons/httpclient/auth/BasicScheme.html"><B>NEXT CLASS</B></A></FONT></TD>
270
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
271
<A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
272
<A HREF="AuthSchemeBase.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
275
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
276
SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
277
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
278
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
281
<!-- =========== END OF NAVBAR =========== -->
284
Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.