Advertisement
Guest User

Untitled

a guest
Mar 8th, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.08 KB | None | 0 0
  1. ;<?php die(''); ?>
  2. ;for security reasons , don't remove or modify the first line
  3.  
  4. ;============= Main parameters
  5.  
  6. ; driver name : "ldap", "Db", "Class" or "LDS" (respect the case of characters)
  7. driver=Db
  8.  
  9. ;============ Parameters for the plugin
  10. ; session variable name
  11. session_name=JELIX_USER
  12.  
  13. ; Says if there is a check on the ip address : verify if the ip
  14. ; is the same when the user has been connected
  15. secure_with_ip=0
  16.  
  17. ;Timeout. After the given time (in minutes) without activity, the user is disconnected.
  18. ; If the value is 0 : no timeout
  19. timeout=30
  20.  
  21. ; If the value is "on", the user must be authentificated for all actions, except those
  22. ; for which a plugin parameter auth.required is false
  23. ; If the value is "off", the authentification is not required for all actions, except those
  24. ; for which a plugin parameter auth.required is true
  25. auth_required=on
  26.  
  27. ; What to do if an authentification is required but the user is not authentificated
  28. ; 1 = generate an error. This value should be set for web services (xmlrpc, jsonrpc...)
  29. ; 2 = redirect to an action
  30. on_error=2
  31.  
  32. ; locale key for the error message when on_error=1
  33. error_message="jauth~autherror.notlogged"
  34.  
  35. ; action to execute on a missing authentification when on_error=2
  36. on_error_action="jauth~login:out"
  37.  
  38. ; action to execute when a bad ip is checked with secure_with_ip=1 and on_error=2
  39. bad_ip_action="jauth~login:out"
  40.  
  41.  
  42. ;=========== Parameters for jauth module
  43.  
  44. ; number of second to wait after a bad authentification
  45. on_error_sleep=3
  46.  
  47. ; action to redirect after the login
  48. after_login = "jauth~login:form"
  49. ;after_login="auth~main"
  50.  
  51. ; action to redirect after a logout
  52. after_logout="jauth~login:form"
  53.  
  54. ; says if after_login can be overloaded by a "auth_url_return" parameter in the url/form for the login
  55. enable_after_login_override=off
  56.  
  57. ; says if after_logout can be overloaded by a "auth_url_return" parameter in the url/form for the login
  58. enable_after_logout_override=off
  59.  
  60. ;============ Parameters for the persistance of the authentification
  61.  
  62. ; enable the persistance of the authentification between two sessions
  63. persistant_enable=off
  64.  
  65. ; key to use to crypt the password in the cookie. replace it by your own words !
  66. persistant_crypt_key=exampleOfCryptKey
  67.  
  68. ; the name of the cookie which is used to store data for the authentification
  69. persistant_cookie_name=jelixAuthentificationCookie
  70.  
  71. ; duration of the validity of the cookie (in days). default is 1 day.
  72. persistant_duration=1
  73.  
  74. ;=========== parameters for password hashing
  75.  
  76. ; method of the hash. 0 or "" means old hashing behavior of jAuth
  77. ; (using password_* parameters in drivers ).
  78. ; Prefer to choose 1, which is the default hash method (bcrypt).
  79. password_hash_method=
  80.  
  81. ; options for the hash method. list of "name:value" separated by a ";"
  82. password_hash_options=
  83.  
  84.  
  85.  
  86. ;=========== Parameters for drivers
  87.  
  88. ;------- parameters for the "Db" driver
  89. [Db]
  90. ; name of the dao to get user data
  91. dao="jauthdb~jelixuser"
  92.  
  93. ; profile to use for jDb
  94. profile=
  95.  
  96. ; name of the php function to crypt the password in the database
  97. password_crypt_function=sha1
  98. ; if you want to use a salt with sha1:
  99. ;password_crypt_function = "1:sha1WithSalt"
  100. ;password_salt = "here_your_salt"
  101.  
  102. ; if you want to use bcrypt algorithm (more secured but time expensive)
  103. ;password_crypt_function = "1:bcrypt"
  104. ; salt for bcrypt algorithm, must be alphanumeric and 22 characters in length
  105. ;password_salt = "salt_of_22_alphanumeric_characters_for_bcrypt_algo"
  106.  
  107.  
  108. ; name of the form for the jauthdb_admin module
  109. form=
  110.  
  111. ; path of the directory where to store files uploaded by the form (jauthdb_admin module)
  112. ; should be related to the var directory of the application
  113. uploadsDirectory=
  114.  
  115. ;------- parameters for the "Class" driver
  116. [Class]
  117. ; selector of the class
  118. class=
  119.  
  120. ; name of the php function to crypt the password in the database
  121. password_crypt_function=sha1
  122. ; if you want to use a salt with sha1:
  123. ;password_crypt_function = "1:sha1WithSalt"
  124. ;password_salt = "here_your_salt"
  125.  
  126. ; if you want to use bcrypt algorithm (more secured but time expensive)
  127. ;password_crypt_function = "1:bcrypt"
  128. ; salt for bcrypt algorithm, must be alphanumeric and 22 characters in length
  129. ;password_salt = "salt_of_22_alphanumeric_characters_for_bcrypt_algo"
  130.  
  131. ;------- parameters for the "LDS" driver
  132. [LDS]
  133.  
  134. ;------- parameters for the "ldap" driver
  135. [ldap]
  136. ; default "localhost"
  137. hostname=
  138. ; default 389
  139. port=
  140.  
  141. ; DOMAIN\user or user@DOMAIN to connect with LDAP (user who has at least search right)
  142. ldapUser=
  143. ; password used to connect with LDAP
  144. ldapPassword=
  145.  
  146. ; LDAP search params
  147. ; search base, example for Active Directory: "ou=ADAM users,o=Microsoft,c=US"
  148. searchBaseDN=
  149. ; search filter, example for Active Directory: "(objectClass=user)"
  150. searchFilter=
  151. ; attributes to retrieve for the search, example for Active Directory: "cn,distinguishedName,name"
  152. searchAttributes=
  153.  
  154. ; name of the php function to crypt the password in the database
  155. password_crypt_function=sha1
  156. ; if you want to use a salt with sha1:
  157. ;password_crypt_function = "1:sha1WithSalt"
  158. ;password_salt = "here_your_salt"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement