Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagehtml/xml
     <util:list id="argumentExtractors">
        <ref bean="casArgumentExtractor" />
        <!-- The OpenId arguments extractor -->
        <ref bean="openIdArgumentExtractor" />
        <ref bean="samlArgumentExtractor" />
     </util:list>

Reference new views

We just added a controller which uses new jsp views. We must reference them.

Open the protocol_views.properties file and add these lines : 

 

Code Block
languagebash
casOpenIdAssociationSuccessView.(class)=org.springframework.web.servlet.view.JstlView
casOpenIdAssociationSuccessView.url=/WEB-INF/view/jsp/protocol/openid/casOpenIdAssociationSuccessView.jsp

casOpenIdAssociationFailureView.(class)=org.springframework.web.servlet.view.JstlView
casOpenIdAssociationFailureView.url=/WEB-INF/view/jsp/protocol/openid/casOpenIdAssociationFailureView.jsp

You're done ! CAS is now configured to work as an OpenId Provider.