文章詳情頁
JSR 196:pluggable authentication for JEE containers 草案發布
瀏覽:143日期:2024-06-02 14:31:18
從專家組成立到現在,經過3年的時間,JSR 196-Java Authentication Service Provider Interface for Containers 的草案終于出來和大家見面了.. 這個標準主要是給安全和用戶管理產品的開發商(而不是應用開發者). 這個標準的出臺將使得JEE的服務器可以輕松的整合第三方的提供的驗證服務,而不用像現在這樣,安全和用戶管理產品的開發商還必須對每個應用服務器都實現定制的接口從而才可以插入到這些服務器中,比如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. 標準中提到整個的解釋過程將包括4處地方,2處在client端(第一次request,在服務器response之前),2處在服務器端(接收到request,和request處理完畢)... 點評: 標準的出臺對開發廠商來說是一件好事...當然,在此之前,大家可以暫時現有的集成,或者使用Acegi,一個評價不錯的安全框架...關于Acegi的介紹:http://www.matrix.org.cn/resource/article/1730_Acegi.html
標簽:
JavaScript
相關文章:
1. SpringBoot使用prometheus監控的示例代碼2. ASP.NET Core 7 Razor Pages項目發布到IIS的詳細過程3. JSF開發利器FaceletsTools 1.0 for Dreamweaver 發布4. IntelliJ IDEA 2021.1 EAP 1 發布支持 Java 16 和 WSL 25. jBixbe 1.0-alpha 發布 -- Java 調試器6. Java 用Prometheus搭建實時監控系統過程詳解7. Java SE 6 Beta 發布8. 支持中文轉換到拼音的Java庫 pinyin4j-2.5.0 發布9. python 如何用 Hypothesis 來自動化單元測試10. Prometheus監控Springboot程序的實現方法
排行榜
