原创 爲IJ,WS安裝idea-multimarkdown.1.4.3

背景:markdown編輯有很多,我用過markdownpad,markdown editor,stackedit.前面兩個根本不好用,stacke

原创 在IJ上調式遠程jetty和tomcat

開發的應用在本地運行得好好的,但部署到服務器,應用服務能正常啓動起來,運行就總是出問題.對於這種場景,遠程調式就比較有用.具體使用如下: 一.使用IJ打開項目 (以前我稱爲IDEA,既然新Logo是IJ,我也這樣叫吧),點擊右上角

原创 spring Security oAuth2例子分析

oauth2 參考: 1.https://tools.ietf.org/html/rfc6749 2.http://projects.spring.io/spring-security-oauth/docs/oauth2.ht

原创 反向代理分離資源服務器分析

參考:https://github.com/spring-guides/tut-spring-security-and-angular-js/blob/master/proxy/README.adoc 和前文相似,使用Sprin

原创 springSecurity分離資源服務器分析

參考:https://github.com/spring-guides/tut-spring-security-and-angular-js/tree/master/vanilla 使用SpringSession實現HttpSe

原创 使用JWT的OAuth2的SSO分析

參考:https://github.com/spring-guides/tut-spring-security-and-angular-js/blob/master/oauth2/README.adoc http://jwt.i

原创 使用OAuth2的SSO分析

參考:https://github.com/spring-guides/tut-spring-security-and-angular-js/blob/master/oauth2-vanilla/README.adoc 1.

原创 關於springSecurity

保存請求與移除請求 //save request org.springframework.security.web.access.ExceptionTranslationFilter#doFilter{ handleSpringS

原创 基於javaConfig的springDataJpa+dubbo+springMvc搭建(一)

很遺憾dubbo的幾個創始人好像不維護dubbo了,最近有些人更新到了2.8.4:http://code.taobao.org/p/dubbox/src/trunk/dubbox/ dubbo的官網:http://dubbo.i

原创 svn忽略提交

svn忽略提交有兩種情況: 1.遠程庫沒有的文件,提交時想忽略 2.遠程庫已有的文件,提交時想忽略 第一種情況: 運行日誌,.class編譯文件,I

原创 全選和地區聯動

全選 js $(function($) { //全選/全不選 $("#listForm .checkAll").click(function(){ $("#listForm

原创 在idea使用jetty

參考:https://www.jetbrains.com/idea/help/run-debug-configuration-jetty-serve

原创 solr.in.action-ch07(7.1-7.3)

7.1.1請求處理器 請求處理器是所有到solr請求的入口,它們的工作就是接收一個請求,進行一些函數,然後返回一個響應到客戶端.solr包含大量的請

原创 修改返回token內容與手工獲取token

本文基於spring-security-oauth2實現的oauth2. 通過使用TokenEnhancer來修改授權服務器返回token的內容. @Bean public TokenEnhancer tokenE

原创 一個網關與多UI應用

參考:https://github.com/spring-guides/tut-spring-security-and-angular-js/tree/master/double 先看目標架構圖: 1.包含一個網關Gatewa