# Enabling Basic HTTP authentication in CTP

**URL:** <https://techcommunity.softwareag.com/t/enabling-basic-http-authentication-in-ctp/243466>\
**Category:** Knowledge base\
**Tags:** tomcat, CTP, Software-AG-Runtime, basic-auth, WSS\
**Created:** [August 9, 2021, 9:43am UTC](https://techcommunity.softwareag.com/t/enabling-basic-http-authentication-in-ctp/243466 "2021-08-09T09:43:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Esin\_Yakub](https://avatars.discourse-cdn.com/v4/letter/e/e47c2d/32.png) [@Esin\_Yakub](https://techcommunity.softwareag.com/u/Esin_Yakub)\
**Post date:** [August 9, 2021, 9:43am UTC](https://techcommunity.softwareag.com/t/enabling-basic-http-authentication-in-ctp/243466/1 "2021-08-09T09:43:28Z")

</div>

Steps to enable Basic HTTP authentication in Software AG Runtime (CTP) :

1. 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"/>`

2. Add the following in the `/profiles/CTP/configuration/tomcat/conf/web.xml` before the closing `</web-app>` tag:
