無極,無際,無跡

            BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
            3 Posts :: 8 Stories :: 10 Comments :: 0 Trackbacks
          不得不再感嘆一下,策略模式在SpringSecurity中用的地方太多了!

          ? SecurityContextHolder, to provide access to the SecurityContext.
          ? SecurityContext,  to  hold  the  Authentication  and  possibly  request-specific  security
          information.
          ? Authentication, to represent the principal in a Spring Security-specific manner.
          ? GrantedAuthority, to reflect the application-wide permissions granted to a principal.
          ? UserDetails, to provide the necessary information to build an Authentication object from your
          application's DAOs or other source source of security data.
          ? UserDetailsService, to create a UserDetails when passed in a String-based username
          (or certificate ID or the like).
          (以上是從文檔里面抄出來的!)
          這就是權限的核心了!!(持續修改中。。。。。。)
          posted on 2009-12-25 15:53 taochen 閱讀(769) 評論(0)  編輯  收藏 所屬分類: java軟件架構
          主站蜘蛛池模板: 梅州市| 洪湖市| 穆棱市| 石门县| 德惠市| 太仓市| 汶川县| 永善县| 墨玉县| 崇礼县| 杭锦后旗| 赤城县| 邯郸县| 唐山市| 吉木萨尔县| 五常市| 静安区| 景谷| 镇坪县| 乐至县| 湖州市| 富蕴县| 县级市| 喀喇沁旗| 香港 | 基隆市| 临邑县| 莱西市| 阿克| 广昌县| 镇安县| 乾安县| 团风县| 沽源县| 随州市| 红原县| 富平县| 麦盖提县| 塘沽区| 涿州市| 万荣县|