6.4.2.2. Setting Up Configuration
-
Follow the steps described in Installation → Step 1: Create the Computer Account for NETLOGON Communication of the Jespa Operator’s Manual, which is available at http://www.ioplex.com/support.html.
-
Set domain parameters in the
cuba.web.activeDirectoryDomains
property in the local.app.properties file. Each domain descriptor should have the following format:domain_name|full_domain_name|service_account_name|service_account_password
. Domain descriptors are separated by semicolons.Example:
cuba.web.activeDirectoryDomains = MYCOMPANY|mycompany.com|JESPA$@MYCOMPANY.COM|password1;TEST|test.com|JESPA$@TEST.COM|password2
-
Enable the Active Directory integration by setting the
cuba.web.externalAuthentication
property in thelocal.app.properties
file:cuba.web.externalAuthentication = true
-
Configure Jespa authentication provider by setting its FQN for the the
cuba.web.externalAuthenticationProviderClass
property in thelocal.app.properties
file:cuba.web.externalAuthenticationProviderClass = com.company.sample.web.JespaAuthProvider
-
Configure additional Jespa properties in the
local.app.properties
file (see Jespa Operator’s Manual). For example:jespa.log.level=3
If the application is deployed to Tomcat, Jespa log file can be found in
tomcat/logs
. -
Add the server address to the local intranet in the browser settings:
-
For Internet Explorer and Chrome: Settings > Security > Local intranet > Sites > Advanced
-
For Firefox:
about:config
>network.automatic-ntlm-auth.trusted-uris=http://myapp.mycompany.com
-