~ubuntu-branches/ubuntu/natty/evolution-exchange/natty

« back to all changes in this revision

Viewing changes to docs/reference/html/ximian-connector-fba.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-03-17 02:41:01 UTC
  • mfrom: (1.1.56 upstream)
  • Revision ID: james.westby@ubuntu.com-20090317024101-slykmlnk7zgcz318
Tags: 2.26.0-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="ch02.html" title="Implementation of Connector Features">
9
9
<link rel="prev" href="ximian-connector-favorites.html" title="Favorite Public Folders">
10
10
<link rel="next" href="ximian-connector-freebusy.html" title="Free/Busy Searches">
11
 
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.12 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="chapter" href="ch01.html" title="Exchange Architectural Notes">
14
14
<link rel="chapter" href="ch02.html" title="Implementation of Connector Features">
113
113
We then <span class="command"><strong>POST</strong></span> the form with the user's username and
114
114
password:
115
115
</p>
116
 
<div class="informalexample"><pre class="programlisting">
117
 
POST /exchweb/bin/auth/owaauth.dll HTTP/1.1
118
 
Host: ex2k3.xcs.ximian.com
 
116
<div class="informalexample">
 
117
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
 
118
    <tbody>
 
119
      <tr>
 
120
        <td class="listing_lines" align="right"><pre>1
 
121
2
 
122
3
 
123
4
 
124
5
 
125
6</pre></td>
 
126
        <td class="listing_code"><pre class="programlisting">POST /exchweb/bin/auth/owaauth.dll HTTP/<span class="number">1.1</span>
 
127
<span class="keyword">Host</span>: ex2k3.xcs.ximian.com
119
128
Content-Type: application/x-www-form-urlencoded
120
 
Content-Length: <em class="replaceable"><code>len</code></em>
121
 
 
122
 
destination=https%3A%2F%2Fex2k3.xcs.ximian.com%2Fexchange%2F&amp;flags=0&amp;username=<em class="replaceable"><code>username</code></em>&amp;password=<em class="replaceable"><code>password</code></em>&amp;SubmitCreds=Log+On&amp;trusted=4
123
 
</pre></div>
 
129
Content-Length: &lt;em <span class="type">class</span>=<span class="number">&quot;replaceable&quot;</span>&gt;&lt;code&gt;len&lt;/code&gt;&lt;/em&gt;
 
130
 
 
131
destination=https%3A%<span class="number">2F</span>%<span class="number">2F</span>ex2k3.xcs.ximian.com%<span class="number">2F</span>exchange%<span class="number">2F</span>&amp;flags=<span class="number">0</span>&amp;username=&lt;em <span class="type">class</span>=<span class="number">&quot;replaceable&quot;</span>&gt;&lt;code&gt;username&lt;/code&gt;&lt;/em&gt;&amp;password=&lt;em <span class="type">class</span>=<span class="number">&quot;replaceable&quot;</span>&gt;&lt;code&gt;password&lt;/code&gt;&lt;/em&gt;&amp;SubmitCreds=Log+On&amp;trusted=<span class="number">4</span></pre></td>
 
132
      </tr>
 
133
    </tbody>
 
134
  <table>
 
135
</div>
 
136
 
124
137
<p>
125
138
To which the server responds:
126
139
</p>
127
 
<div class="informalexample"><pre class="programlisting">
128
 
HTTP/1.1 302 Moved Temporarily
129
 
Server: Microsoft-IIS/5.0
130
 
Date: Thu, 24 Jul 2003 17:23:33 GMT
 
140
<div class="informalexample">
 
141
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
 
142
    <tbody>
 
143
      <tr>
 
144
        <td class="listing_lines" align="right"><pre>1
 
145
2
 
146
3
 
147
4
 
148
5
 
149
6
 
150
7
 
151
8</pre></td>
 
152
        <td class="listing_code"><pre class="programlisting">HTTP/<span class="number">1.1</span> <span class="number">302</span> Moved Temporarily
 
153
<span class="keyword">Server</span>: Microsoft-IIS/<span class="number">5.0</span>
 
154
<span class="keyword">Date</span>: Thu, <span class="number">24</span> Jul <span class="number">2003</span> <span class="number">17</span>:<span class="number">23</span>:<span class="number">33</span> GMT
131
155
X-Powered-By: ASP.NET
132
 
Location: https://ex2k3.xcs.ximian.com/exchange/
133
 
Set-Cookie: sessionid=fbb50caf-381a-4f85-9582-a7a902b4561f,0x409; path=/
134
 
Set-Cookie: cadata="2,8JOrhvROIJykiSTShG6Ujrigo+a5XQgEbws7tq3//37QERyFwWDoV7xw6DG+Awlm"; HttpOnly; secure; path=/
135
 
Content-Length: 0
136
 
</pre></div>
 
156
<span class="keyword">Location</span>: https:<span class="comment">//ex2k3.xcs.ximian.com/exchange/</span>
 
157
Set-Cookie: sessionid=fbb50caf-381a-<span class="number">4f</span>85-<span class="number">9582</span>-a7a902b4561f,<span class="number">0x409</span>; path=/
 
158
Set-Cookie: cadata=<span class="number">&quot;2,8JOrhvROIJykiSTShG6Ujrigo+a5XQgEbws7tq3//37QERyFwWDoV7xw6DG+Awlm&quot;</span>; HttpOnly; secure; path=/
 
159
Content-Length: <span class="number">0</span></pre></td>
 
160
      </tr>
 
161
    </tbody>
 
162
  <table>
 
163
</div>
 
164
 
137
165
<p>
138
166
("<code class="literal">HttpOnly</code>" is a Microsoft extension to the Cookie
139
167
protocol, which means that the cookie should not be visible to
146
174
good. This request (and all further requests) should include the two
147
175
cookies:
148
176
</p>
149
 
<div class="informalexample"><pre class="programlisting">
150
 
Cookie: sessionid=fbb50caf-381a-4f85-9582-a7a902b4561f,0x409;
151
 
        cadata="2,8JOrhvROIJykiSTShG6Ujrigo+a5XQgEbws7tq3//37QERyFwWDoV7xw6DG+Awlm"
152
 
</pre></div>
 
177
<div class="informalexample">
 
178
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
 
179
    <tbody>
 
180
      <tr>
 
181
        <td class="listing_lines" align="right"><pre>1
 
182
2</pre></td>
 
183
        <td class="listing_code"><pre class="programlisting"><span class="keyword">Cookie</span>: sessionid=fbb50caf-381a-<span class="number">4f</span>85-<span class="number">9582</span>-a7a902b4561f,<span class="number">0x409</span>;
 
184
        cadata=<span class="number">&quot;2,8JOrhvROIJykiSTShG6Ujrigo+a5XQgEbws7tq3//37QERyFwWDoV7xw6DG+Awlm&quot;</span></pre></td>
 
185
      </tr>
 
186
    </tbody>
 
187
  <table>
 
188
</div>
 
189
 
153
190
<p>
154
191
If you do an <span class="application">OWA</span> <span class="command"><strong>GET</strong></span> (a
155
192
<span class="command"><strong>GET</strong></span> without "<code class="literal">Translate: F</code>"),
159
196
"<code class="literal"><span class="errorcode">440</span> <span class="errorname">Login
160
197
Timeout</span></code>" cancelling the cookie:
161
198
</p>
162
 
<div class="informalexample"><pre class="programlisting">
163
 
440 Login Timeout
164
 
Set-Cookie: sessionid=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
165
 
Set-Cookie: cadata=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
166
 
Connection: close
167
 
</pre></div>
 
199
<div class="informalexample">
 
200
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
 
201
    <tbody>
 
202
      <tr>
 
203
        <td class="listing_lines" align="right"><pre>1
 
204
2
 
205
3
 
206
4</pre></td>
 
207
        <td class="listing_code"><pre class="programlisting"><span class="number">440</span> Login Timeout
 
208
Set-Cookie: sessionid=; path=/; expires=Thu, <span class="preproc">0</span><span class="number">1</span>-Jan-<span class="number">1970</span> <span class="preproc">0</span><span class="number">0</span>:<span class="preproc">0</span><span class="number">0</span>:<span class="preproc">0</span><span class="number">0</span> GMT
 
209
Set-Cookie: cadata=; path=/; expires=Thu, <span class="preproc">0</span><span class="number">1</span>-Jan-<span class="number">1970</span> <span class="preproc">0</span><span class="number">0</span>:<span class="preproc">0</span><span class="number">0</span>:<span class="preproc">0</span><span class="number">0</span> GMT
 
210
<span class="keyword">Connection</span>: close</pre></td>
 
211
      </tr>
 
212
    </tbody>
 
213
  <table>
 
214
</div>
 
215
 
168
216
<p>
169
217
Eventually, when the cookie does expire, you will get a
170
218
"<code class="literal"><span class="errorcode">440</span> <span class="errorname">Login
174
222
</div>
175
223
<div class="footer">
176
224
<hr>
177
 
          Generated by GTK-Doc V1.10</div>
 
225
          Generated by GTK-Doc V1.12</div>
178
226
</body>
179
227
</html>