Guest User

Untitled

a guest
Jul 2nd, 2018
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.98 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=0
  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=off
  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="master_admin~default:index"
  49.  
  50. ; action to redirect after a logout
  51. after_logout="jauth~login:form"
  52.  
  53. ; says if after_login can be overloaded by a "auth_url_return" parameter in the url/form for the login
  54. enable_after_login_override=off
  55.  
  56. ; says if after_logout can be overloaded by a "auth_url_return" parameter in the url/form for the login
  57. enable_after_logout_override=off
  58.  
  59. ;============ Parameters for the persistance of the authentification
  60.  
  61. ; enable the persistance of the authentification between two sessions
  62. persistant_enable=off
  63.  
  64. ; key to use to crypt the password in the cookie. replace it by your own words !
  65. persistant_crypt_key=exampleOfCryptKey
  66.  
  67. ; the name of the cookie which is used to store data for the authentification
  68. persistant_cookie_name=jelixAuthentificationCookie
  69.  
  70. ; duration of the validity of the cookie (in days). default is 1 day.
  71. persistant_duration=1
  72.  
  73. ; base path for the cookie. If empty, it uses the basePath value from the main configuration.
  74. persistant_cookie_path=
  75.  
  76. ;=========== Parameters for drivers
  77.  
  78. ;------- parameters for the "Db" driver
  79. [Db]
  80. ; name of the dao to get user data
  81. dao="jcommunity~user"
  82.  
  83. ; profile to use for jDb
  84. profile=
  85.  
  86. ; name of the php function to crypt the password in the database
  87. password_crypt_function=md5
  88.  
  89.  
  90. ; name of the form for the jauthdb_admin module
  91. form="jauthdb_admin~jelixuser"
  92.  
  93. ; path of the directory where to store files uploaded by the form (jauthdb_admin module)
  94. ; should be related to the var directory of the application
  95. uploadsDirectory=
  96.  
  97. ;------- parameters for the "Class" driver
  98. [Class]
  99. ; selector of the class
  100. class=
  101.  
  102. ; name of the php function to crypt the password in the database
  103. password_crypt_function=md5
  104.  
  105. ;------- parameters for the "LDS" driver
  106. [LDS]
  107.  
  108. ;------- parameters for the "ldap" driver
  109. [ldap]
  110. ; default "localhost"
  111. hostname=
  112. ; default 389
  113. port=
  114.  
  115. ; DOMAIN\user or user@DOMAIN to connect with LDAP (user who has at least search right)
  116. ldapUser=
  117. ; password used to connect with LDAP
  118. ldapPassword=
  119.  
  120. ; LDAP search params
  121. ; search base, example for Active Directory: "ou=ADAM users,o=Microsoft,c=US"
  122. searchBaseDN=
  123. ; search filter, example for Active Directory: "(objectClass=user)"
  124. searchFilter=
  125. ; attributes to retrieve for the search, example for Active Directory: "cn,distinguishedName,name"
  126. searchAttributes=
  127.  
  128. ; name of the php function to crypt the password in the database
  129. password_crypt_function=md5
Add Comment
Please, Sign In to add comment