Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Developing Protected Portions... > Performing Custom Form-Based Authori...

Performing Custom Form-Based Authorization

One way to perform custom authorization is by displaying a form when the user attempts to access a "protected" resource. You cannot protect a resource by simple system administration, as you saw in the server HTTP authentication. You will need to embed code to perform the authorization. Thus, only JSPs and servlets can be marked as protected resources because they are the only resources within which custom code can be added. Static resources, such as HTML pages and images, are therefore outside the scope of custom authorization.

Adding Bids for Items

For the first form-based custom authorization, you will develop the module that allows a user to place bids for an item. The different JSPs in the module as well as the data flows between them are shown in Figure 8.4.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint