{"id":2494,"date":"2014-12-29T16:10:05","date_gmt":"2014-12-29T16:10:05","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=2494"},"modified":"2020-12-03T14:51:08","modified_gmt":"2020-12-03T21:51:08","slug":"how-to-configure-apache-tomcat","status":"publish","type":"docs","link":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/how-to-configure-apache-tomcat\/","title":{"rendered":"How To Configure Apache Tomcat Users and Groups"},"content":{"rendered":"
Please follow the below steps to setup Apache Tomcat authentication for your Ephesoft application. Apache Tomcat configuration is enabled in four different files:<\/p>\n
<\/p>\n
1. user-connectivity.properties\u00a0<\/em><\/strong>located in Ephesoft Installation Folder\\<\/em>Application\\WEB-INF\\classes\\META-INF\\dcma-user-connectivity\\user-connectivity.properties\u00a0<\/strong><\/p>\n This file contains the settings necessary to populate groups’ names in Ephesoft Batch Class Management.<\/p>\n The following settings should be set for Tomcat:<\/p>\n user.connection=2\u00a0<\/strong><\/p>\n user.tomcatUserXmlPath=Ephesoft Installation Folder\\\\JavaAppServer\\\\conf\\\\tomcat-users.xml<\/strong><\/p>\n \u00a0 \u00a0 \u00a0 \u00a0 Example: if your Ephesoft Installation folder is in C:Drive then the value should reflect as mentioned below:<\/p>\n \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0user.tomcatUserXmlPath=C:\\\\Ephesoft\\\\JavaAppServer\\\\conf\\\\tomcat-users.xml<\/strong><\/p>\n 2. server.xml<\/strong>\u00a0<\/strong>located in Ephesoft Installation Folder<\/strong><\/em>\\JavaAppServer\\conf\\server.xml<\/strong><\/p>\n This file tells Ephesoft that users should be authenticated using tomcat.<\/p>\n The file should have the following realm:<\/p>\n <Realm className=”org.apache.catalina.realm.MemoryRealm”\/>\u00a0<\/strong><\/p>\n Note<\/strong>: If you are on another authentication type such as Microsoft Active Directory or LDAP authentication and want to revert back to Apache Tomcat, then you also need to comment out below section in server.xml .<\/p>\n <Realm className=”org.apache.catalina.realm.JNDIRealm”\/><\/strong><\/p>\n <\/a><\/p>\n Note<\/strong>: In Ephesoft Transact 2.5, realm settings are located in Ephesoft Installation Folder\\<\/em>JavaAppServer\\conf\\Catalina\\localhost\\dcma.xml <\/strong>instead of server.xml<\/strong><\/p>\n 3. tomcat-users.xml<\/strong>\u00a0<\/em><\/strong>located in Ephesoft Installation Folder\\<\/em>JavaAppServer\\conf\\tomcat-users.xml<\/strong><\/p>\n This file contains user groups and users.<\/p>\n For example a group called admin and a user called ephesoft with password demo is defined as follows:<\/p>\n <role rolename=”admin”\/>\u00a0<\/strong><\/em><\/p>\n <user username=”ephesoft” password=”demo” roles=”admin”\/><\/strong><\/em><\/p>\n 4. application.properties<\/strong>\u00a0<\/em><\/strong>located in Ephesoft Installation Folder\\Application\\WEB-INF\\classes\\META-INF\\<\/em>application.properties<\/strong><\/p>\n This file contains settings necessary to update the admin group for Apache Tomcat.<\/p>\n The following settings should be set.<\/p>\n update_super_admin_group=true<\/strong><\/p>\n user.super_admin=admin<\/strong><\/p>\n 5.\u00a0<\/strong>You will need to restart the Ephesoft Transact service to apply the changes.<\/p>\n Please Note:<\/strong> In Ephesoft Transact 4.x Tomcat Authentication is enabled by default.<\/p>\n <\/p>\n < Back<\/a><\/strong> |\u00a0How To Main Page<\/strong><\/a><\/p>\n","protected":false},"featured_media":0,"parent":21480,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"yoast_head":"\n