// Copyright 2004, 2005 The Apache Software Foundation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// At one time, the page service required a session, but that is no longer necessary.
// Users can now bookmark pages within a Tapestry application. Pages
// can implement validate() and throw a PageRedirectException if they don't
// want to be accessed this way. For example, most applications have a concept
// of a "login" and have a few pages that don't require the user to be logged in,
// and other pages that do. The protected pages should redirect to a login page.