Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 17636 invoked from network); 18 Jan 2011 10:57:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jan 2011 10:57:42 -0000 Received: (qmail 986 invoked by uid 500); 18 Jan 2011 10:57:42 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 840 invoked by uid 500); 18 Jan 2011 10:57:39 -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 830 invoked by uid 99); 18 Jan 2011 10:57:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 10:57:38 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sanjaykumar2891987@gmail.com designates 209.85.214.182 as permitted sender) Received: from [209.85.214.182] (HELO mail-iw0-f182.google.com) (209.85.214.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 10:57:30 +0000 Received: by iwn39 with SMTP id 39so5598437iwn.13 for ; Tue, 18 Jan 2011 02:57:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=cNoT0yUD8Yql4LQef/IZbR7WsROLoxP+ocJNcxgQE5M=; b=LnikPrJQSjPg9sCtyFrcyuwrA8aBush6i0iKX1YPEaVYONiwj56+ZQlZczt4Wzm48R MeGVXnb5zEyFhpQMGKpbPP9se65s6dur4nRPpX6cVLw7KWLWR9kfEwPukVfsi9lD7sNt P13ClhKRzFsxD9N9wArBFYsoAj5k9PESi0/xc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=uYn3Vd5AxjCJvVeczCubp9cGt0tyBHEw9bJ9DG3zB43Toh2o36meKFqN00gZ10VMbo MaGeL1ZGe/gEy+qeFxR/LSDf4LQ3+oevHeySp0GAq/s2yLKT5BXw+RXtsdX3C/Rw88T0 Dfzh+sJeDMib7PhKQi5DRlHECRmMQTcJlg1vc= MIME-Version: 1.0 Received: by 10.42.221.133 with SMTP id ic5mr6012279icb.212.1295348229357; Tue, 18 Jan 2011 02:57:09 -0800 (PST) Received: by 10.42.4.20 with HTTP; Tue, 18 Jan 2011 02:57:09 -0800 (PST) Date: Tue, 18 Jan 2011 16:27:09 +0530 Message-ID: Subject: Where to specify the realm name for EJB From: sanjay kumar To: user@geronimo.apache.org Content-Type: multipart/alternative; boundary=20cf30549e5b1242c0049a1cc398 X-Virus-Checked: Checked by ClamAV on apache.org --20cf30549e5b1242c0049a1cc398 Content-Type: text/plain; charset=ISO-8859-1 Hi All, I am facing issues in calling my custom security realm. I have created my security realm and deployed in Geronimo 2.2. This SR provides basic authentication. I need to call this SR automatically (as a SR is supposed to do) whenever a call to ejb is made. Both the EJB and SR are deployed in same server i.e Geronimno 2.2. But I am not able to find the correct place in deployment plan of EJB. I have used this . But it didnt work... test custom-security-realm-name NONE BASIC Can anyone have any idea how I can do this? All suggestions are welcomed. Thanks, -- Regards: Sanjay Kumar sanjaykumar2891987@gmail.com Java Developer --20cf30549e5b1242c0049a1cc398 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi All,
=A0 I am facing issues in calling my custom security realm. I ha= ve created my security realm and deployed in Geronimo 2.2. This SR provides= basic authentication. I need to call this SR automatically (as a SR is sup= posed to do) whenever a call to ejb is made. Both the EJB and SR are deploy= ed in same server i.e Geronimno 2.2. But I am not able to find the correct = place in deployment plan of EJB.


I have used this . But it didnt work...
<enterprise-beans>=
=A0=A0=A0 <session>
=A0=A0=A0 =A0=A0=A0 <ejb-name>test&l= t;/ejb-name>
=A0=A0=A0 =A0=A0=A0 <web-service-security>
=A0= =A0=A0 =A0=A0=A0 =A0=A0=A0 <security-realm-name>custom-security-realm= -name</security-realm-name>
=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 <transport-guarantee>NONE</tr= ansport-guarantee>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 <auth-method&= gt;BASIC</auth-method>
=A0=A0=A0 =A0=A0=A0 </web-service-securi= ty>
=A0=A0=A0 =A0=A0=A0 </session>
</enterprise-beans>=




Can anyone have any idea how I can=A0 do this? All suggesti= ons are welcomed.
Thanks,
--
Regards:
Sanjay Kumar
sanjaykumar28919= 87@gmail.com
Java Developer


--20cf30549e5b1242c0049a1cc398--