#### Log Out Portlet

The Log Out portlet (Logout.portlet) enables a user to log out of the Avitek intranet portal. The Content URI property in the Property Editor window specifies the following file as the page flow file referenced by the Log Out portlet: /logout/Controller.jpf.

The following figure shows the controller file, Controller.jpf, for the Log Out page flow in the Flow View canvas of the Page Flow Designer.

Controller File for the Log Out Page Flow

The following table describes each component of the controller file for the Log Out page flow.

Components of the Controller File for the Log Out Page Flow

Component | Function
--- | ---
begin Icon | Passes control to the logout.jsp file.
logout.jsp | Displays the name of the current user and enables a user to log out.
logout Action | Initiates the logout process when a user clicks the Log Out button. Triggers the logout actions defined in the Employee and Order portlets to expire any current data.
loggedout.jsp | Displays a message indicating that the user has been logged out.
logIn Action | Returns the user to the login/logout.jsp file.