We will begin with describing a sample application, identify its authentication and authorization requirements and then use JAAS to add these features. We will be using the same application in subsequent chapters also to illustrate other security concepts. So let us spend some time understanding it.
The sample application creates a highly simplified banking scenario. It consists of a number of files in %JSTK_HOME%\src\org\jstk\example\bank directory. Table 5-3 lists all the files and has a brief description of each file.
|BankIntf.java||Interface to expose bank operations.|
|AccountIntf.java||Interface to expose operations on a bank ...|