com.ovea.tajin.framework.config.properties Maven / Gradle / Ivy
#
# Copyright (C) 2011 Ovea
#
# Licensed 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.
#
#----------------------------------
# SERVER CONFIGURATION
#----------------------------------
# Server HTTP port
# server.http.port = 8080
# Server HTTPS port: activate only if you need ssl support
# server.https.port = 8443
# Java Keystore path to load SSL certificates
# server.https.keystore.path = your_keystore.jks
# Java Keystore password
# server.https.keystore.password = yourpassword
# Application context
# server.context = /
# Uncomment and specify a list of addition jars or folders to add on classpath
# server.classpath = path/to/my/app.jar
# JMX support, enabled by default
# jmx.enabled = true
#----------------------------------
# SESSION CONFIGURATION
#----------------------------------
# Cookie used to hold session
# session.cookie.name = id
# Timeout of session cookie in minutes
# session.timeout = 5
#----------------------------------
# REMEMBER-ME FEATURE
#----------------------------------
# Enable this to enable the remember-me feature and set the cookie name to use
# rememberme.cookie.name = rmb
# 128-bit AES encryption key to use. To generate a new key, execute: TajinApplication -g 128
# rememberme.cookie.key = ded54f36d0939d2e71d9b07f36fd26d8
# Set the cookie version. Changing the version cause the invalidation of current set remember-me cookies and thus forces the users to login again
# rememberme.cookie.version = 1
# Set the expiration of remember=-me cookie in days
# rememberme.cookie.days = 365
#----------------------------------
# LOCALIZATION
#----------------------------------
# Cookie name used to share user locale between client and server
# locale.cookie.name = lc
# Expiration in days of the locale cookie
# locale.cookie.days = 365
# Default locale to use if none specified
# locale.default = en_US
# Wheter templates must be reloaded or not
# template.cache = true
# Wheter i18n bundles must be reloaded or not
# i18n.cache = true
# behavior when a key is missing: THROW_EXCEPTION, RETURN_NULL, RETURN_KEY
# i18n.miss = RETURN_KEY
#----------------------------------
# APPLICATION LOGGING
#----------------------------------
# Set a custom logging configuration for your application
# logging.app.config = config/logback.xml
# Set wheter to log execution time of each requests with the associated user principal. The logger is com.ovea.tajin.framework.web.RequestLog
# logging.perf = false
#----------------------------------
# NCSA ACCESS LOGS
#----------------------------------
# If enabled, outputs NCSA access logs in the desired folder
# logging.request.folder = logs/ncsa
# Set the number of days after which log files are cleaned
# logging.request.retainDays = 30
# Set wheter to log extra information or not
# logging.request.extended = false
# Set wheter to log request cookies or not
# logging.request.cookies = false
# Configure a lit of paths to ignore from logging
# logging.request.ignores = /favicon.ico, /security/heartbeat, /security/ignore
#----------------------------------
# APPLICATION SECURITY
#----------------------------------
# Uncomment to activate Shiro Security
# security.enabled = true
# Cache system to use. Default to MemoryCacheManager, set empty to set none
# security.cache = com.ovea.tajin.framework.support.shiro.MemoryCacheManager
# Expiration time in seconds for cached entries.
# security.cache.expiration = 300
# Set a list paths to access only when authenticated. 'authc' means authentication is required. 'rmb' means that that access is allowed if user is remembered.
# security.paths = /admin/*[auth], /private/*[auth+rmb]
# Uncomment to use CORS, define a list of authorized domains
# cors.allowedOrigins = http://localhost:9090
# Uncomment to add TokenBuilder support which generate and decode encrypted tokens with data. To generate a new key, execute: TajinApplication -g 128
# token.key = 5d53735bcd9e435280c05357473e58fb
# Uncomment to set a list of realms to use to recover account information from
# security.realms = com.ovea.tajin.framework.support.shiro.UsernamePasswordRealm, com.ovea.tajin.framework.support.shiro.PassthroughRealm
# Change the number of hash applied to the password
# security.hashIterations = 3
#----------------------------------
# SCHEDULING
#----------------------------------
# Set to true to enable scheduling. You must implement and bind the JobRepository interface.
# scheduling.enabled = false
# Set the maximum pool size for the scheduling. Defaults to 2x the CPU cores of the system
# scheduling.pool.size = 10
# Set the maximum retry count when a job fails before behing left unexecuted. Default is -1 which means retries indefinitely
# scheduling.maxRetry = 10
© 2015 - 2025 Weber Informatics LLC | Privacy Policy