CAS server authenticating Uportal
Fawad Rashid
fwdrsd at hotmail.com
Tue Apr 17 13:28:58 EDT 2007
Hi
I have managed to setup CAS with SSO using SSL, i have setup a CAS server
which is authenticating properly. Now i need to CASify a uPortal deployment.
My CAS server deployment should authenticate the uPortal deployment. Is
there a guide around somewhere for achieving this, i have gone through the
mailing list but so far i havent found what i am looking for. I am using CAS
3.0.7 & uPortal 2.5.3. I have already tried the following guide but i
believe it is a Yale implementation
http://www.ja-sig.org/wiki/display/CASC/No+Frills+CASify+uPortal
Changes that i have made are as follows
Security.properties
=========================================================
# This is the factory that supplies the concrete authentication class
root=org.jasig.cas.client.integration.uportal.CasSecurityContextFactory
#root=org.jasig.portal.security.provider.SimpleSecurityContextFactory
#root.cas=org.jasig.portal.security.provider.cas.CasFilteredSecurityContextF
actory
#root=org.jasig.portal.security.provider.YaleCasContextFactory
credentialToken.root.cas=ticket
=========================================================
=========================================================
web.xml
<filter>
<filter-name>CAS Validate Filter</filter-name>
<filter-class>edu.yale.its.tp.cas.client.filter.CASValidateFilter</filter-cl
ass>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name>
<param-value>https://localhost:8443/cas/login</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>
<param-value>https://localhost:8443/cas/serviceValidate</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name>
<param-value>localhost:8088</param-value>
</init-param>
</filter>
<filter>
<filter-name>CAS Receipt Cacher</filter-name>
<filter-class>edu.yale.its.tp.cas.client.filter.StaticCasReceiptCacherFilter
</filter-class>
</filter>
<filter-mapping>
<filter-name>CAS Validate Filter</filter-name>
<url-pattern>/Login</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>CAS Receipt Cacher</filter-name>
<url-pattern>/Login</url-pattern>
</filter-mapping>
===========================================================================
I am getting the following error (http://localhost:8088/uPortal/). Using the
default SimpleSecurityContextFactory
everything works fine expect that i have to relogin to the uPortal using
the uPortal login page.
uPortal Error
Sorry, but uPortal encountered an error that is preventing it from
rendering. The error must be corrected by system administrators. Try again
later.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070417/606650ed/attachment.html
More information about the cas
mailing list