About the cas authentication module ...


It seems that to make it work with some CAS configurations, source of the CAS2-login-module has to be modified

see here the checkProxyCasTicket(…) method:

 protected String checkProxyCasTicket(String ticket,
            HttpServletRequest httpRequest) {
        // Get the service passed by the portlet
        String service = httpRequest.getParameter(serviceKey);
        if (service == null) {
            // added ESUP => does not work otherwise. 
            service = getAppURL(httpRequest);            
            //log.error("checkProxyCasTicket: no service name in the URL");
            //return null;

This is kind of annoying for those who want to benefit the hotfix mecanism …

Is it still up to date ?

Thank you

0 votes

0 answers