Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 79824 invoked by uid 500); 8 Jun 2001 08:44:46 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 79788 invoked by uid 1059); 8 Jun 2001 08:44:42 -0000 Date: Fri, 8 Jun 2001 01:44:42 -0700 (PDT) From: "Craig R. McClanahan" X-Sender: craigmcc@localhost To: tomcat-dev@jakarta.apache.org Subject: Re: per-context realms In-Reply-To: <008d01c0eea1$26c4a220$b9bb4118@gv.shawcable.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: localhost 1.6.2 0/1000/N On Wed, 6 Jun 2001, Michael Jennings wrote: > Hi everyone, > > Does anyone have an idea of how I could go about implementing > realms/authentication on a per-context basis? > Ideally, what I would like to do is have each context control > their users and roles. Where should I look to get a clue? > Tomcat 4 lets you do this "out of the box". You can define your realm at the Engine, Host, or Context (i.e. webapp) level -- whatever suits your requirements. > -Mike > Craig