<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    方槍槍的java世界

    不要因為風雨飄落就停止了你的腳步,真正的得失就在你的心中。 做喜歡做的事,不輕言放棄!

    08 整合spring3和mybatis進行web開發之global_security_xml

    <?xml version="1.0" encoding="UTF-8"?>
    <beans:beans xmlns=" xmlns:xsi=" xmlns:lang="http://www.springframework.org/schema/beans   
           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd  
           http://www.springframework.org/schema/aop   
           http://www.springframework.org/schema/aop/spring-aop-3.0.xsd  
           http://www.springframework.org/schema/tx   
           http://www.springframework.org/schema/tx/spring-tx-3.0.xsd     
           http://www.springframework.org/schema/context   
           http://www.springframework.org/schema/context/spring-context-3.0.xsd     
           http://www.springframework.org/schema/jee   
           http://www.springframework.org/schema/jee/spring-jee-3.0.xsd      
           http://www.springframework.org/schema/lang  
           http://www.springframework.org/schema/lang/spring-lang-3.0.xsd  
           http://www.springframework.org/schema/security   
          

     <http access-denied-page="/accessDenied.jsp">
      <intercept-url pattern="/styles/**" filters="none" />
      <intercept-url pattern="/images/**" filters="none" />
      <intercept-url pattern="/scripts/**" filters="none" />
      <intercept-url pattern="/index.jsp" filters="none" />  
      <intercept-url pattern="/login.jsp" filters="none" />
      <intercept-url pattern="/accessDenied.jsp" filters="none" />
      <intercept-url pattern="/role/**" access="ROLE_ADMIN" />
      <intercept-url pattern="/**" access="ROLE_USER,ROLE_ADMIN" />

      <!-- default-target-url="/home/load" -->
      <form-login login-page="/login.jsp"
       authentication-failure-url="/login.jsp?error=true"
       default-target-url="/main.jsp"
       always-use-default-target="true" />
      <logout logout-success-url="/login.jsp" />
      <http-basic />
     </http>

     <authentication-manager>
      <authentication-provider>
       <user-service>
        <user name="admin" password="1" authorities="ROLE_ADMIN" />
        <user name="a" password="1" authorities="ROLE_USER" />
        <user name="b" password="2" authorities="ROLE_USER,ROLE_ADMIN" />
        <user name="c" password="3" authorities="ROLE_GUEST" />
       </user-service>
      </authentication-provider>
     </authentication-manager>

    </beans:beans> 

    posted on 2012-07-07 15:14 做強大的自己 閱讀(179) 評論(0)  編輯  收藏 所屬分類: Spring

    主站蜘蛛池模板: 亚洲日韩aⅴ在线视频| 国产精品久久久亚洲| 中文字幕无码日韩专区免费| 国产黄色片在线免费观看| 亚洲国产精品无码久久98 | 日本红怡院亚洲红怡院最新| 一级A毛片免费观看久久精品| 免费a级毛片永久免费| 思思久久99热免费精品6| 日韩亚洲国产综合久久久| 全黄A免费一级毛片| 亚洲精品和日本精品| 国产午夜无码片免费| 亚洲va无码手机在线电影| 特级无码毛片免费视频尤物| 亚洲精品在线播放视频| 无码国产精品一区二区免费式影视 | 日韩在线视频免费看| 免费大片黄在线观看| 国产91精品一区二区麻豆亚洲| 青柠影视在线观看免费高清| 亚洲人成在线观看| 性短视频在线观看免费不卡流畅| 亚洲一卡2卡3卡4卡国产网站| 最近中文字幕无免费视频| 亚洲成在人线aⅴ免费毛片| 亚洲精品国产成人影院| 成人黄网站片免费视频| 亚洲精品资源在线| 免费看片A级毛片免费看| 日本高清免费中文在线看| 亚洲国产精品一区二区久久hs| 2022久久国产精品免费热麻豆| 亚洲AV无码一区二区三区在线| 日本二区免费一片黄2019| 国产精品一区二区三区免费| 久久亚洲日韩看片无码| 国产男女猛烈无遮挡免费视频网站 | 亚洲第一区在线观看| 亚洲熟妇无码AV| 亚洲精品成人a在线观看|