Getting Started
IBM TechXchange Dev Day: Virtual Agents
Join us 23 January from 11 AM - 6 PM ET as over 30 speakers from IBM and key AI industry leaders discuss the latest AI trends.
Steps to enable Basic HTTP authentication in Software AG Runtime (CTP) :
Add the following in the /profiles/CTP/configuration/tomcat/conf/server.xml file’s Engine element next to <Realm className="org.apache.catalina.realm.LockOutRealm"/> : <Realm className="com.softwareag.platform.catalina.auth.SINRealm" name="Default"/>
/profiles/CTP/configuration/tomcat/conf/server.xml
Engine
<Realm className="org.apache.catalina.realm.LockOutRealm"/>
<Realm className="com.softwareag.platform.catalina.auth.SINRealm" name="Default"/>
Add the following in the /profiles/CTP/configuration/tomcat/conf/web.xml before the closing </web-app> tag:
/profiles/CTP/configuration/tomcat/conf/web.xml
</web-app>
<security-constraint> <web-resource-collection> <!-- Choose your specific URL pattern --> <url-pattern>/services/Version.VersionHttpSoap12Endpoint/</url-pattern> <http-method>POST</http-method> </web-resource-collection> <auth-constraint> <role-name>superadmin</role-name> </auth-constraint> </security-constraint> <login-config> <auth-method>BASIC</auth-method> <realm-name>Default</realm-name> </login-config>