You are here: Reference Manual > FME Server Web Services > Utility Services > Token Service > Web Application Properties

Web Application Properties

FME Token Service Properties File Content

# -----------------------------------------------------------------------------
# FME Token Servlet configuration file
# -----------------------------------------------------------------------------
# This file details the installation parameters of the FME Token Servlet.
#
# -----------------------------------------------------------------------------
# SERVER_NAME - The computer where the Transformation Manager is running. Can be specified
# as a network name (ie: "ATHENA") or an IP. The default value is
# "localhost".
SERVER_NAME={SAFE{fmeserverHostnameLocal}}
 
# SERVER_PORT - The port on which the Transformation Manager is running on the remote
# machine. This is an integer between 1025 and 65535.
# The default value is the default Transformation Manager listening port,
# which is 7071.
SERVER_PORT={SAFE{fmeserverRequestPort}}
 
# RESOURCE_PATH - This is the path to the textual resources of the log.
# This file stores all the messages that will appear in the
# log as well as their code.
RESOURCE_PATH={SAFE{resourcesDir}}
 
# MIN_TIME_BETWEEN_REQS - This is the minimal amount of time that a client
# must wait before sending another request. If a
# request is sent before that interval, it will be
# ignored. The time is specified in milliseconds.
MIN_TIME_BETWEEN_REQS=1000
 
# LOG_CONFIG_PATH - The folder path that contains the log file configuration.
LOG_CONFIG_PATH={SAFE{utilitiesDir}}/config
 
# LOG_FILE_NAME - The file name that the log files will have in common.
LOG_FILE_NAME=token.log
 
#SECURE_CLIENT_ADDRESS - A boolean value that determines if token authentication includes the client
# address. Set it to true if enhanced security is required. The default value
# is false.
SECURE_CLIENT_ADDRESS=false
 
#MIN_EXPIRATION - The minimum expiration time for token in seconds. The default is 5 minutes.
# If the expiration time is not specified, it will default to the minimum expiration.
MIN_EXPIRATION=300
 
#MAX_EXPIRATION - The maximum expiration time for token in seconds. The default is 2 years. If a token
# is requested for expriation longer than this, the maxmum expiration will be applied.
MAX_EXPIRATION=63072000
 
#TOKEN_REFRESH_INTERVAL - The number of days after which a token may be regenerated on request. This
# setting ensures that multiple clients who request a token using the same
# credentials, within the specified interval, receive the same token. If a token
# is requested after the specified interval, a new token value is returned. This
# property may be overridden if the client request specifies update=true within
# the specified interval.
TOKEN_REFRESH_INTERVAL=30
 
#LOCALE_CONFIG_PATH - the path to the FME localization config file which contains the FME_LOCALE property
#
# If no file path or an invalid file path is specified, then the default system locale is used.
#
# If a valid file path is specified, the FME locale in the specified file is used.
# If there is no FME_LOCALE property in the file, then the default system locale is used.
#
# The language, country and variant are separated by underscores.
# Language is always lower case, and country is always upper case.
# Examples: "en", "de_DE", "_GB", "en_US_WIN", "de__POSIX", "fr__MAC"
#
LOCALE_CONFIG_PATH={SAFE{resourcesDir}}/fmeLocaleConfig.txt
 
#FAILOVER_SERVER_NAME - (Optional) The name of the FME Server host that is designated for failover.
# If connection to the primary FME Server is lost, the Service will attempt to connect
# to the specified FME Server host that is designated for failover.
#
# To use FAILOVER_SERVER_NAME below, uncomment the line and replace <failoverServerName> with
# the FME Server failover host name. Do not include the angle-brackets in the failoverServerName.
# For example: FAILOVER_SERVER_NAME=fmecore2
#
#FAILOVER_SERVER_NAME=<failoverServerName>
 
# CORS Shared Configuration File - File system path to the configuration file for cross-origin resource sharing that
# is itself shared by all FME Server services.
CORS_SHARED_CONFIGURATION_FILE={SAFE{resourcesDir}}/clients/cors.properties
 
################### Stream Download Servlet configuration file END #####################