{"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":"\nHow To Configure Apache Tomcat Users and Groups | Ephesoft Docs<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Configure Apache Tomcat Users and Groups\" \/>\n<meta property=\"og:description\" content=\"Please follow the below steps to setup Apache Tomcat authentication for your Ephesoft application. Apache Tomcat configuration is enabled in […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/how-to-configure-apache-tomcat\/\" \/>\n<meta property=\"og:site_name\" content=\"Ephesoft Docs\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-03T21:51:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ephesoft.com\/docs\/wp-content\/uploads\/2014\/12\/JNDIrealm-300x136.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/how-to-configure-apache-tomcat\/\",\"url\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/how-to-configure-apache-tomcat\/\",\"name\":\"How To Configure Apache Tomcat Users and Groups | Ephesoft Docs\",\"isPartOf\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\"},\"datePublished\":\"2014-12-29T16:10:05+00:00\",\"dateModified\":\"2020-12-03T21:51:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/how-to-configure-apache-tomcat\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/how-to-configure-apache-tomcat\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/how-to-configure-apache-tomcat\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ephesoft.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Transact\",\"item\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"System Configuration\",\"item\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"User Connectivity\",\"item\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"How To Configure Apache Tomcat Users and Groups\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\",\"url\":\"https:\/\/ephesoft.com\/docs\/\",\"name\":\"Ephesoft Docs\",\"description\":\"Intelligent Document Processing Made Easy\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ephesoft.com\/docs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How To Configure Apache Tomcat Users and Groups | Ephesoft Docs","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"How To Configure Apache Tomcat Users and Groups","og_description":"Please follow the below steps to setup Apache Tomcat authentication for your Ephesoft application. Apache Tomcat configuration is enabled in […]","og_url":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/how-to-configure-apache-tomcat\/","og_site_name":"Ephesoft Docs","article_modified_time":"2020-12-03T21:51:08+00:00","og_image":[{"url":"https:\/\/ephesoft.com\/docs\/wp-content\/uploads\/2014\/12\/JNDIrealm-300x136.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/how-to-configure-apache-tomcat\/","url":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/how-to-configure-apache-tomcat\/","name":"How To Configure Apache Tomcat Users and Groups | Ephesoft Docs","isPartOf":{"@id":"https:\/\/ephesoft.com\/docs\/#website"},"datePublished":"2014-12-29T16:10:05+00:00","dateModified":"2020-12-03T21:51:08+00:00","breadcrumb":{"@id":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/how-to-configure-apache-tomcat\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/how-to-configure-apache-tomcat\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/how-to-configure-apache-tomcat\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ephesoft.com\/docs\/"},{"@type":"ListItem","position":2,"name":"Transact","item":"https:\/\/ephesoft.com\/docs\/products\/transact\/"},{"@type":"ListItem","position":3,"name":"System Configuration","item":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/"},{"@type":"ListItem","position":4,"name":"User Connectivity","item":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/"},{"@type":"ListItem","position":5,"name":"How To Configure Apache Tomcat Users and Groups"}]},{"@type":"WebSite","@id":"https:\/\/ephesoft.com\/docs\/#website","url":"https:\/\/ephesoft.com\/docs\/","name":"Ephesoft Docs","description":"Intelligent Document Processing Made Easy","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ephesoft.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"comment_count":0,"_links":{"self":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/2494"}],"collection":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/comments?post=2494"}],"version-history":[{"count":0,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/2494\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/21480"}],"next":[{"title":"User Management","link":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/user-management\/","href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/1343"}],"prev":[{"title":"How to Administer Ephesoft Users and Groups","link":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/how-to-administer-ephesoft-users-groups\/","href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/460"}],"wp:attachment":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/media?parent=2494"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/doc_tag?post=2494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}