原创 《Spring Security教程系列》三.HttpSecurity的使用

HttpSecurity到目前爲止我們的 SecurityConfig 只包含了關於如何驗證我們的用戶的信息。Spring Security怎麼知道我們想對所有的用戶進行驗證?Spring Security怎麼知道我們需要支持基於表單的驗

原创 《Spring Security教程系列》.初識Java 配置

Java配置使用and()方法相當於XML標籤的關閉,這樣允許我們繼續配置父類節點。如果你閱讀代碼他很合理,我想配置請求驗證,並使用表單和HTTP基本身份驗證進行登錄。Java配置和表單登錄因此使用Java代碼配置Spring Secur

原创 【WebService】帶你走進webservice的世界

1. webservice是啥  準確的來說,webservice不是一種技術,而是一種規範。是一種跨平臺,跨語言的規範,用於不同平臺,不同語言開發的應用之間的交互。   舉個例子,比如在Windows Server服務器上有個C#.Ne

原创 【Shiro】Apache Shiro架構之權限認證(Authorization)

上一篇博文總結了一下Shiro中的身份認證,本文主要來總結一下Shiro中的權限認證(Authorization)功能,即授權。如下:    本文參考自Apache Shiro的官方文檔:http://shiro.apache.org/a

原创 【Shiro】Apache Shiro架構之自定義realm

Shiro系列文章: 【Shiro】Apache Shiro架構之身份認證(Authentication) 【Shiro】Apache Shiro架構之權限認證(Authorization) 【Shiro】Apache Shiro架構之集

原创 【Shiro】Apache Shiro架構之集成web

Shiro系列文章: 【Shiro】Apache Shiro架構之身份認證(Authentication) 【Shiro】Apache Shiro架構之權限認證(Authorization) 【Shiro】Apache Shiro架構之自