cas与security集成能入口点casEntryPoint能配置客户端登录吗?

我的配置如下,始终    不走casFilter,求大神帮忙解决一下。谢谢!


<!-- sends to the CAS Server, must be in entry-point-ref of security.xml -->

   <bean id="casEntryPoint" class="org.springframework.security.cas.web.CasAuthenticationEntryPoint">

        <property name="serviceProperties" ref="serviceProperties"/>

        <property name="loginUrl" value="${cas.client.login}" />  

    </bean> 

     <bean id="casFilter"

        class="org.springframework.security.cas.web.CasAuthenticationFilter">

        <property name="authenticationManager" ref="authenticationManager"/>

         <property name="filterProcessesUrl" value="/login"/>

         <!--     <property name="proxyGrantingTicketStorage" ref="proxyGrantingTicketStorage"/>

      <property name="proxyReceptorUrl" value="/proxyCallback"/> -->

     </bean> 

     


qq_阿杰_14
浏览 2021回答 0
0回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java