Sample Landing Page and
Login Demo

Skeleton Keys

First, open a copy of this page in a separate tab, so that you can both read the page and navigate away from it.

Add "login" to the URL for this page - that should take you to the login page. This feature is important for content management systems, whose login mechanism should not be an open invitation to casual observers.

Log in with User Id "guest" and Password "easy". You will be returned to this landing page, but you should now see additional information at the top of the page: Welcome guest  | Identity  |  Logout. Click on the identity link to see the identity management page and then return to this page.

Now click the logout link - the new information on this page disappears. This is because the logout script does a logout and then reroutes the browser back to the referring page, which would be this page.

Login again, this time using user Id "admin" and password "easy". Again click the Identity link. Notice that there is an additional panel on the identity management page that you can use to view users, add new users, or change their status; the latter two options have been disabled for this demo. Finally, log out. You will be taken to the login page due to the fact that the identity management page is only for logged in users.

This demo has illustrated the two main ways that websites use logins. One is to add additional information for logged in users, as was done with this page. The other is to hide entire pages for users that are not logged in, as was done with the identity management page.

For information on design goals and recipes for using the login plug-in, see A Login Plug-in.