原创 How to use Java produce Signature by USBKey under CryptoAPI/CSP

Perhaps someone need to use USB-KEY or other Hardware Token to generate Digital Signature , through Microsoft CryptoAPI

原创 Yale CAS異常問題總結(1)Unable to validate ProxyTicketValidator之HTTPS hostname wrong: should be........

嚴重: edu.yale.its.tp.cas.client.CASAuthenticationException: Unable to validate ProxyTicketValidator [[edu.yale.its.tp.c

原创 重新實現JCAPI的JCE Provider

The Pheox JCAPI (http://pheox.com/download) 提供一個JCE Provider可以直接操作Microsoft

原创 跟XFire對比, AXIS2是垃圾嗎?

Axis1.x->Axis2的最重要特徵是:hot deployment(Axis2 addresses技術)hot update 但我個人卻對hot

原创 Certificate chain received from 客戶端- 192.168.10.10 was not trusted causing SSL handshake failure...

SSL握手會有很多意想不到的Exception, 其中很多都是因爲沒有配置好cacerts導致的。以Tomcat爲例,你需要在conf/server.

原创 轉載SAML(From wikipedia,國內不能訪問wp,所以轉載到這裏)

1         SAML<o:p></o:p> 2         From Wikipedia, the free encyclopedia<o:p></o:p> Jump to: naviga

原创 關於在Spring中如何統一控制Hibernate和JDBC的事務的討論記錄

 Totodo(888669) 13:17:17HB 和  JDBC 同一個事務? 水木-Spring(3330309) 13:17:40jdbc也是有事務的. 水木-Spring(3330309) 13:17:54hibernate只

原创 BEA AquaLogic Enterprise Security(ALES) 2.2 Released

BEA AquaLogic Enterprise Security supports a variety of Security Service Modules (SSMs) that reside in the application

原创 思考Spring攔截技術與Web Service異常處理的結合

通常,良好的架構都會有很好的異常處理模式,Web Service也不例外。例外的是,當你的項目比較龐大的時候,你的業務方法可能很多並且你並不瞭解他們的

原创 CeltiXfireProposal讓Axis2在Apache的地位被動搖?

在Incubator討論得沸沸揚揚的CeltiXfire提議案,把XFire社區的人的心情都搞得7上8落。http://wiki.apache.org/incubator/CeltiXfireProposalDan Diephouse 對

原创 Amazing GIF

If your eyes follow the movement of the rotating pink dot, you will only se

原创 解決異常:Parser has reached the entity expansion limit "64,000" set by the Application

異常:分析器已達到由應用程序設置的實體擴展限制"64,000"用JDOM分析一個超大的xml文件,大概20M,估計有很多Elements:  SAXBuilder saxbuilder = null;  Document doc_all=

原创 Amazing GIF

If your eyes follow the movement of the rotating pink dot, you will only se

原创 在SpringSide實現XFire Webservice認證

XFire官方網站提供的基於Webservice認證的例子有問題,在新版本的XFire1.1.2中編譯不通過,不過這也是小Case,我後來折騰了一下,

原创 PHP與CAS做SSO

昨天在CAS Server 3.0+CAS Client 2.0.11環境中,增加了一臺PHP的Web Server,使用PHPCAS做SSO,按照以往的思路,配置了一下PHPCAS的CAS目錄下的2個ph