Application implemented in Tersus Server is not accepting user authentication, below theTomcat context file:
<!--
Context configuration file template for deployment of a Tersus application using Tomcat
Placeholders should be replaced with appropriate values.
See the deployment documentation at http://www.tersus.com/#Id=45 for details
-->
<Context
path="/fmanager"
docBase="/tersus-server"
debug="0" privileged="true">
<Valve
className="org.apache.catalina.authenticator.BasicAuthenticator"
disableProxyCaching="false"/>
<Parameter
name="project_root"
value="/tersus-applications/fmanager"/>
name="trace"
value="/tersus-applications/fmanager/work/trace"/>
name="repository_root"
value="/tersus-applications/fmanager/models"/>
name="root_system"
value="fmanager/fmanager"/>
name="model_libraries"
value="/tersus-server/WEB-INF/common.trl"/>
name="local_web_directories"
value="/tersus-applications/fmanager/web;/tersus-applications/fmanager/models"/>
name="timestamp_file"
value="/tersus-applications/fmanager/.timestamp"/>
name="init_db"
value="false"/>
name="check_db"
name="dev_mode"
Setup of the 'Main' DataSource
<Resource name="jdbc/Main"
driverClassName="com.mysql.jdbc.Driver"
maxActive="20" maxIdle="10" maxWait="10000"
type="javax.sql.DataSource"
username="*****"
password="*****"
url="jdbc:mysql://localhost:3306/db"
validationQuery="select now()"/>
Authentication setup
If your application does not require authentication (i.e. it does not use the Authorization module),
comment out the following Realm element.
<Realm className="org.apache.catalina.realm.JDBCRealm"
debug="0"
driverName="com.mysql.jdbc.Driver"
connectionURL="jdbc:mysql://localhost:3306/db"
connectionName="*****"
connectionPassword="*****"
userTable="Users" userRoleTable="User_Roles"
userNameCol="User_ID" userCredCol="Password" roleNameCol="Role"/>
</Context>
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign