Section | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
...
- Stop if it is running.
- Modify the <frevvo-home>\tomcat\conf\server.xml file. Here is an example of the changes needed when using tomcat.
- Edit this file with a text editor.
- Search for 'ldap://localhost:389 - you should find this in the org.apache.catalina.realm.JNDIRealm section of the file.
- Notice lines 98 - 107 are commented out.
- Uncomment this section. Replace the existing code with the code shown below:
- Replace the connectionURL, connectionName and the connectionPassword default values with your LDAP server information.
- Refer to this website for detailed information about the remaining parameters.
...
Code Block |
---|
<!-- Security constraint BASIC AUTH --> <security-constraint> <web-resource-collection> <web-resource-name>Secure frevvo</web-resource-name> <url-pattern>/*</url-pattern> </web-resource-collection> <auth-constraint> <role-name>frevvo.User</role-name> </auth-constraint> </security-constraint> <security-constraint> <web-resource-collection> <web-resource-name>Public Access</web-resource-name> <url-pattern>/heartbeat/*</url-pattern> <url-pattern>/web/public/*</url-pattern> <url-pattern>/js/*</url-pattern> <url-pattern>/css/*</url-pattern> <url-pattern>/images/*</url-pattern> <url-pattern>/fonts/*</url-pattern> </web-resource-collection> </security-constraint> <login-config> <auth-method>BASIC</auth-method> </login-config> <security-role> <role-name>frevvo.User</role-name> </security-role> |
8. Start .
Check if the configuration is correct
...