Esup-News Portlet - Installation GuideAutors : Julien Gribonvald |
This application is working with these requirements :
To work in uPortal V4 you need to make these modifications (after activating compatibility 3.2):
ant db-init
This Command will erase all existing data in your database !!!! |
Description of properties
#ldap properties ldap.url=ldap://ldap.univ.fr:389 ldap.base=ou=people,dc=univ,dc=fr ldap.username=cn=admin,ou=administrateurs,dc=univ,dc=fr ldap.password=***** ldap.anonymousReadOnly=false |
Define your LDAP configuration with these properties.
These properties are used in the Spring bean named "contextSource" and defined in web-root/WEB-INF/context/dataAccessContext.xml and in web-root/AppCtxN.xml (used in cron job for mailing admins of admin task)
# LDAP attribute used for user search (cn ou sn) ldap.userSearchAttr=cn # LDAP attribute name list of user's attributes to show in users details ldap.searchDisplayedAttr=displayName, mail, uid, escouai # Id/uid attribute used to identify the user in LDAP ldap.userId=uid # LDAP attribute name to display the name of the user ldap.userDisplayName=displayName # LDAP attribute name for the user mail ldap.userEmail=mail # List of autorized LDAP attributes used to make filter search. ldap.filterSearchUserAttr=escouai, ENTEleveClasses, ENTEleveGroupes, ENTAuxEnsClasses, ENTAuxEnsGroupes |
For each attribute defined in these properties must be set a display I18N value, this should be done in src/messages.properties To set the attribute display name the pattern is |
other properties define the number of items to show in different paginated pages |
An exemple of declaration in esup-lecture.xml :
<context name = "Mes annonces" id = "annonces"> <description>Mes annonces</description> <categoryProfilesUrl url="http://your.portal.domain/esup-news/feeds/pub/rss?t=6&type=DEFAULT" timeout="" idPrefix="news"/> </context> |