07.11.2014 Views

Enterprise Library Test Guide - Willy .Net

Enterprise Library Test Guide - Willy .Net

Enterprise Library Test Guide - Willy .Net

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Test</strong>ing the Security Application<br />

Block<br />

This chapter explains how functional testing techniques were used to test the Security<br />

Application Block. If you have modified or extended the Security Application<br />

Block, you can use the same techniques and adapt the chapter’s templates and checklists<br />

to test your own work.<br />

Requirements for the Security Application Block<br />

The Security Application Block has the following requirements:<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

The application block should be extensible.<br />

The application block should provide a simple interface for authorization operations.<br />

The application block should provide a simple interface for saving, expiring, and<br />

retrieving the identity from a caching store.<br />

The application block should provide a standard provider model for authorization<br />

and security-related caching.<br />

Authorization providers and security cache providers should be configurable.<br />

The application block should be able to read configuration information from any<br />

configuration source, such as an XML file or a database.<br />

The application block should support configurable instrumentation, including<br />

WMI (Windows Management Instrumentation), performance counters, and event<br />

logs.<br />

The application block should work with desktop applications and with Web<br />

applications.<br />

These requirements must be incorporated into the design and implemented by the<br />

code.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!