# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # RUN TIME PROPERTIES # ------------------- # Sample custom content and index data location # This will create alf_data Relative to appserver run folder # In this default file we take the property from the POM (for compatbility with local jetty and jboss deployments) but it can also be edited here. ############################### ## Common Alfresco Properties # ############################### cifs.enabled=false ftp.enabled=false nfs.enabled=false dir.root=${alfresco.data.location} # Allowed values are: NONE, AUTO, FULL index.recovery.mode=NONE # Fail or not when there are node integrity checker errors integrity.failOnError=true # database connection properties # MySQL connection (This is default and requires mysql-connector-java-5.0.3-bin.jar, which ships with the Alfresco server) db.driver=${alfresco.db.driver} db.url=${alfresco.db.url} db.username=${alfresco.db.username} db.password=${alfresco.db.password} db.pool.initial=10 db.pool.max=100 # Dialect is autodetected starting from 3.2 # H2 dialect hibernate.dialect=${alfresco.db.hibernate.dialect} index.subsystem.name=lucene solr.host=localhost solr.port=8080 solr.secureComms=none # Setting Solr backup for the future. Tweak this if needed (ideally in other env properties files) solr.backup.alfresco.cronExpression=0 30 2 * * ? 2050 solr.backup.archive.cronExpression=0 30 3 * * ? 2050 solr.backup.alfresco.remoteBackupLocation=${dir.root}/solrBackup/alfresco solr.backup.archive.remoteBackupLocation=${dir.root}/solrBackup/archive # We are in the local DEV properties file, no need for Solr backup solr.backup.alfresco.numberToKeep=0 solr.backup.archive.numberToKeep=0 # These jobs seem to require Lucene (Unsupported Operation with Solr) so we disasble them / set to future date # See https://forums.alfresco.com/en/viewtopic.php?f=52&t=41597 # If you want to enable them (and so full WQS functionality), please also set index.subsystem.name=lucene wcmqs.dynamicCollectionProcessor.schedule=0 30 2 * * ? 2060 wcmqs.feedbackProcessor.schedule=0 40 2 * * ? 2060 wcmqs.publishQueueProcessor.schedule=0 50 2 * * ? 2060 # # Sample custom content and index data location # #dir.root=/srv/alfresco/alf_data #dir.keystore=${dir.root}/keystore # # Sample database connection properties # #db.username=alfresco #db.password=alfresco # # External locations #------------- #ooo.exe=soffice #ooo.enabled=false #jodconverter.officeHome=./OpenOffice.org #jodconverter.portNumbers=8101 #jodconverter.enabled=true #img.root=./ImageMagick #swf.exe=./bin/pdf2swf # # Property to control whether schema updates are performed automatically. # Updates must be enabled during upgrades as, apart from the static upgrade scripts, # there are also auto-generated update scripts that will need to be executed. After # upgrading to a new version, this can be disabled. # #db.schema.update=true # # MySQL connection # #db.driver=org.gjt.mm.mysql.Driver #db.url=jdbc:mysql://localhost/alfresco?useUnicode=yes&characterEncoding=UTF-8 # # Oracle connection # #db.driver=oracle.jdbc.OracleDriver #db.url=jdbc:oracle:thin:@localhost:1521:alfresco # # SQLServer connection # Requires jTDS driver version 1.2.5 and SNAPSHOT isolation mode # Enable TCP protocol on fixed port 1433 # Prepare the database with: # ALTER DATABASE alfresco SET ALLOW_SNAPSHOT_ISOLATION ON; # #db.driver=net.sourceforge.jtds.jdbc.Driver #db.url=jdbc:jtds:sqlserver://localhost:1433/alfresco #db.txn.isolation=4096 # # PostgreSQL connection (requires postgresql-8.2-504.jdbc3.jar or equivalent) # #db.driver=org.postgresql.Driver #db.url=jdbc:postgresql://localhost:5432/alfresco # # DB2 connection # #db.driver=com.ibm.db2.jcc.DB2Driver #db.url=jdbc:db2://localhost:50000/alfresco:retrieveMessagesFromServerOnGetMessage=true; # # Index Recovery Mode #------------- #index.recovery.mode=AUTO # # Outbound Email Configuration #------------- #mail.host= #mail.port=25 #mail.username=anonymous #mail.password= #mail.encoding=UTF-8 #mail.from.default=alfresco@alfresco.org #mail.smtp.auth=false # # Alfresco Email Service and Email Server #------------- # Enable/Disable the inbound email service. The service could be used by processes other than # the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service. #------------- #email.inbound.enabled=true # Email Server properties #------------- #email.server.enabled=true #email.server.port=25 #email.server.domain=alfresco.com #email.inbound.unknownUser=anonymous # A comma separated list of email REGEX patterns of allowed senders. # If there are any values in the list then all sender email addresses # must match. For example: # .*\@alfresco\.com, .*\@alfresco\.org # Allow anyone: #------------- #email.server.allowed.senders=.* # # The default authentication chain # To configure external authentication subsystems see: # http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems #------------- #authentication.chain=alfrescoNtlm1:alfrescoNtlm # # URL Generation Parameters (The ${localname} token is replaced by the local server name) #------------- #alfresco.context=alfresco #alfresco.host=${localname} #alfresco.port=8080 #alfresco.protocol=http # #share.context=share #share.host=${localname} #share.port=8080 #share.protocol=http #imap.server.enabled=true #imap.server.port=143 #imap.server.host=localhost # Default value of alfresco.rmi.services.host is 0.0.0.0 which means 'listen on all adapters'. # This allows connections to JMX both remotely and locally. # alfresco.rmi.services.host=0.0.0.0 # # RMI service ports for the individual services. # These seven services are available remotely. # # Assign individual ports for each service for best performance # or run several services on the same port. You can even run everything on 50500 if needed. # # Select 0 to use a random unused port. # #avm.rmi.service.port=50501 #avmsync.rmi.service.port=50502 #attribute.rmi.service.port=50503 #authentication.rmi.service.port=50504 #repo.rmi.service.port=50505 #action.rmi.service.port=50506 #wcm-deployment-receiver.rmi.service.port=50507 #monitor.rmi.service.port=50508 # Dialect is autodetected starting from 3.2 # H2 dialect #hibernate.dialect=org.hibernate.dialect.H2Dialect # Property to control whether schema updates are performed automatically. # Updates must be enabled during upgrades as, apart from the static upgrade scripts, # there are also auto-generated update scripts that will need to be executed. After # upgrading to a new version, this can be disabled. #db.schema.update=true # File servers related properties # For local builds we disable CIFS and FTP. Edit the following property to reenable them smb.server.enabled=false smb.server.name=CFS_SHARE_LOCAL smb.server.domain=mycompany.com smb.server.bindto=127.0.0.1 smb.tcpip.port=1445 netbios.session.port=1139 netbios.name.port=1137 netbios.datagram.port=1138 ftp.server.enabled=false ftp.port=1121 ftp.authenticator=alfresco # This properties file is used to configure LDAP authentication # NB: The following LDAP related properties are read only in case -Denteprise mvn build property is specified # Wheter to allow silent deletion of users in the Alfresco UI (note: users will be then resynced in the next synchronization) ldap.authentication.allowDeleteUser=true # LDAP JNDI provider ldap.authentication.provider=com.sun.jndi.ldap.LdapCtxFactory # Url and protocol for LDAP server to carry authentication against ldap.authentication.url=ldap://ldap.mycompany.com:636 # can be (simple, ssl) ldap.authentication.protcol=ssl # Credentials with full access to the directoty used ldap.authentication.adminUser=ou=Admin,ou=Services,o=Company ldap.authentication.adminPassword=secret # Wheter to allow unauthenticated guest a read only login ldap.authentication.guestLogin.allowed=false # Wheter users can be created on the fly upon successful external (e.g. LDAP) authentication. Useful to avoid user synchronization in case just uid and pwd are needed for a user server.transaction.allow-writes=true # Wheter user names are case sensitive user.name.caseSensitive=true # Wheter the synchronization process has to process duplicated users (e.g. synced users and users coming from the sync) personService.processDuplicates=true # Which action to take when processin duplicates. One of: LEAVE, SPLIT, DELETE personService.duplicateMode=DELETE # Which of the users (in case of SPLIT duplicates policy) should be considered valid personService.lastIsBest=true # Wheter auto created users should be considered when processing duplicates personService.includeAutoCreated=true # The query to find the people to import ldap.synchronisation.personQuery=(objectclass=inetOrgPerson) # The search base of the query to find people to import ldap.synchronisation.personSearchBase=ou=Identities,ou=mycompany,o=com # The attribute name on people objects found in LDAP to use as the uid in Alfresco ldap.synchronisation.userIdAttributeName=cn # The attribute on person objects in LDAP to map to the first name property in Alfresco ldap.synchronisation.userFirstNameAttributeName=givenName # The attribute on person objects in LDAP to map to the last name property in Alfresco ldap.synchronisation.userLastNameAttributeName=sn # The attribute on person objects in LDAP to map to the email property in Alfresco ldap.synchronisation.userEmailAttributeName=cn # The attribute on person objects in LDAP to map to the organizational id property in Alfresco ldap.synchronisation.userOrganizationalIdAttributeName=maildomain # The default home folder provider to use for people created via LDAP import ldap.synchronisation.defaultHomeFolderProvider=companyHomeFolderProvider # The query to find group objects ldap.synchronisation.groupQuery=(objectclass=AlfrescoGroup) # The search base to use to find group objects ldap.synchronisation.groupSearchBase=ou=AlfrescoGroups,ou=mycompany,o=com # The attribute on LDAP group objects to map to the gid property in Alfrecso ldap.synchronisation.groupIdAttributeName=cn # The group type in LDAP ldap.synchronisation.groupType=AlfrescoGroup # The person type in LDAP ldap.synchronisation.personType=inetOrgPerson # The attribute in LDAP on group objects that defines the DN for its members ldap.synchronisation.groupMemberAttributeName=member # The cron expression defining when people imports should take place (e.g. every evening at 22:00 hours) ldap.synchronisation.import.person.cron=0 0 22 * * ? # The cron expression defining when group imports should take place (e.g. every evening at 21:45 hours) ldap.synchronisation.import.group.cron=0 45 21 * * ? # Should all groups be cleared out at import time? # - this is safe as groups are not used in Alfresco for other things (unlike person objects which you should never clear out during an import) # - setting this to true means old group definitions will be tidied up. ldap.synchronisation.import.group.clearAllChildren=false