...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<filter> <filter-name>CAS Validate Filter</filter-name> <filter-class>edu.yale.its.tp.cas.client.filter.CASValidateFilter</filter-class> <init-param> <param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name> <param-value>http://your.cas.server.com/cas/serviceValidate</param-value> </init-param> <init-param> <param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name> <param-value>yourportal.server.com</param-value> </init-param> <init-param> <param-name>edu.yale.its.tp.cas.client.filter.proxyCallbackUrl</param-name> <param-value>http://your.casyourportal.server.com/uPortal/CasProxyServlet</param-value> </init-param> </filter> |
...
Set the login URL for the portal (it's important that you use HTTP encoding if your URL contains spaces, etc)
No Format |
---|
## Login URL, if specified the CLogin channel will display a Login link with ## this URL instead of the standard userName/password form. org.jasig.portal.channels.CLogin.CasLoginUrl=http://your.cas.server.com/cas/login?service=https://yourportalhttps%3A%2F%2Fyourportal.server.com/Logincom%2FLogin |
Set the logout URL for the portal (it's important that you use HTTP encoding if your URL contains spaces, etc)
No Format |
---|
## Answers where the user will be redirected when log out occurs. Each security context can have one. ## (See comments in the LogoutServlet class) ## It would be better to escape the value of the url parameter, but since there are no parameters on the ## unescaped URL and since there are no further parameters on the logout URL, this does work. logoutRedirect.root=http://your.cas.server.com/cas/logout?url=https://yourportal.server.com/Login |
Cleaning up
Remove the dependency for the embedded CAS server by deleting the uportal-portlets-overlay/cas directory.
Deploying your changes
Code Block |
---|
ant clean deploy-war |
...