![]() ![]() ![]() 'gc_maxlifetime' => 60*60*24*30, // lifetime in seconds, default value is 30 days check the user login status for every call to Helix Server. Set to 0 to disable the cache and make Swarm 'user_login_status_cache' => 10, // Set in seconds, default value is 10 seconds. 'remembered_cookie_lifetime' => 60*60*24*30, // lifetime in seconds, default value is 30 days 'cookie_lifetime' => 0, // lifetime in seconds, default value is 0=expire when browser closed To specify session lifetimes and garbage collection frequency, add the following configuration block to the SWARM_ROOT/data/config.php file, at the same level as the p4 entry: array( Swarm uses reasonable defaults for the cookie and session lifetimes (measured in seconds) when the lifetime is exceeded users need to login again. Swarm manages logged-in sessions using cookies in the browser, and PHP session storage on the server. For instructions on how to configure Helix Core Server to automatically create new users in Perforce on login, see and in the Defining LDAP-related configurables section of the Helix Core Server Administrator Guide. This function is configured in the Helix Core Server and no Swarm configuration is required. Swarm supports the automatic-creation of new users in Perforce on login if the Helix Core Server is configured to allow it and the user exists in LDAP. Prevent_login defaults to array(), which means no users in your Helix Core Server are prevented from logging into Swarm.įor more information, see Service users in Helix Core Server Administrator Guide. When your Helix Core Server has users that should not be able to log in to Swarm, for example service users involved with Helix Core Server replicas, the prevent_login configuration item can be used to prevent successful authentication.Īdd or update the following configuration block to the SWARM_ROOT/data/config.php file, at the same level as the p4 entry: array( For more information on these user types, see User types in Helix Core Server Administrator Guide. Service and operator users are not permitted to login. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |