In this chapter we will create a
SecurityApplication built around a simple Voucher entity to persist travel information. This is a simplified version of an application that allows a user to submit a voucher and for a manager to approve or disapprove it. The voucher entity itself will hold only minimal information.
The illustration of security will be based on a series of classes:
VoucherAn entity holding travel-related information
VoucherFacadeA facade class for the entity
AbstractFacadeThe base class of the
VoucherFacadeclass as described in Chapter 4, Creating an entity facade recipe
VoucherManagerA class used to manage vouchers and where most of the security techniques will be demonstrated