Apache Tomcat
Apache Software Foundationother4 credentials
Manager / Host Manager User Password
apache-tomcat / manager-user-password
Tomcat Manager and Host Manager authenticate users through a configured Realm. The default UserDatabaseRealm is typically backed by $CATALINA_BASE/conf/tomcat-users.xml, where operators define usernames, passwords, and manager roles.
Looks like
pattern<user\s+[^>]*username="[^"]+"[^>]*password="[^"]+"[^>]*roles="[^"]*(manager-gui|manager-script|manager-jmx|manager-status|admin-gui|admin-script)[^"]*"[^>]*/?>Location
$CATALINA_BASE/conf/tomcat-users.xml, /etc/tomcat/tomcat-users.xml, /usr/local/tomcat/conf/tomcat-users.xml, /opt/tomcat/conf/tomcat-users.xmlTomcat user database files containing username/password/role entries
$CATALINA_BASE/conf/server.xml, /etc/tomcat/server.xml, /usr/local/tomcat/conf/server.xml, /opt/tomcat/conf/server.xmlRealm configuration can point authentication at XML, JDBC, JNDI, JAAS, or custom stores
%CATALINA_BASE%\conf\tomcat-users.xml, C:\Program Files\Apache Software Foundation\Tomcat\conf\tomcat-users.xmlWindows Tomcat user database files
/manager/html, /manager/text, /manager/jmxproxy, /host-manager/htmlDeployment vaults, Kubernetes Secrets, CI/CD variables, and password managers
Dockerfiles, lab compose files, deployment examples, golden Tomcat configs
WAR deployment bundles, config backups, AMI/container build artifacts
Manager authentication logs, access logs, and deployment traces
Notes
Tomcat documentation states no username in the default users file is assigned Manager roles, so Manager access is disabled by default. Do not treat example users as shipped defaults.
Realm User Password
apache-tomcat / realm-user-password
Tomcat web applications using container-managed security authenticate users through a Realm. Realms may store usernames, passwords, and roles in tomcat-users.xml, a database, LDAP/JNDI, JAAS, or a custom backend.
Looks like
pattern<user\s+[^>]*username="[^"]+"[^>]*password="[^"]+"[^>]*roles="[^"]*"[^>]*/?>Location
$CATALINA_BASE/conf/tomcat-users.xml, /etc/tomcat/tomcat-users.xml, /usr/local/tomcat/conf/tomcat-users.xml, /opt/tomcat/conf/tomcat-users.xmlTomcat XML user database files
$CATALINA_BASE/conf/server.xml, /etc/tomcat/server.xml, /usr/local/tomcat/conf/server.xml, /opt/tomcat/conf/server.xmlRealm, DataSourceRealm, JDBCRealm, JNDIRealm, and JAASRealm configuration
META-INF/context.xml, WEB-INF/web.xml, context.xmlWeb application security constraints and context-level Realm/configuration
JDBCRealm or DataSourceRealm user and role tables
Application login forms protected by Servlet security constraints
Password managers, LDAP bind stores, JNDI secrets, and deployment secret stores
context.xml, web.xml, test fixtures, deployment templates
Notes
Realm password storage depends on the configured Realm and digest settings.
JNDI DataSource Credential
apache-tomcat / datasource-credential
Tomcat commonly defines JDBC resources in server.xml or context.xml with username and password attributes for application database access.
Looks like
pattern<Resource\s+[^>]*(username|user)="[^"]+"[^>]*password="[^"]+"[^>]*/?>Location
$CATALINA_BASE/conf/server.xml, /etc/tomcat/server.xml, /usr/local/tomcat/conf/server.xml, /opt/tomcat/conf/server.xmlGlobal JNDI resource and datasource definitions
META-INF/context.xml, context.xmlApplication context JNDI Resource/DataSource definitions
Deployment vaults, Kubernetes Secrets, and externalized datasource password stores
Application context files, deployment descriptors, and test fixtures
JDBC connection errors, deployment logs, and support bundles
TLS Keystore / Private Key Password
apache-tomcat / tls-keystore-password
Tomcat HTTPS connectors can reference keystores, truststores, certificates, private keys, and passwords in server.xml.
Looks like
pattern(?:keystorePass|certificateKeyPassword|truststorePass)="[^"]{1,255}"Location
$CATALINA_BASE/conf/server.xml, /etc/tomcat/server.xml, /usr/local/tomcat/conf/server.xml, /opt/tomcat/conf/server.xmlHTTPS Connector TLS key/trust store configuration
%CATALINA_BASE%\conf\server.xml, C:\Program Files\Apache Software Foundation\Tomcat\conf\server.xmlWindows Tomcat TLS Connector configuration
Java keystores, certificate vaults, Kubernetes Secrets, and deployment secret stores
Config backups, support bundles, and container images
Scope
Authorized use
LOLCreds helps map the credential surface of real products: known defaults, generated values, credential locations, and exposure patterns.