JA-SIG Home
About uPortal
Documentation
Getting Started
Developers
Implementors
Users
Background
Release
|
portal.properties
# portal.properties
# These properties can be retrieved like this in your java code:
#
# String propertyValue = PortalProperties.getProperty(propertyName);
# boolean propertyValue = PortalProperties.getPropertyAsBoolean(propertyName);
# byte propertyValue = PortalProperties.getPropertyAsByte(propertyName);
# short propertyValue = PortalProperties.getPropertyAsShort(propertyName);
# int propertyValue = PortalProperties.getPropertyAsInt(propertyName);
# long propertyValue = PortalProperties.getPropertyAsLong(propertyName);
# float propertyValue = PortalProperties.getPropertyAsFloat(propertyName);
# double propertyValue = PortalProperties.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 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=false
org.jasig.portal.UserInstance.log_xml_before_theme_transformation=false
# Channel manager thread pool settings. For meaning of thread pool settings,
# see org.jasig.portal.utils.threading.BoundedThreadPool
#
org.jasig.portal.ChannelManager.threadPool_initialThreads=20
org.jasig.portal.ChannelManager.threadPool_maxThreads=150
org.jasig.portal.ChannelManager.threadPool_threadPriority=5
# 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 scope 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_cacheDefaultScope"
#
org.jasig.portal.channels.webproxy.CWebProxy.cache_default_scope=instance
# 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 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 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
# 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.PortalSessionManager.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
# Should we use PreparedStatements (if supported by the database/JDBC)
# (useful 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.RDBMUserLayoutStore
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
# 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
# Should groups 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
# 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.allowSystemProfileBrowserMaping=true
org.jasig.portal.channels.UserPreferences.ManageProfilesState.allowNewProfileCreation=true
# Specifies if browser->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
#
org.jasig.portal.layout.UserLayoutManagerFactory.coreImplementation=org.jasig.portal.layout.SimpleUserLayoutManager
# Concurrency Services settings:
#
# multiServer (true/false) indicates if the portal will run in multiple jvms.
# defaults to false.
org.jasig.portal.concurrency.multiServer=false
# Entity Lock Service settings:
#
# * defaultLockDuration sets the default lock duration in seconds. Locks can also be
# requested for specific durations.
# * lockTolerance sets the fudge factor, in seconds, to account for multiple system
# clocks. Only used when org.jasig.portal.concurrency.multiServer=true.
#
# Defaults: defaultLockDuration=300, lockTolerance=5
#
org.jasig.portal.concurrency.IEntityLockServiceFactory=org.jasig.portal.concurrency.locking.ReferenceEntityLockServiceFactory
org.jasig.portal.concurrency.IEntityLockService.defaultLockDuration=300
org.jasig.portal.concurrency.IEntityLockService.lockTolerance=5
# 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:
# ..=.
# 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
# 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
# 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
|