posted 14 years ago
You don't. You add the user (and role(s)) to the security Realm. Out of the box, that means editing the tomcat-users.xml file.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.