# portal.properties # These properties can be retrieved like this in your java code: # # String propertyValue = PropertiesManager.getProperty(propertyName); # boolean propertyValue = PropertiesManager.getPropertyAsBoolean(propertyName); # byte propertyValue = PropertiesManager.getPropertyAsByte(propertyName); # short propertyValue = PropertiesManager.getPropertyAsShort(propertyName); # int propertyValue = PropertiesManager.getPropertyAsInt(propertyName); # long propertyValue = PropertiesManager.getPropertyAsLong(propertyName); # float propertyValue = PropertiesManager.getPropertyAsFloat(propertyName); # double propertyValue = PropertiesManager.getPropertyAsDouble(propertyName); # # Please keep the formatting of this properties file as follows: # # # Comment line 1 # # Comment line 2, etc # # <-- (leave a blank commented line) # property_name=property_value # <-- (leave two blank # <-- uncommented lines) # SAX parser implementation for use with JAXP # org.xml.sax.driver=org.apache.xerces.parsers.SAXParser # Controls whether or not StylesheetSet objects are cached. # Setting this to "on" improves performance, but then changes to # any stylesheet list files (.ssl) will not take effect until # the portal has been restarted. # org.jasig.portal.utils.XSLT.stylesheet_set_caching=on # Controls whether or not pre-compiled stylesheets should be cached. # Setting this to "on" improves performance, but then changes to # any stylesheet files (.xsl) will not take effect until # the portal has been restarted. # org.jasig.portal.utils.XSLT.stylesheet_root_caching=on # Controls whether URL content is cached # When using CAR files, this option, along with the stylesheet root caching controls # the caching of XSL files, since they are loaded from a jar URL # org.jasig.portal.PortalSessionManager.url_caching=on # Controls caching for framework stylesheets # org.jasig.portal.UserInstance.cache_enabled=on # Controls caching at the character level. Note: Character # caching can only be enabled for serializers that implement # the org.jasig.portal.serialize.CachingSerializer interface. # Character caching offers greatly improved performance. # org.jasig.portal.UserInstance.character_cache_enabled=on # Min size of xslt cache. # org.jasig.portal.UserInstance.system_xslt_cache_min_size=5 # Min size of system character block cache # org.jasig.portal.UserInstance.system_character_block_cache_min_size=10 # If set to true, the XML resulting from the structure and/or theme # transformations will be printed to the portal log file provided # that the log level is set to DEBUG (see Logger.properties). # You can then grab the XML and use it within an XSLT editor to # work on theme and structure stylesheets. Note that the XML before the # theme transformation doesn't include channel markup which is inserted # by the portal after the theme transformation. # org.jasig.portal.UserInstance.log_xml_before_structure_transformation=true org.jasig.portal.UserInstance.log_xml_before_theme_transformation=true # Decides whether or not to copy the character block into a new object. # Set to 'no' unless your SAX parser is passing the same reference to # successive calls of the SAX2BufferImpl.characters() method. This behavior # has been observed in Resin's SAX parser for example. # org.jasig.portal.utils.SAX2BufferImpl.copyCharBlock=yes # Channel manager thread pool settings. For meaning of thread pool settings, # see org.jasig.portal.utils.threading.BoundedThreadPool # org.jasig.portal.ChannelManager.ChannelRendererFactory.className=org.jasig.portal.ChannelRendererFactoryImpl org.jasig.portal.ChannelManager.threadPool_initialThreads=20 org.jasig.portal.ChannelManager.threadPool_maxThreads=150 org.jasig.portal.ChannelManager.threadPool_threadPriority=5 org.jasig.portal.ChannelManager.threadPool_shared=true org.jasig.portal.StandaloneChannelRenderer.ChannelRendererFactory.className=org.jasig.portal.ChannelRendererFactoryImpl org.jasig.portal.StandaloneChannelRenderer.threadPool_initialThreads=20 org.jasig.portal.StandaloneChannelRenderer.threadPool_maxThreads=150 org.jasig.portal.StandaloneChannelRenderer.threadPool_threadPriority=5 org.jasig.portal.StandaloneChannelRenderer.threadPool_shared=true org.jasig.portal.wsrp.ChannelInstanceManager.ChannelRendererFactory.className=org.jasig.portal.ChannelRendererFactoryImpl org.jasig.portal.wsrp.ChannelInstanceManager.threadPool_initialThreads=20 org.jasig.portal.wsrp.ChannelInstanceManager.threadPool_maxThreads=150 org.jasig.portal.wsrp.ChannelInstanceManager.threadPool_threadPriority=5 org.jasig.portal.wsrp.ChannelInstanceManager.threadPool_shared=true # Controls thread pool for channel workers # org.jasig.portal.ChannelRenderer.pool_threads=on # Controls whether or not channel output should be cached. # Channel output is cached at the SAX event level unless # character caching is possible and enabled. # org.jasig.portal.ChannelRenderer.cache_channels=on # This is the default cache timeout value (in seconds) for all channels # of type org.jasig.portal.channels.CGenericXSLT that do not specify # their own cache timeout value. This default value is overridden by # any CGenericXSLT channel that has a static parameter called "cacheTimeout" # org.jasig.portal.channels.CGenericXSLT.default_cache_timeout=900 # This is the default cache timeout value (in seconds) for all channels # of type org.jasig.portal.channels.webproxy.CWebProxy that do not specify # their own cache timeout value. This default value is overridden by # any CWebProxy channel that has a static parameter called # "cw_cacheDefaultTimeout" # org.jasig.portal.channels.webproxy.CWebProxy.cache_default_timeout=900 # This is the default cache mode for all channels of type # org.jasig.portal.channels.webproxy.CWebProxy that do not specify # their own cache scope. This default value is overridden by # any CWebProxy channel that has a static parameter called # "cw_cacheDefaultMode" # org.jasig.portal.channels.webproxy.CWebProxy.cache_default_mode=none # This is the default value for the cw_personAllow static data parameter # for channels of type org.jasig.portal.channels.webproxy.CWebProxy. # An empty value or "!*" means no attributes may be passed. "*" means # allw attributes may be passed. # org.jasig.portal.channels.webproxy.CWebProxy.person_allow= # This is the default cache timeout value (in seconds) for the channel # registry, a list of channels that one can subscribe to. # org.jasig.portal.ChannelRegistryManager.channel_registry_cache_timeout=900 # This is the default cache timeout value (in seconds) for the channel # types, a list of java class / .cpd file combinations that one can publish. # org.jasig.portal.ChannelRegistryManager.channel_types_cache_timeout=900 # This is the default cache timeout value (in seconds) for the channel # publishing documents (CPD). # org.jasig.portal.ChannelRegistryManager.cpd_cache_timeout=900 # Controls whether or not document type declaration should be included # in serialized output of HTML and XHTML documents. # Setting this to "no" will allow the appropriate document type # declaration to appear in the document, # e.g. # Beware that some browsers such as Netscape have trouble rendering pages whose # markup includes a document type. If you change this setting to "no", you should # do some testing to make sure that the portal renders correctly in the browsers you # choose to support. # org.jasig.portal.MediaManager.omit_doctype=yes # Controls whether or not serializer output should be indented. # Setting this to "on" produces indented markup (HTML, XHTML, etc). # It may be helpful during development to set this to "on", improving # the readability of the source markup. However, the identing can # greatly increase the size of a page, so during production this should # be set to "off". # org.jasig.portal.MediaManager.output_indenting=off # Controls whether or not to allow the disabling of output escaping. # If set to "yes", then it will be possible to include unescaped markup # within an XML element. For example, you could include HTML tags within # the description of an RSS description element like this: # This is an important description # Note that this makes it possible for markup that is not well-formed # to end up in the final document. # org.jasig.portal.serialize.BaseMarkupSerializer.allow_disable_output_escaping=no # Controls the behavior of Authentication Service regarding the automatic creation of # portal user data for a user who has authenticated. true indicates that the # data should be automatically created. [The class to implement the creation, # IUserIdentityStore, is specified in the RDBM properties file.] # org.jasig.portal.services.Authentication.autoCreateUsers=true # Controls the default user to use as a template for new users. # org.jasig.portal.services.Authentication.defaultTemplateUserName=demo # If this is set to true then the PersonDirectory service will be used to populate users # org.jasig.portal.services.Authentication.usePersonDirectory=true # Class name of the concrete IPersonManager implementation to be used # org.jasig.portal.security.PersonManagerFactory.implementation=org.jasig.portal.security.provider.SimplePersonManager # Controls the user that represents a "Guest" user in the portal. # Users are considered guests when they have this user name and # they are have not authenticated with the portal. # Tip: Make sure the value of this property is not a real user name # within your organization. # org.jasig.portal.security.PersonFactory.guest_user_name=guest # Tells the ChainingSecurityContext whether or not to stop trying to authenticate a user # once they have successfully passed authentication # org.jasig.portal.security.provider.ChainingSecurityContext.stopWhenAuthenticated=true # Maximum file size we are willing to accept on a file upload # org.jasig.portal.RequestParamWrapper.file_upload_max_size=3000000 # Controls features that prevent repeated requests from going through. # Set this to "yes" when load testing, debugging, or typing things # in on a command line. # This value should normally be set to "no". # org.jasig.portal.PortalSessionManager.allow_repeated_requests=no # Specifies whether or not to use PreparedStatements if supported by the database/JDBC. # It is helpful to disable when debugging the database code. # org.jasig.portal.RDBMServices.usePreparedStatements=true # Determines whether or not to obtain connections from a javax.sql.DataSource # that has been bound in the container's JNDI context. This is the J2EE-preferred # way of obtaining connections. If set to false, the portal will produce connections # from java.sql.DriverManager and the JDBC properties set in rdbm.properties. # org.jasig.portal.RDBMServices.getDatasourceFromJndi=false # Implementations of persistant store interfaces # org.jasig.portal.ChannelRegistryStoreFactory.implementation=org.jasig.portal.RDBMChannelRegistryStore org.jasig.portal.UserLayoutStoreFactory.implementation=org.jasig.portal.layout.AggregatedUserLayoutStore org.jasig.portal.UserIdentityStoreFactory.implementation=org.jasig.portal.RDBMUserIdentityStore org.jasig.portal.utils.CounterStoreFactory.implementation=org.jasig.portal.utils.RDBMCounterStore org.jasig.portal.groups.EntityGroupFactory.implementation=org.jasig.portal.groups.RDBMEntityGroupStore org.jasig.portal.i18n.LocaleStoreFactory.implementation=org.jasig.portal.i18n.RDBMLocaleStore # Factory for Sequence ID (OID) Generator # org.jasig.portal.SequenceGeneratorFactory.implementation=org.jasig.portal.ReferenceSequenceGeneratorFactory # IGroupServiceFactory used by the GroupService # org.jasig.portal.groups.GroupServiceFactory=org.jasig.portal.groups.ReferenceGroupServiceFactory # Specifies whether or not groups should be cached. # Only turn this off for debugging. # org.jasig.portal.groups.IEntityGroupService.useCache=true # Key for IEntityGroup representing everyone (all portal users). # org.jasig.portal.services.GroupService.key_org.jasig.portal.security.IPerson=local.0 # Key for IEntityGroup representing all channel categories. # org.jasig.portal.services.GroupService.key_org.jasig.portal.ChannelDefinition=local.50 # Key for IEntityGroup representing portal system administrators (those with superuser privileges) # org.jasig.portal.services.GroupService.key_org.jasig.portal.security.IPerson.PortalAdministrators=local.14 # Retrieval limits for Groups Manager. # Limit the number of group members that should be enumerated when the Groups Manager generates # an XML representation of the groups hierarchy # org.jasig.portal.channels.groupsmanager.wrappers.GroupWrapper.limitRetrievals=false org.jasig.portal.channels.groupsmanager.wrappers.GroupWrapper.retrievalLimit=25 # Name Finder Factories: # org.jasig.portal.services.EntityNameFinderService.NameFinderFactory.implementation_org.jasig.portal.security.IPerson=org.jasig.portal.groups.PersonDirNameFinderFactory org.jasig.portal.services.EntityNameFinderService.NameFinderFactory.implementation_org.jasig.portal.groups.IEntityGroup=org.jasig.portal.groups.EntityGroupNameFinderFactory org.jasig.portal.services.EntityNameFinderService.NameFinderFactory.implementation_org.jasig.portal.ChannelDefinition=org.jasig.portal.groups.ReferenceChannelNameFinderFactory # Profile management settings: # org.jasig.portal.channels.UserPreferences.ManageProfilesState.allowUserProfiles=true org.jasig.portal.channels.UserPreferences.ManageProfilesState.allowSystemProfileBrowserMapping=true org.jasig.portal.channels.UserPreferences.ManageProfilesState.allowNewProfileCreation=true # Specifies if browser to profile mappings guessed by matching # regular expressions in browser.properties should be persisted # in the database. # org.jasig.portal.GuestUserPreferencesManager.save_profile_guesses=true # Core IUserLayoutManager implementation. The following two user layout managers # are the most common: # # org.jasig.portal.layout.SimpleUserLayoutManager # org.jasig.portal.layout.AggregatedLayoutManager (introduced in uPortal 2.2) # org.jasig.portal.layout.UserLayoutManagerFactory.coreImplementation=org.jasig.portal.layout.AggregatedLayoutManager # Authorization Service settings: # # * IPermissionStore.implementation is the permission store. # * IPermissionPolicy.defaultImplementation is the permission policy used when not overridden at # runtime (see IAuthorizationPrincipal.hasPermission()). # * IAuthorizationService.cachePermissions sets if permissions will be cached by the # entity caching service. (Default=true). # org.jasig.portal.security.IPermissionStore.implementation=org.jasig.portal.security.provider.RDBMPermissionImpl org.jasig.portal.security.IPermissionPolicy.defaultImplementation=org.jasig.portal.security.provider.DefaultPermissionPolicy org.jasig.portal.security.IAuthorizationService.cachePermissions=true # Concurrency Services settings: # # multiServer (true/false) indicates if the portal will run in multiple jvms. # # clockTolerance (in milliseconds) sets a fudge factor to account for system clocks # on different hosts. Only used when org.jasig.portal.concurrency.multiServer=true. # # Defaults: multiServer=false # clockTolerance=5000 # org.jasig.portal.concurrency.multiServer=false org.jasig.portal.concurrency.clockTolerance=5000 # Entity Lock Service settings: # # * defaultLockDuration sets the default lock duration in seconds. Locks can also be # requested for specific durations. # # Defaults: defaultLockDuration=300 # org.jasig.portal.concurrency.IEntityLockServiceFactory=org.jasig.portal.concurrency.locking.ReferenceEntityLockServiceFactory org.jasig.portal.concurrency.IEntityLockService.defaultLockDuration=300 # Entity Caching Service settings: # # * defaultMaxCacheSize - the default value for maximum number of entries in a cache. # * defaultSweepInterval - the default value in seconds for the interval between cache sweeps. # * defaultMaxIdleTime - the default value in seconds for the time after which a cache # entry may be purged if it has not been accessed. # # These defaults can be overridden for individual entity caches with entries of the form: # ..=. # For example, # org.jasig.portal.concurrency.IEntityCachingService.org.jasig.portal.security.IPerson.maxCacheSize=1000 # org.jasig.portal.concurrency.IEntityCachingService.org.jasig.portal.security.IPerson.sweepInterval=60 # org.jasig.portal.concurrency.IEntityCachingService.org.jasig.portal.security.IPerson.maxIdleTime=1800 # # Note that if org.jasig.portal.concurrency.multiServer is true, the cache will # create and consume cache invalidations to synchronize with peer caches. # org.jasig.portal.concurrency.IEntityCachingServiceFactory=org.jasig.portal.concurrency.caching.ReferenceEntityCachingServiceFactory org.jasig.portal.concurrency.IEntityCachingService.defaultMaxCacheSize=1000 org.jasig.portal.concurrency.IEntityCachingService.defaultSweepInterval=60 org.jasig.portal.concurrency.IEntityCachingService.defaultMaxIdleTime=1800 # Class name of the concrete IStatsRecorderFactory implementation to be used. Note that stats will # not be sent to a stats recorder implementation unless one or more of the stats recorder settings # below are set to "on". # The choices that come with uPortal are: # org.jasig.portal.services.stats.PrintingStatsRecorderFactory (stats will be printed to std out) # org.jasig.portal.services.stats.LoggingStatsRecorderFactory (stats will be logged in portal's log file) # org.jasig.portal.services.stats.DoNothingStatsRecorderFactory (stats will be ignored) # org.jasig.portal.services.stats.StatsRecorderFactory.implementation=org.jasig.portal.services.stats.DoNothingStatsRecorderFactory # Initial settings that determine whether or not certain portal events are recorded # by the StatsRecorder. To enable stats recording, set any of the following settings # to "on". At runtime, the values of these settings can be modified programmatically # via org.jasig.portal.services.StatsRecorder.set(). Stats will be sent to the # stats recorder implementation specified above. # org.jasig.portal.services.stats.StatsRecorderSettings.recordLogin=off org.jasig.portal.services.stats.StatsRecorderSettings.recordLogout=off org.jasig.portal.services.stats.StatsRecorderSettings.recordSessionCreated=off org.jasig.portal.services.stats.StatsRecorderSettings.recordSessionDestroyed=off org.jasig.portal.services.stats.StatsRecorderSettings.recordChannelDefinitionPublished=off org.jasig.portal.services.stats.StatsRecorderSettings.recordChannelDefinitionModified=off org.jasig.portal.services.stats.StatsRecorderSettings.recordChannelDefinitionRemoved=off org.jasig.portal.services.stats.StatsRecorderSettings.recordChannelAddedToLayout=off org.jasig.portal.services.stats.StatsRecorderSettings.recordChannelUpdatedInLayout=off org.jasig.portal.services.stats.StatsRecorderSettings.recordChannelMovedInLayout=off org.jasig.portal.services.stats.StatsRecorderSettings.recordChannelRemovedFromLayout=off org.jasig.portal.services.stats.StatsRecorderSettings.recordFolderAddedToLayout=off org.jasig.portal.services.stats.StatsRecorderSettings.recordFolderUpdatedInLayout=off org.jasig.portal.services.stats.StatsRecorderSettings.recordFolderMovedInLayout=off org.jasig.portal.services.stats.StatsRecorderSettings.recordFolderRemovedFromLayout=off org.jasig.portal.services.stats.StatsRecorderSettings.recordChannelInstantiated=off org.jasig.portal.services.stats.StatsRecorderSettings.recordChannelRendered=off org.jasig.portal.services.stats.StatsRecorderSettings.recordChannelTargeted=off # Stats recorder service thread pool settings. For meaning of thread pool settings, # see org.jasig.portal.utils.threading.BoundedThreadPool # org.jasig.portal.services.StatsRecorder.threadPool_initialThreads=5 org.jasig.portal.services.StatsRecorder.threadPool_maxThreads=15 org.jasig.portal.services.StatsRecorder.threadPool_threadPriority=5 # Protocol handler for https connections. Set by default to the one provided with # Sun's JSSE - change to use your local JSSE implementation # org.jasig.portal.utils.ResourceLoader.HttpsHandler=com.sun.net.ssl.internal.www.protocol # The flag to determine wether UserPreferences should be saved at the end of each session # org.jasig.portal.UserPreferencesManager.save_UserPreferences_at_logout=false # IPortalDocument implementation # org.jasig.portal.utils.IPortalDocument.implementation=org.jasig.portal.utils.PortalDocumentImpl # IDOMInitService implementation. Use in conjuction with the dom # implementation configured with jaxp/trax api. # org.jasig.portal.services.dom.DOMInitServiceFactory.implementation= # Locales supported by this portal installation. Locales should be # specified using a comma-separated list. Each locale should be # represented by two letter country code, per ISO-639, and a # two letter language code, per ISO-3166, separated by an # underscore character. # org.jasig.portal.i18n.LocaleManager.locale_aware=true org.jasig.portal.i18n.LocaleManager.portal_locales=en_US,ja_JP,sv_SE,de_DE # Controls the source attribute proxy rewrite for image, applet and # input elements. The rewrite can only be enabled for # org.jasig.portal.serialize.HTMLMarkupSerializer. # The proxy rewrite prefix will be substituted for the "http://" portion # of the url in the src attribute of the rewritable elements listed above. # # Proxy rewriting is used to avoid mixed content when running the portal # over ssl. # org.jasig.portal.serialize.ProxyWriter.resource_proxy_enabled=off # In case apache is sitting in front,the proxy directive in httpd.conf # allows using /proxy/ prefix instead of ProxyServlet. The httpd.conf should include # something like "ProxyPass /proxy/ http://" within each virtual host element that allows # proxy rewrite. # # Example settings: # /servlet/ProxyServlet/ (uses proxy servlet included with uPortal) # /proxy/ (uses proxy which must be configured in Apache) # org.jasig.portal.serialize.ProxyWriter.resource_proxy_rewrite_prefix=/servlet/ProxyServlet/ # HttpProxyServlet will check referer to make sure proxied content is going to # real portal pages. To enable, set referer to the the base url for your # portal when using ssl. For example: # org.jasig.portal.HttpProxyServlet.checkReferer=https://portal.yourschool.edu # org.jasig.portal.HttpProxyServlet.checkReferer= # In some channels the content of the channel is an include javascript # file. The ProxyWriter rewrites the javascript file to a location on # virtual host on the same server as the portal and proxies all the # http referenced image tags in the file. Then the channel uses the local # file to read its content. This test is skipped if the URL domain is considerd to be # local (no_redirect_domain). # org.jasig.portal.serialize.ProxyWriter.proxy_files_uri=http://portal.yourschool.edu/ # org.jasig.portal.serialize.ProxyWriter.proxy_files_path=../work/_/ # org.jasig.portal.serialize.ProxyWriter.no_redirect_domain=yourschool.edu # org.jasig.portal.serialize.ProxyWriter.proxy_files_uri= org.jasig.portal.serialize.ProxyWriter.proxy_files_path= org.jasig.portal.serialize.ProxyWriter.no_redirect_domain= #Cas parameters # 1. Url which the portal security provider should use to validate its service ticket # This is the location of your CAS login server's proxy validation servlet. # This servlet will validate the uPortal service ticket and deliver a proxy # granting ticket to uPortal for later use. The servlet which handles the TGT is # specified next. org.jasig.portal.security.provider.YaleCasContext.CasValidateUrl=https://localhost:8443/cas/proxyValidate # 2. Url where Cas will call back to portal with proxy granting ticket and IOU # This is the URL where you will run CasProxyServlet (supplied in the cas.jar) # and should be run in the same web context as the uPortal. org.jasig.portal.security.provider.YaleCasContext.CasProxyCallbackUrl=https://localhost:8443/uPortal/CasProxyServlet # 3. Url of the portal service # The service parameter which will be used by YaleCasContext to validate ticket. # This url must match the value of the service= parameter in the CLogin stylesheet. org.jasig.portal.security.provider.YaleCasContext.PortalServiceUrl=http://localhost:9090/uPortal/Authentication # 4. Cas login Url - for link on guest page to login # this is currently coded in the yale_html.xsl stylesheetS # for CLogin. It should be a parameter.