Advertisement
Guest User

abc123

a guest
Jun 17th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.68 KB | None | 0 0
  1. [Data]
  2. ;# Interbase connection parameters
  3. InstanceName=
  4. Database=C:\Users\Public\Documents\Embarcadero\EMS\emsserver.ib
  5. UserName=sysdba
  6. Password=masterkey
  7. SEPassword=
  8. ;# SEPassword connects to an encrypted database
  9. Pooled=
  10. ;# Set Pooled=0 to disable connection pooled, Pooled=1 to enable. Default value is 1.
  11. PooledMax=
  12. ;# Set PooledMax=10 to limit maximum pooled connection. Default value is 50.
  13.  
  14. [Server.Limits]
  15. MaxConnections=
  16. ;# Set MaxConnections=10 to limit maximum concurrent HTTP requests. Default is 32.
  17. MaxUsers=
  18. ;# Set MaxUsers=3 to limit the number of users in the EMS database. This value is only used
  19. ;# when less than the maximum users permitted by the EMS runtime license.
  20.  
  21. [Server.Keys]
  22. MasterSecret=
  23. ;# MasterSecret may be blank. If blank then the EMS server will not support
  24. ;# MasterSecret authentication.
  25. ;# HTTP 401 (Unauthorized) is raised if a request contains an incorrect MasterSecret
  26. AppSecret=
  27. ;# AppSecret may be blank. If AppSecret is not blank all requests must include the AppSecret.
  28. ;# HTTP 401 (Unauthorized) is raised if a request does not contain a correct AppSecret
  29. ApplicationID=
  30. ;# ApplicationID may be blank. If ApplicationID is not blank, all requests must include the ApplicationID.
  31. ;# HTTP 404 (not found) is raised if a request does not contain a correct ApplicationID
  32.  
  33. [Server.Connection.Dev]
  34. Port=8080
  35. ;# The following options enable HTTPS support.
  36. ; HTTPS=1
  37. ;# Set HTTPS=1 to enable HTTPS, HTTPS=0 to disable.
  38. ; CertFile=
  39. ; RootCertFile=
  40. ;# When using a self-signed certificate, RootCertFile is left blank.
  41. ; KeyFile=
  42. ; KeyFilePassword=
  43.  
  44. [Server.APICrossDomain]
  45. ;# Write here the domains allowed to call the API. Used for Cross-Domains
  46. CrossDomain =
  47.  
  48. [Server.Threads.Dev]
  49. ;# The following options control how EMSDevServer manages threads to handle requests
  50. ;#
  51. ;# Thread pool options
  52. ; ThreadPool=1
  53. ;# Set ThreadPool=1 to enable thread pool scheduler, ThreadPool=0 to disable.
  54. ; ThreadPoolSize=5
  55. ;# ThreadPoolSize indicates how many threads are available to handle requests
  56. ;#
  57. ;# Queueing options
  58. ; ListenQueue=100
  59. ;# ListenQueue indicates how many requests can be queued when all threads are busy
  60.  
  61. [Console.Login]
  62. UserName=consoleuser
  63. Password=consolepass
  64.  
  65. [Console.Cookies]
  66. User=
  67. Console=
  68.  
  69. [Console.DisplayOptions]
  70. ;# Set ShowEdgeModules=1 to enable EdgeModules menu options, ShowEdgeModules=0 to disable.
  71. ShowEdgeModules=1
  72.  
  73. [Console.Connection.Dev]
  74. Port=8081
  75. ;# The following options enable HTTPS support.
  76. ; HTTPS=1
  77. ;# Set HTTPS=1 to enable HTTPS, HTTPS=0 to disable.
  78. ; CertFile=
  79. ; RootCertFile=
  80. ;# When using a self-signed certificate, RootCertFile is left blank.
  81. ; KeyFile=
  82. ; KeyPassword=
  83.  
  84. [Console.Browser]
  85. LimitRows=15
  86. DateFormat=mm/dd/yy
  87.  
  88. [Console.Paths.Dev]
  89. ResourcesFiles = C:\Program Files (x86)\Embarcadero\Studio\19.0\ObjRepos\EN\EMS
  90. ; WebFiles =
  91. ;# When WebFiles is left blank, DevConsole will use ResourcesFiles as WebFiles path
  92. ;# If WebFiles is used the Web Server(e.g. IIS) should include in the HTTP-Response-Header 'Access-Control-Allow-Origin' to allow cross-domain request (e.g 'Access-Control-Allow-Origin: *')
  93.  
  94. [Console.Paths.ISAPI]
  95. ResourcesFiles =
  96. ; WebFiles =
  97. ;# When the webresources folder is in the same folder as the .dll, WebFiles is left blank, otherwise URL to the files ( e.g.WebFiles = http://localhost )
  98. ;# If WebFiles is used the Web Server (e.g. IIS) should include in the HTTP-Response-Header 'Access-Control-Allow-Origin' to allow cross-domain request (e.g 'Access-Control-Allow-Origin: *')
  99.  
  100. [Console.Paths.Apache]
  101. ResourcesFiles =
  102. ;WebFiles =
  103.  
  104. [Server.Packages]
  105. ;# This section is for extension packages.
  106. ;# Extension packages are used to register custom resource endpoints
  107. ;c:\mypackages\basicextensions.bpl=mypackage description
  108.  
  109. [Server.Push.GCM]
  110. ;# This section is for Google Cloud Messaging (GCM) settings.
  111. ;# These settings are needed to send push notificatons to an Android device
  112. ApiKey=
  113.  
  114. [Server.Push.APNS]
  115. ;# This section is for Apple Push Notification Service (APNS).
  116. ;# These settings are needed to send push notificatons to an IOS device
  117. CertificateFileName=
  118. ;# Name of .p12 or .pem file
  119. CertificateFilePassword=
  120. ;# Password of certificate file. Leave blank if file does not have a password.
  121. ProductionEnvironment=
  122. ;# Set ProductionEnvironment=1 when the certificate has been created for production.
  123. ;# Set ProductionEnvironment=0 when the certificate has been created for development.
  124. ;# Default value is 0 (development).
  125.  
  126. [Server.Authorization]
  127. ;# This section is for setting authorization requirements for resources and endpoints.
  128. ;# Authorization can be set on built-in resource (e.g.; Users) and on custom resources.
  129. ;# Note that when MasterSecret authentication is used, these requirements are ignored.
  130. ;# Resource settings apply to all endpoints in the resource.
  131. ;# Endpoint settings override the settings for the resource.
  132. ;# By default, all resource are public.
  133. ;# Settings are specified in JSON.
  134. ;# JSON attributes
  135. ;# {"public": true} - any client is authorized
  136. ;# {"public": false} - a client may be authorized depending on user or group. user credentials (sessionid) must passed in the request
  137. ;# {"users": ["username1", "username2"]} - authorize a user by username.
  138. ;# {"users": ["userid1", "userid2"]} - authorize a user by userid.
  139. ;# {"users": ["*"]} - authorize any user.
  140. ;# {"groups": ["groupname1", "groupname2"]} - authorize a user in a user group.
  141. ;# {"groups": ["*"]} - authorize a user in any user group
  142. ;#
  143. ;# Examples
  144. ;#
  145. ;# Make all methods in the resource "Users" private except for LoginUser and SignupUser endpoints
  146. ;Users={"public": false}
  147. ;Users.LoginUser={"public": true}
  148. ;Users.SignupUser={"public": true}
  149. ;#
  150. ;# Make all methods in the custom resource "Resource1" available to users in group1
  151. ;Resource1={"groups": ["group1"]}
  152. ;#
  153. ;# Make all methods in the custom resource "Resource2" available only with MasterSecret authentication
  154. ;Resource2={"public": false}
  155. ;#
  156. ;# Special rules for user and group creators.
  157. ;# The creator of user is automatically authorized for the following endpoints:
  158. ;# Users.GetUser, Users.UpdateUser, Users.DeleteUser
  159. ;# The creator of a group is automatically authorized for the following endpoints:
  160. ;# Groups.GetGroup, Groups.UpdateGroup, Groups.DeleteGroup
  161.  
  162. [Server.Redirect]
  163. ;# This section is for setting resource redirects.
  164. ;# Redirects cause custom resources to handle a client request, rather than the
  165. ;# resource identified in the request URL.
  166. ;# A redirect may apply to all endpoints in a resource, or to a particular endpoint.
  167. ;# The destination resource must have an endpoint that handles the HTTP method (e.g.; GET, POST, PUT, DELETE) and URL segments of the
  168. ;# client request. Endpoint names are not used to resolve the destination endpoint.
  169. ;# Examples:
  170. ;#
  171. ;# Redirect all endpoints of the built-in resource "Users" to the custom resource "MyUsers"
  172. ;Users={"destination":"MyUsers"}
  173. ;#
  174. ;# Redirect specific endpoints to the custom resource "MyUsers"
  175. ;Users.LoginUser={"destination":"MyUsers"}
  176. ;Users.SignupUser={"destination":"MyUsers"}
  177.  
  178. [Server.EdgeHTTP]
  179. ;# Configure proxy for edge module requests
  180. ;ProxyHost=localhost
  181. ;ProxyPort=8888
  182. ;ProxyUserName=
  183. ;ProxyPassword=
  184.  
  185. [Server.Tenants]
  186. ;# This section defines settings for Single or Multi-Tenant modes.
  187. ;#
  188. ;# The MultiTenantMode option is used to turn on the Multi-Tenant mode.
  189. ;# If the Multi-Tenant mode is turned on, then TenantId and TenantSecret is required to access EMS Server.
  190. ;MultiTenantMode=1
  191. ;#
  192. ;# Default Tenant is used only in the Single Tenant mode.
  193. ;DefaultTenantId=00000000-0000-0000-0000-000000000001
  194. ;#
  195. ;# Define custom cookie name to store TenantId in EMS Console.
  196. ;TenantIDCookieName=TenantID
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement