Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

There are two lines that need to be updated in security.properties

...

. Note that on each line the host name needs to be changed in TWO places.

Change One
No Format
logoutRedirect.root=http://localhost:8080/cas/logout?url=http://localhost:8080/uPortal/Login

becomes

Code Blocknoformat
logoutRedirect.root=http://my.school.edu/cas/logout?url=http://my.school.edu/uPortal/Login

...

Change Two
Code Blocknoformat
org.jasig.portal.channels.CLogin.CasLoginUrl=http://localhost:8080/cas/login?service=http://localhost:8080/uPortal/Login

becomes

Code Blocknoformat
org.jasig.portal.channels.CLogin.CasLoginUrl=http://my.school.edu/cas/login?service=http://my.school.edu/uPortal/Login

uportal-war/src/main/webapp/WEB-INF/web.xml

There are four lines that need to be updated in web.xml

Change One
Code Block
xml
xml

<param-name>edu.yale.its.tp.cas.proxyUrl</param-name>
<param-value>https://localhost:8080/cas/proxy</param-value>

becomes

Code Block
xml
xml

<param-name>edu.yale.its.tp.cas.proxyUrl</param-name>
<param-value>https://my.school.edu/cas/proxy</param-value>
Change Two
Code Block
xml
xml

<param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>
<param-value>http://localhost:8080/cas/serviceValidate</param-value>

becomes

Code Block
xml
xml

<param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>
<param-value>http://my.school.edu/cas/serviceValidate</param-value>
Change Three
Code Block
xml
xml

<param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name>
<param-value>localhost:8080</param-value>

becomes

Code Block
xml
xml

<param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name>
<param-value>my.school.edu</param-value>
Change Four
Code Block
xml
xml

<param-name>edu.yale.its.tp.cas.client.filter.proxyCallbackUrl</param-name>
<param-value>http://localhost:8080/uPortal/CasProxyServlet</param-value>

becomes

Code Block
xml
xml

<param-name>edu.yale.its.tp.cas.client.filter.proxyCallbackUrl</param-name>
<param-value>http://my.school.edu/uPortal/CasProxyServlet</param-value>