Spring Security 3.x Cookbook
Anjana Mankale
- 出版商: Packt Publishing
- 出版日期: 2013-11-22
- 售價: $2,180
- 貴賓價: 9.5 折 $2,071
- 語言: 英文
- 頁數: 300
- 裝訂: Paperback
- ISBN: 1782167528
- ISBN-13: 9781782167525
-
相關分類:
Java 相關技術、資訊安全
海外代購書籍(需單獨結帳)
相關主題
商品描述
Secure your Java applications against online threats by learning the powerful mechanisms of Spring Security. Presented as a cookbook full of recipes, this book covers a wide range of vulnerabilities and scenarios.
Overview
- Learn about all the mandatory security measures for modern day applications using Spring Security
- Investigate different approaches to application level authentication and authorization
- Master how to mount security on applications used by developers and organizations
In Detail
Web applications are exposed to a variety of threats and vulnerabilities at the authentication, authorization, service, and domain object levels. Spring Security can help secure these applications against those threats.
Spring Security is a popular application security solution for Java applications. It is widely used to secure standalone web applications, portlets, and increasingly REST applications. It is a powerful and highly customizable authentication and access-control framework. It is the de-facto standard for securing Spring-based applications and it is currently used to secure numerous demanding environments including government agencies, military applications, and central banks.
"Spring Security 3.x Cookbook" is a repository of recipes to help you successfully secure web applications against threats and vulnerabilities at the authentication and session level layers using the Spring Security framework. We will not only explore Spring-based web applications, but also Java-based and Grails-based applications that can use Spring Security as their security framework. Apart from conventional web applications, we will also look at securing portlets, RESTful web service applications, and other non-web applications.
This book will also take you through how to integrate Spring Security with other popular web frameworks/technologies such as Vaadin, EJB, and GWT. In addition to testing and debugging the implemented security measures, this book will also delve into finer aspects of Spring Security implementation such as how it deals with concurrency, multitenancy, and customization, and we will even show you how to disable it.
This book gives you an overview of Spring Security and its implementation with various frameworks. It starts with container-based authentication before taking you on a tour of the main features of Spring Security. It demonstrates security concepts like BASIC, FORM, and DIGEST authentication and shows you how to integrate the Spring Security framework with various frameworks like JSF, struts2, Vaadin, and more.
The book also demonstrates how to utilize container managed security without JAAS. Then, we move on to setting up a struts2 application before showing you how to integrate Spring Security with other frameworks like JSF, Groovy, Wicket, GWT, and Vaadin respectively.
This book will serve as a highly practical guide and will give you confidence when it comes to applying security to your applications. It's packed with simple examples which show off each concept of Spring Security and which help you learn how it can be integrated with various frameworks.
What you will learn from this book
- Implement Form-based, HTTP Basic, Client, and Digest authentications
- Bring in Groovy on Grails with Form-based Spring Security
- Integrate Spring Security with Vaadin
- Combine Spring Security with ORM and NoSQLDB
- Use Spring Security in Spring-Social (Facebook and Twitter)
- Learn about Spring Security for SOAP
- Authenticate RESTful services with Spring Security
商品描述(中文翻譯)
這本書以食譜的形式呈現,涵蓋了各種漏洞和情境,幫助您保護Java應用程式免受線上威脅。學習Spring Security的強大機制,確保您的Java應用程式的安全性。
概述:
- 了解使用Spring Security保護現代應用程式所需的所有強制性安全措施。
- 探索應用程式層級身分驗證和授權的不同方法。
- 掌握如何在開發人員和組織使用的應用程式上實施安全性。
詳細內容:
Web應用程式在身分驗證、授權、服務和領域物件層面上面臨各種威脅和漏洞。Spring Security可以幫助保護這些應用程式免受這些威脅。
Spring Security是Java應用程式的流行應用程式安全解決方案。它被廣泛用於保護獨立的Web應用程式、Portlet和越來越多的REST應用程式。它是一個功能強大且高度可自訂的身分驗證和存取控制框架。它是保護基於Spring的應用程式的事實上的標準,目前被用於保護許多要求嚴格的環境,包括政府機構、軍事應用程式和中央銀行。
《Spring Security 3.x Cookbook》是一本食譜庫,幫助您使用Spring Security框架成功保護Web應用程式免受身分驗證和會話層面的威脅和漏洞。我們不僅會探索基於Spring的Web應用程式,還會探討使用Spring Security作為安全框架的基於Java和Grails的應用程式。除了傳統的Web應用程式,我們還會研究如何保護Portlet、RESTful Web服務應用程式和其他非Web應用程式。
本書還將帶您了解如何將Spring Security與其他流行的Web框架/技術(如Vaadin、EJB和GWT)整合。除了測試和調試實施的安全措施外,本書還將深入探討Spring Security實現的細節,例如它如何處理並發性、多租戶和自訂化,甚至還會向您展示如何禁用它。
本書概述了Spring Security及其與各種框架的實現。它從基於容器的身分驗證開始,然後帶您遊覽Spring Security的主要功能。它演示了BASIC、FORM和DIGEST身分驗證等安全性概念,並向您展示如何將Spring Security框架與JSF、Struts2、Vaadin等各種框架整合。
本書還演示了如何在不使用JAAS的情況下利用容器管理的安全性。然後,我們將設置一個Struts2應用程式,然後分別向您展示如何將Spring Security與JSF、Groovy、Wicket、GWT和Vaadin等其他框架整合。
本書將作為一本高度實用的指南,讓您在應用程式安全性方面充滿信心。它充滿了簡單的示例,展示了Spring Security的每個概念,並幫助您了解如何將其與各種框架整合。
從本書中您將學到:
- 實施基於表單、HTTP基本、客戶端和摘要身分驗證。
- 使用基於表單的Spring Security將Groovy on Grails引入。
- 將Spring Security與Vaadin整合。
- 將Spring Security與ORM和NoSQLDB結合使用。
- 在Spring-Social(Facebook和Twitter)中使用Spring Security。
- 了解SOAP的Spring Security。
- 使用Spring Security驗證RESTful服務。