summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/cms/tomcat
Commit message (Collapse)AuthorAgeFilesLines
* Session support on CLI.Endi Sukma Dewata2013-01-301-0/+8
| | | | | | | | | | | | | | | | | | | | | The CLI has been modified to support executing multiple commands through the same session. A new 'connect' command has been added to establish the session. A new 'disconnect' command has been added to destroy the session. This way it's no longer necessary to specify the authentication info in each commands: pki <auth info> connect pki user-find pki user-show caadmin pki disconnect The old way of specifying the authentication info in each command will continue to work, but the commands will be executed in separate sessions: pki <auth info> user-find pki <auth info> user-show caadmin Ticket #474
* Added proxy realm.Endi Sukma Dewata2012-09-052-0/+306
CMS engine is a singleton and it's used by PKI realm to authenticate users accessing the subsystem. Since a Tomcat instance may contain multiple subsystems, each having separate realm, the PKI JAR links need to be moved into WEB-INF/lib so that they will run inside separate class loaders. Tomcat also requires that the authenticator and realm classes be available in common/lib. To address this a new package pki-tomcat.jar has been added. The package contains the authenticator and a proxy realm. When the subsystems start running, they will register their own realms into the proxy realms such that the authentications will be forwarded to the appropriate subsystems. Ticket #89