将session的id通过url方式传达过去即可。估后通过session id向CAS请求用户即可。

解决方案 »

  1.   

    Once the user has logged into your application through the filter, the application 
    may access the user'sn name through the session attribute, edu.yale.its.tp.cas.client.filter.user, or if you import edu.yale.its.tip.cas.client.filter.CASFitler into your JSP or servlet, simply CASFilter.CAS_FILTER_USER.So you can get the current login user's name be the following code:String loginUserName = session.getAttribute(CASFilter.CAS_FILTER_USER);or String loginUserName = (String) session.getAttribute("edu.yale.its.tp.casa.client.filter.user");
      

  2.   

    一般的开源CAS系统里会将userid保存在session中的