
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
#----------------------------------
# COOKIE MIGRATION
#----------------------------------
# List cookie names and domain for which to send a delete command if encountered
# cookies.delete.0.name = rmbr
# cookies.delete.0.domain =
# cookies.delete.1.name = id
# cookies.delete.1.domain =
#----------------------------------
# SESSION CONFIGURATION
#----------------------------------
# Cookie used to hold session
# session.cookie.name = id
# Timeout of session cookie in minutes
# session.timeout = 5
# Set the path of the cookie. Default not set, which means the path will be the context path
# session.cookie.path =
# Set the domain of the cookie. Default not set, which means the cookie domain will not be set
# session.cookie.domain =
#----------------------------------
# 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
# Set the path of the cookie. Default not set, which means the path will be the context path
# rememberme.cookie.path =
# Set the domain of the cookie. Default not set, which means the cookie domain will not be set
# rememberme.cookie.domain =
#----------------------------------
# LOCALIZATION
#----------------------------------
# Set wheter to enable a tracking cookie for locale
# locale.cookie.enabled = false
# Cookie name used to share user locale between client and server
# locale.cookie.name = lc
# Expiration in days of the locale cookie. -1 for session cookie.
# locale.cookie.days = -1
# Default locale to use if none specified
# locale.default = en_US
#----------------------------------
# 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
# Ignore some uris in the perf logging. Uris are separated by semicolons
# logging.perf.ignores = /uri/ignored1, /uri/ignored2
#----------------------------------
# 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
© 2015 - 2025 Weber Informatics LLC | Privacy Policy