文章詳情頁
JSR 196:pluggable authentication for JEE containers 草案發(fā)布
瀏覽:142日期:2024-06-02 14:31:18
從專家組成立到現(xiàn)在,經(jīng)過3年的時(shí)間,JSR 196-Java Authentication Service Provider Interface for Containers 的草案終于出來和大家見面了.. 這個(gè)標(biāo)準(zhǔn)主要是給安全和用戶管理產(chǎn)品的開發(fā)商(而不是應(yīng)用開發(fā)者). 這個(gè)標(biāo)準(zhǔn)的出臺(tái)將使得JEE的服務(wù)器可以輕松的整合第三方的提供的驗(yàn)證服務(wù),而不用像現(xiàn)在這樣,安全和用戶管理產(chǎn)品的開發(fā)商還必須對(duì)每個(gè)應(yīng)用服務(wù)器都實(shí)現(xiàn)定制的接口從而才可以插入到這些服務(wù)器中,比如weblogic.security.spi.AuthenticationProvider.. 整合變得更加容易,下面是JSR中的描述:A typical message interaction between a client and server begins with a request from the client to the server. The server recieves the request and dispatches it to a service to perform the requested operation. When the service completes, it creates a response that is returned back to the client. The SPI defined by the specification is structured such that message processing runtimes can inject security processing at four points in the typical message interaction scenario. A message processing runtime uses the SPI at these points to delegate the corresponding message security processing to an authentication provider or module integrated into the runtime by way of the SPI. 標(biāo)準(zhǔn)中提到整個(gè)的解釋過程將包括4處地方,2處在client端(第一次request,在服務(wù)器response之前),2處在服務(wù)器端(接收到request,和request處理完畢)... 點(diǎn)評(píng): 標(biāo)準(zhǔn)的出臺(tái)對(duì)開發(fā)廠商來說是一件好事...當(dāng)然,在此之前,大家可以暫時(shí)現(xiàn)有的集成,或者使用Acegi,一個(gè)評(píng)價(jià)不錯(cuò)的安全框架...關(guān)于Acegi的介紹:http://www.matrix.org.cn/resource/article/1730_Acegi.html
標(biāo)簽:
JavaScript
相關(guān)文章:
1. Java剖析工具YourKit 發(fā)布5.0版本2. Docker 部署 Prometheus的安裝詳細(xì)教程3. Spring Cloud 2020.0.0正式發(fā)布再見了Netflix4. Java 用Prometheus搭建實(shí)時(shí)監(jiān)控系統(tǒng)過程詳解5. 基于python調(diào)用jenkins-cli實(shí)現(xiàn)快速發(fā)布6. SpringBoot使用prometheus監(jiān)控的示例代碼7. jBixbe 1.0-alpha 發(fā)布 -- Java 調(diào)試器8. 基于Rake和Gems的Java構(gòu)造工具Raven 1.1 發(fā)布9. python 如何用 Hypothesis 來自動(dòng)化單元測(cè)試10. PHP 4.4.0發(fā)布 修復(fù)導(dǎo)致內(nèi)存崩潰問題
排行榜
