COPYRIGHT RESERVED 2009 BY MAX TSAI



Visit Max Tsai at Facebook | Twitter | atom

Sunday, June 24, 2007

JA-SIG Day1 Notes: uPortal for Implementators (not verified)

This is my notes. The official presentation slides will be at:
http://www.ja-sig.org/wiki/display/JCON/Denver+2007+presentations

Version: uPortal 2.6 (uPortal_rel-2-6-0-RC2 that includes the HSQL already)

ref: http://www.ja-sig.org/wiki/display/UPC/uPortal+2+Implementors
  1. edit build.properties --> server.home ==> /opt/uportal (my path)
  2. under the source tree:
    ant hsql
    => rdbm.properties
  3. under the source tree root:
    ant initportal
    The uPortal should be deployed already. I had to restart tomcat

    For updates: ant deploy

  4. Users (User Name + Attributes) and Groups and Layout
    1. User name and password for auth.
    2. Groups
    3. Layouts (what you allow to see)
    4. Permissions (what you allow to do for what you allow to see)
  5. Security Context => security.properties
    1. Single Source
      # This is the factory that supplies the concrete authentication class

      root=org.jasig.portal.security.provider.TrustSecurityContextFactory
      # Trust allows you to use any user name and password
      #root=org.jasig.portal.security.provider.SimpleSecurityContextFactory
    2. Union Source
      ## This is the factory that supplies the concrete authentication class
      #root=org.jasig.portal.security.provider.UnionSecurityContextFactory
      #root.cas=org.jasig.portal.security.provider.cas.CasFilteredSecurityContextFactory
      #root.simple=org.jasig.portal.security.provider.SimpleSecurityContextFactory
  6. Personal Attributes ==> personalDirectory.xml
    "mergedPersonAttributeDao" class="org.jasig.portal.services.persondir.support.MergingPersonAttributeDaoImpl"
  7. Groups ==> Groups/*
    1. PAG --> allowing link to external group, i.e. LDAP/AD or logical group configurations. PAGSGroupStoreConfig.xml
  8. Layout ==> dlm.xml
    To enable AJAX== > dlmContext.xml -> This is turned off by default!
    * Look into this more ..
  9. Permissions Manager
  10. Add a new channel or portlet:
    1. source/ -> add the source code to uPortal dist source code directory
    2. webapges/dtd -> add the DTD files
    3. or anything else
    4. ant deploy
    5. Channels can be configured from properties/chanpub/
      * copy channel manager and make modifications
      and do: ant pubchan
    6. Portlet --> see example Bookmark portlet..
      Portlets are bringing by a channel
      1. copy the portlet war file to lib/portlets/ directory
      2. ant deployPortletApp

No comments:

Post a Comment