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 2. Getting Started with SimpleDB > Building a User Authentication Servi...

Building a User Authentication Service

The requirement for user authentication is a common one: It is necessary in any publicly facing web application or web service. There are many ways to provide methods of user password collection, and there are just as many alternatives for storing that data. In many private intranet applications, there is a need to integrate with an existing authentication system, such as LDAP, Active Directory, or NTLM. On the public Internet, relational database tables are a more likely choice. In this section, you learn how to use SimpleDB as the data store for a user authentication service.

Integrating with the Spring Security Framework

User authentication is only one small part of the security picture. Overall security for an application is complex and difficult to get right. In the vast majority of cases, you integrate your code into a larger security framework rather than writing your own. One popular Java security framework is Spring Security. Spring Security is an open-source project and has been available for many years. One of the benefits of using the Spring Security framework is that it can be used in many different contexts, whether you run it as a web application or as a web service, or from within a desktop client.


  

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