Out of all these cases, only the ?¬?rst two are very likely to occur.
The ?¬?rst can be ignored, and the second can be detected before
making the call.
Using the Event Viewer
If you plan to do any development work with CardSpace, it??™s good to be familiar
with Windows Event Viewer (see Figure 4-1). Many errors that CardSpace encounters
are only logged in the Event Viewer. For others, even if an error message
is shown in CardSpace, the Event Viewer has more detailed information in
the log ?¬?les. The Event Viewer can be opened by going to Control Panel,
Administrator Tools, and clicking the Event Viewer shortcut. Or, it can be accessed
by entering eventvwr in the Run box.
Figure 4-1 The Event Viewer showing some CardSpace errors
238 CardSpace Implementation
CardSpace events appear in the Application logs, which can be
navigated to by the tree view on the left. The CardSpace logs
will have a source of CardSpace 3.0.0.0 for the .NET 3.0 version
of CardSpace.
Processing the Token
Processing the token returned by CardSpace would typically be
done by a token-processing library; there are several available,
and surely more to come. The details of this section are useful in
understanding how tokens are processed, but it is not a guide to
implementation.
Pages:
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362