Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 59184 invoked from network); 19 Jul 2010 07:47:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Jul 2010 07:47:02 -0000 Received: (qmail 78874 invoked by uid 500); 19 Jul 2010 07:47:02 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 78521 invoked by uid 500); 19 Jul 2010 07:47:00 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 78513 invoked by uid 99); 19 Jul 2010 07:46:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jul 2010 07:46:58 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of xhhsld@gmail.com designates 209.85.216.54 as permitted sender) Received: from [209.85.216.54] (HELO mail-qw0-f54.google.com) (209.85.216.54) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jul 2010 07:46:52 +0000 Received: by qwg5 with SMTP id 5so2027380qwg.13 for ; Mon, 19 Jul 2010 00:45:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=mbthNHE82QrGaZYioUQiJtQq90ciLAo6Ru4caSG/5gA=; b=pvLT8V0RpaKQkhJe0qQRLKzNVcNJvw7rtMbXDr63enC0w7Pxs7RtY0LahyhiN6GvPM YXzCbNteGe3eoyzsA2HQoMfvPhZlCg+uomxpAgIqzET+/vkHMQfwU3JPF+Y91zn49CwT Ba94aNl+vkePn85Vkw18SQoi3ogxQ1fTMGXCI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gwjZGwPl7HSPQ2sBby8VWRWQO9kx49fH4EbVmo0XLK9wIoixau6nVYB1SsygLv6YFY 6i31OxtLxNIx/A+Sgsbq6+yOOI8ODBfvqABSpu0Kjqo2O6XSc28Ju4ePxredSQfCu8WC MxpxVvZmQa5f85xM+q1wVv5T3QwDc3Sn2y5PY= MIME-Version: 1.0 Received: by 10.224.26.3 with SMTP id b3mr4023314qac.2.1279525538196; Mon, 19 Jul 2010 00:45:38 -0700 (PDT) Received: by 10.229.224.13 with HTTP; Mon, 19 Jul 2010 00:45:38 -0700 (PDT) In-Reply-To: <4C43F0B3.2000904@kewill.com> References: <4C404573.6030300@kewill.com> <93A1ACC3-61CB-4733-A223-9FB26986DD0A@yahoo.com> <4C43F0B3.2000904@kewill.com> Date: Mon, 19 Jul 2010 15:45:38 +0800 Message-ID: Subject: Re: Dynamic realms From: Ivan To: user@geronimo.apache.org Content-Type: multipart/alternative; boundary=000feaf957852f80d0048bb8c1f8 X-Virus-Checked: Checked by ClamAV on apache.org --000feaf957852f80d0048bb8c1f8 Content-Type: text/plain; charset=ISO-8859-1 In the geronimo-web.xml file, there is a xml entry named security-realm-name, which is used to specify which realm will be used for the web application, it should be the gbean name of the realm. Yes, there is also a xml entry named realm-name of the login-config, AFAIK, it will only used to show on the popping logon window of the browser. 2010/7/19 Kees van Veen > I'm using basic authentication. > > Regards, > Kees > > > David Jencks wrote: > >> Are you using basic, form, or some other kind of auth? >> >> david jencks >> >> On Jul 16, 2010, at 4:41 AM, Kees van Veen wrote: >> >> >> >>> Hi, >>> >>> How can I get a security realm name per deployed context ? We deploy >>> several versions/instances of our software on the same Geronimo server, and >>> want the browser to remember username/password per url. >>> >>> When deploying a web app we create a security realm name (in the plan) >>> containing the context to which we deploy, e.g. secure-context1, >>> secure-context2. In the Geronimo console I can see all the realms created, >>> so that seems to be fine. >>> >>> My web.xml (and geronimo-web.xml) contain 'secure' as (generic) realm >>> name, and that is what the browser reports when I connect. >>> >>> Maybe a bigger question (for me) is: how does the security definition in >>> the plan.xml link back to the (geronimo-)web.xml or how can I link my >>> web.xml/geronimo-web.xml to the realms available ? >>> >>> Thanks in advance. >>> >>> Regards, >>> Kees >>> >>> >> >> > > -- Ivan --000feaf957852f80d0048bb8c1f8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable In the geronimo-web.xml file, there is a xml entry named security-realm-nam= e, which is used to specify which realm will be used for the web applicatio= n, it should be the gbean name of the realm.
Yes, there is also a xml e= ntry named realm-name of the login-config, AFAIK, it will only used to show= on the popping logon window of the browser.

2010/7/19 Kees van Veen &l= t;kees.vanveen@kewill.com>= ;
I'm using basic authentication.

Regards,
Kees


David Jencks wrote:
Are you using basic, form, or some other kind of auth?

david jencks

On Jul 16, 2010, at 4:41 AM, Kees van Veen wrote:

=A0
Hi,

How can I get a security realm name per deployed context ? We deploy severa= l versions/instances of our software on the same Geronimo server, and want = the browser to remember username/password per url.

When deploying a web app we create a security realm name (in the plan) cont= aining the context to which we deploy, e.g. secure-context1, secure-context= 2. In the Geronimo console I can see all the realms created, so that seems = to be fine.

My web.xml (and geronimo-web.xml) contain 'secure' as (generic) rea= lm name, and that is what the browser reports when I connect.

Maybe a bigger question (for me) is: how does the security definition in th= e plan.xml link back to the (geronimo-)web.xml or how can I link my web.xml= /geronimo-web.xml to the realms available ?

Thanks in advance.

Regards,
Kees
=A0 =A0
=A0




--
Ivan
--000feaf957852f80d0048bb8c1f8--