Friday, April 2, 2010

How to Shibbolize uPortal

We completed Shibbolization of our old version of uPortal (v2.5.3.2) today. Other than a good amount of work that various team members (Chris spent most of the time on it on the SP side) and I made to setup the SP and IdP's, the uPortal changes ended up not being so bad.

Modify WEB-INF/classes/org/jasig/portal/channels/CLogin/html.xsl:

<!-- ~ If user is not authenticated insert login form-->
    <!-- ~ -->
    <xsl:template match="login-status">
        <form method="post" action="Login">
            <fieldset id="portalLogin">
                <ul><li><input class="uportal-button" name="Login" value="Login" type="submit" /></li></ul>
This assumes that you have configured Shibboleth to guard Login under uPortal (example:

Modify WEB-INF/classes/properties/
Modify WEB-INF/classes/properties/
and modify the logoutRedirect.root if needed.

You can also disable/modify your logout link in (tomcat)/webapps/uPortal/WEB-INF/classes/org/jasig/portal/channels/CHeader/html.xsl and html_*.xsl in that dir.

Other resources:

No comments: