cas 服务端返回多用户信息 cas客户端获取不到用户信息的解决

检查filter协议版本   web.xml中 红色配置的filter 是否是Cas20ProxyReceivingTicketValidationFilter 2.0协议

若是Cas10TicketValidationFilter 修改为Cas20ProxyReceivingTicketValidationFilter


   
        CAS Validation Filter
        org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter
       
            casServerUrlPrefix
            http://localhost:8080/bgerp
       

       
            serverName
            http://localhost:8080
       

       
            redirectAfterValidation
            true
       

   

你可能感兴趣的:(cas)