Instant Spring Security Starter
暫譯: 即時 Spring Security 入門指南

Piotr Jagielski, Jakub Nabrdalik

  • 出版商: Packt Publishing
  • 出版日期: 2013-06-14
  • 售價: $1,010
  • 貴賓價: 9.5$960
  • 語言: 英文
  • 頁數: 70
  • 裝訂: Paperback
  • ISBN: 1782168834
  • ISBN-13: 9781782168836
  • 相關分類: Java 相關技術資訊安全
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Learn the fundamentals of web authentication and authorization using Spring Security

Overview

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Learn basic login/password and two-phase authentication
  • Secure access all the way from frontend to backend
  • Learn about the available security models, SPEL, and pragmatic considerations

In Detail

When it comes to security, you need a proven but easy to understand solution. Spring Security is a highly customizable authentication and access-control JVM framework with a 10 year history. It has most of the answers to your security questions ready out of the box, while still allowing you to customize and configure everything you need.

Instant Spring Security Starter will help you get started with Spring Security in one evening of reading and one day of programming. Focusing only on the aspects of Spring Security that are most useful in practice, this book explains the architectural concepts of the framework in a simple and straightforward manner.

You will start off by learning the big picture and how to set up Spring Security, which will give you a better understanding of the fundamentals of the framework. You will be introduced to the authentication and authorization flows and the different possible models of security. The book will then teach you how to secure methods and web resources with business rules and will discuss the reasons for using two-phase authentication. You will also learn about aspects that you need to watch out for, and how to deal with them in integration tests. Furthermore, we will also cover the common pitfalls, mistakes, and open Single Sign-on solutions. By the end of the book, you will have learned how to use Spring Security effectively, and the book will also show you a few advanced but very popular solutions to modern problems.

What you will learn from this book

  • Understand two-phase authentication
  • Secure methods in the backend
  • Write integration tests with access control
  • Secure the backend for REST services and single-page applications

Approach

Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. A concise guide written in an easy-to-follow format following the Starter guide approach.

Who this book is written for

This book is for people who have not used Spring Security before and want to learn how to use it effectively in a short amount of time. It is assumed that readers know both Java and HTTP protocol at the level of basic web programming. The reader should also be familiar with Inversion-of-Control/Dependency Injection, preferably with the Spring framework itself.

商品描述(中文翻譯)

學習使用 Spring Security 的網頁身份驗證和授權基礎知識

概述
- 立即學習新知!一本短小、快速、專注的指南,提供即時結果
- 學習基本的登入/密碼和雙重身份驗證
- 從前端到後端的安全訪問
- 了解可用的安全模型、SPEL 和實用考量

詳細內容
在安全性方面,您需要一個經過驗證但易於理解的解決方案。Spring Security 是一個高度可自訂的身份驗證和訪問控制 JVM 框架,擁有十年的歷史。它幾乎可以即時回答您的安全問題,同時仍然允許您自訂和配置所需的一切。

《Instant Spring Security Starter》將幫助您在一個晚上的閱讀和一天的編程中開始使用 Spring Security。這本書專注於在實踐中最有用的 Spring Security 方面,以簡單明瞭的方式解釋該框架的架構概念。

您將首先學習整體概念以及如何設置 Spring Security,這將幫助您更好地理解該框架的基礎知識。您將了解身份驗證和授權流程以及不同的安全模型。接著,這本書將教您如何使用業務規則來保護方法和網頁資源,並討論使用雙重身份驗證的原因。您還將學習需要注意的方面,以及如何在整合測試中處理這些問題。此外,我們還將涵蓋常見的陷阱、錯誤和開放的單一登入解決方案。在書的結尾,您將學會如何有效地使用 Spring Security,並且這本書還會向您展示一些針對現代問題的進階但非常流行的解決方案。

您將從這本書中學到什麼
- 理解雙重身份驗證
- 保護後端的方法
- 撰寫具有訪問控制的整合測試
- 為 REST 服務和單頁應用程式保護後端

方法
掌握一項新技術,了解它是什麼以及它能為您做什麼,然後開始使用最重要的功能和任務。這是一個簡明的指南,以易於遵循的格式撰寫,遵循入門指南的方法。

這本書的讀者對象
這本書適合那些之前未使用過 Spring Security 並希望在短時間內有效學習如何使用它的人。假設讀者了解 Java 和 HTTP 協議,並具備基本的網頁編程知識。讀者還應該熟悉控制反轉/依賴注入,最好是對 Spring 框架本身有所了解。