Professional Documents
Culture Documents
Apache Tomcat Course: Tutorial #2 - Deployer, Manager, Realms & Access Control
Apache Tomcat Course: Tutorial #2 - Deployer, Manager, Realms & Access Control
Contents
Objective
Prerequisite
Chapters
Deployer
Manager
Conclusion
Objective
The purpose of this tutorial is to
deploy, precompile, and validate web
application with standard and Manager
Web app ways and also Realms
configuration for use in web
applications that utilize Container
Managed Security.
Prerequisite
Ch#1 - Deployer
Topics
What is Deployment?
Deployment on Tomcat startup
Deploying on a running Tomcat
server
Ch#1 Deployer
cont'd
What is Deployment?
Ch#1 Deployer
cont'd
Default deployment
Set deployOnStartup attribute to
True
$CATALINA_BASE/conf/server.xml
Ch#1 Deployer
cont'd
Ch# 2 - Manager
Topics
What is Manager?
Configuring Manager Application
Access
Deployment thru Manager
Ch#2 - Manager
cont'd
What is Manager?
Ch#2 - Manager
cont'd
http://{host}:{port}/manager/html
Ch#2 - Manager
cont'd
Topics
What is a Realm?
Configuring a Realm
Standard Realm Implementations
What is a Realm?
A Realm is a "database" of
usernames and passwords that
identify valid users of a web
application (or set of web
applications), plus an enumeration
of the list of roles associated with
each valid user.
cont'd
cont'd
ConfiguringControl
a Realm
cont'd
Control
JDBCRealm
UserDatabaseRealm
DataSourceRealm MemoryRealm
JNDIRealm
JAASRealm
Conclusion
We discovered the different
deployment and undeployment
approaches of Tomcat Web Server,
Tomcat Manager usage for Web
deployment and undeployment, and
Realm configuration for security with
demonstration .