Spring Security 3.x Cookbook
暫譯: Spring Security 3.x 食譜
Anjana Mankale
- 出版商: Packt Publishing
- 出版日期: 2013-11-22
- 售價: $2,210
- 貴賓價: 9.5 折 $2,100
- 語言: 英文
- 頁數: 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 的強大機制。本書以食譜的形式呈現,涵蓋了各種漏洞和場景。
概述
- 了解使用 Spring Security 現代應用程式的所有必要安全措施
- 探討應用程式層級的身份驗證和授權的不同方法
- 精通如何在開發人員和組織使用的應用程式上實施安全性
詳細內容
網路應用程式在身份驗證、授權、服務和域物件層級面臨各種威脅和漏洞。Spring Security 可以幫助保護這些應用程式免受這些威脅。
Spring Security 是一個流行的 Java 應用程式安全解決方案。它被廣泛用於保護獨立的網路應用程式、portlet,並且越來越多地用於 REST 應用程式。它是一個強大且高度可自訂的身份驗證和存取控制框架。它是保護基於 Spring 的應用程式的事實標準,目前用於保護許多要求嚴格的環境,包括政府機構、軍事應用程式和中央銀行。
《Spring Security 3.x 食譜》是一本食譜集,幫助您成功地使用 Spring Security 框架保護網路應用程式免受身份驗證和會話層級的威脅和漏洞。我們不僅會探索基於 Spring 的網路應用程式,還會研究可以使用 Spring Security 作為其安全框架的 Java 基礎和 Grails 基礎應用程式。除了傳統的網路應用程式,我們還將研究如何保護 portlet、RESTful 網路服務應用程式和其他非網路應用程式。
本書還將指導您如何將 Spring Security 與其他流行的網路框架/技術(如 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 基本、客戶端和摘要的身份驗證
- 在 Grails 中引入基於表單的 Spring Security
- 將 Spring Security 與 Vaadin 整合
- 將 Spring Security 與 ORM 和 NoSQLDB 結合
- 在 Spring-Social(Facebook 和 Twitter)中使用 Spring Security
- 了解 Spring Security 在 SOAP 中的應用
- 使用 Spring Security 驗證 RESTful 服務