Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The following are the steps to follow to integrate PubCookie into uPortal 2.4.x:

  1. Download the lastest version http://www.pubcookie.org/ and install in Apache or IIS as documented in PubCookie.
  2. In Apache httpd.conf, add the following lines, making the obvious name changes:
    <Location /uPortal/Login>
    AuthType ISUNetID
    AuthName myIowaState
    PubCookieAppID myIowaState
    require valid-user
    </Location>
    
    <LocationMatch /uPortal/Logout.jsp>
    AllowOverride Options
    AuthName myIowaState
    PubCookieAppID myIowaState
    AuthType ISUNetID
    require valid-user
    PubcookieEndSession clearLogin
    </LocationMatch>
    
  3. in uPortal/WEB-INF/classes/properties, change the PersonManagerFactory line in portal.properties:
    org.jasig.portal.security.PersonManagerFactory.implementation=org.jasig.portal.security.provider.RemoteUserPersonManager
    
  4. in security.properties, change the root lines to:
    root=org.jasig.portal.security.provider.UnionSecurityContextFactory
    root.a=org.jasig.portal.security.provider.RemoteUserSecurityContextFactory
    root.a=org.jasig.portal.security.provider.SimpleSecurityContextFactory
    
  5. edit org.jasig.portal.channels.CLogin.html.xsl, replacing the textfield and password field to a link like
            <xsl:template match="login-status">
              <xsl:if test="$unauthenticated='true'">            
                <a href="https://portal.iastate.edu/uPortal/Authentication" 
                              style="color:White;font-weight:bold;font-size:10pt">Login</a>
                &#160;
                <!--
                <a href="http://pboysen.ait.iastate.edu/uPortal/Authentication?userName=admin&amp;password=admin" style="color:White;font-weight:bold;font-size:10pt">Admin</a>
                &#160;
                <a href="http://pboysen.ait.iastate.edu/uPortal/Authentication?userName=demo&amp;password=demo" style="color:White;font-weight:bold;font-size:10pt">Demo</a>
                &#160;
                <a href="http://pboysen.ait.iastate.edu/uPortal/Authentication?userName=student&amp;password=student" style="color:White;font-weight:bold;font-size:10pt">Student</a>
                -->
              </xsl:if>
            </xsl:template>
    
  • No labels