0 Replies Latest reply on Jan 17, 2011 12:38 PM by bteixeira

    SSO with multiple Portal Containers

    bteixeira

      Hello all

       

      I was having problems this morning enabling SSO with more than one Portal Container. Situation:

      - Default portal container with 'classic' portal

      - My custom portal container, with a portal named 'superportal'

      - Both portal containers authentified through the same remote CAS server

      - All in JBoss

       

      I managed to solve the issue, but I had to edit some classes. Turns out  CASAgent.java has a hardcoded address "/private/classic" :

       

      String serviceUrl = "http://"+ httpRequest.getServerName() +":" + httpRequest.getServerPort()
       + httpRequest.getContextPath() +"/private/classic";
      
      

       

       

      What I did is take the "/private/classic" out and replace with a parameter I pass from web.xml

       

      Now, has this been solved already with a more simple solution? If not, is there any way I can contribute this?

       

      Thanks