Cookie based single-signon authentication can be used when your users are already logged into another web application like an intranet site, AND that system sets cookies that can be used by Connect Daily.
Here's how it works:
Requirements
Configuration
Before continuing, add at least one administrator level account to Connect Daily that has a user name you will use for cookie login.
Create the file cdaily-3.4.16/WEB-INF/singlesignon.properties file. Here's an example to get started:
cookieRegex=fusion_.*
AuthURL=https\://www.sample.org/fusionauth.php
ErrorRegex=Error\=(.*)\\n
userRegex=UserName\=(.*)\\n
emailRegex=EmailAddress\=(.*)\\n
Debug=yes
Complete information about parameters for singlesignon.properties can be found in the class documentation for AuthProviderCookieSignon. This file can be found in the WEB-INF/misc/security folder.
Create the authentication stub handler to accept the Connect Daily request. There's an example stub application in the WEB-INF/misc/security directory.
Add a line to the cdaily-3.4.16/WEB-INF/configuration.properties that specifies the Cookie authentication provider:AuthenticationProvider=com.mhsoftware.cdaily.support.security.AuthProviderCookieSignon
Restart the Connect Daily application. Authenticate to the source web application then attempt to access Connect Daily.
See Also: Automatically Creating Users