Chapter 4: Architecture of an Intranet Application created that allows all applications to identify an authenticated user. When a user attempts to access an intranet application without logging in first, the application should automatically redirect the user to the login application. When the user is successfully authenticated via the login application, she should be automatically forwarded back to the application she had been attempting to access. The login process should be seamless. Similarly, a central, seamless logout facility should be provided to allow the users to log out from the intranet. . Application-specific authorization: Different types of users exist in an intranet and, therefore, intranet applications must discriminate when authorizing users. Employee access to an intranet application will vary. Because each application will have different requirements for authorizing the user, the task of authorization should be left to the application itself. . A shared database: Most intranet activity involves collaboration or group efforts. For example, users working in a team within a project might need to report the status of the project tasks individually, but the team leader or department head needs to access the information from the entire team to make technical or business decisions. A shared database is therefore the solution to store data. Based on these requirements, let s go ahead and build an intranet application framework. Building an Intranet Application Framework An intranet consists of many applications. It is a good idea to create an application framework that provides a set of commonly needed objects and services to implement applications. Typical intranet applications have user authentication requirements, database access requirements, user interfaces requirements, and business logic requirements. Each application s business logic, which is the work done by the application, is unique and must be implemented in the application code itself. However, each application can benefit from using a standard application framework consisting of objects that standardize authentication, database access, user interface, etc. The framework I will build here will do just that. Figure 4-3 shows the high-level design diagram for an intranet application that will use our application framework. Now let s discuss the components of this architecture.