Return-Path: Delivered-To: apmail-jakarta-hivemind-user-archive@www.apache.org Received: (qmail 81975 invoked from network); 13 Jul 2005 18:15:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jul 2005 18:15:43 -0000 Received: (qmail 78267 invoked by uid 500); 13 Jul 2005 18:15:41 -0000 Delivered-To: apmail-jakarta-hivemind-user-archive@jakarta.apache.org Received: (qmail 78248 invoked by uid 500); 13 Jul 2005 18:15:41 -0000 Mailing-List: contact hivemind-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: hivemind-user@jakarta.apache.org List-Id: Delivered-To: mailing list hivemind-user@jakarta.apache.org Received: (qmail 78235 invoked by uid 99); 13 Jul 2005 18:15:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 11:15:41 -0700 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=FORGED_RCVD_HELO,HTML_MESSAGE,MSGID_FROM_MTA_HEADER,RCVD_IN_NJABL_PROXY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [200.55.63.137] (HELO cumail.cubika.com) (200.55.63.137) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 11:15:37 -0700 Received: from cubika.com (mail.bitbox.com.ar [200.61.163.41] (may be forged)) by cumail.cubika.com (8.11.6+Sun/8.9.3) with ESMTP id j6DIOIP22053 for ; Wed, 13 Jul 2005 14:24:18 -0400 (EDT) Message-Id: <200507131824.j6DIOIP22053@cumail.cubika.com> Received: from CUBIKA074 by cubika.com (MDaemon.PRO.v6.8.5.R) with ESMTP id 2-md50000000075.tmp for ; Wed, 13 Jul 2005 15:16:12 -0300 From: "Carlos Lizarralde" To: Subject: RE: Security Ejbs lookup Date: Wed, 13 Jul 2005 15:16:09 -0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0053_01C587BD.CC515C60" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Thread-index: AcWHtkO6mb1hgITYQ0uRdF91OHP41QAIKQug In-Reply-To: <002101c587b6$35fb0c90$a500a8c0@cub2knet.com.ar> X-Spam-Processed: cubika.com, Wed, 13 Jul 2005 15:16:12 -0300 (not processed: message from valid local sender) X-Return-Path: clizarralde@cubika.com X-MDaemon-Deliver-To: hivemind-user@jakarta.apache.org X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0053_01C587BD.CC515C60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have the same problem!=20 Any clues? =20 _____ =20 De: Mariano Stampella [mailto:mstampella@gmail.com]=20 Enviado el: Mi=E9rcoles, 13 de Julio de 2005 11:22 a.m. Para: hivemind-user@jakarta.apache.org Asunto: Security Ejbs lookup =20 Hi, =20 I need lookup session beans with some security parameters like: =20 SECURITY_PRINCIPAL =3D "root" SECURITY_CREDENTIALS =3D "blablabla" =20 When I do the manual lookup i=B4m just write: =20 Hashtable props =3D new H.... =20 props.put(javax.naming.Context.SECURITY_PRINCIPAL...) =20 Context context =3D new InitialContext(props); =20 But when I use invoke-factory:=20 =20 =20 =20 =20 How can I set this parameters????? =20 =20 Sorry for my English :-( =20 Mariano ------=_NextPart_000_0053_01C587BD.CC515C60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

I have the same = problem!

Any = clues?

 


De: = Mariano Stampella [mailto:mstampella@gmail.com]
Enviado el: Mi=E9rcoles, = 13 de Julio de 2005 11:22 a.m.
Para: hivemind-user@jakarta.apache.org
Asunto: Security Ejbs = lookup

 

Hi,

 

I need lookup session beans with some = security parameters like:

 

SECURITY_PRINCIPAL = =3D "root"

SECURITY_CREDENTIALS = =3D "blablabla"

 

When I do the manual = lookup i=B4m just write:

 

Hashtable props =3D = new H....

 

props.put(javax.naming.Context.SEC= URITY_PRINCIPAL...)

 

Context context =3D = new InitialContext(props);

 

But when I use = invoke-factory:

 

 

  = <service-point id=3D"tratamientoRechazosSession" interface=3D"com.np.iaso.mamo.interfaces.TratamientoRechazos"&g= t;

      =  <invoke-factory service-id=3D"hivemind.lib.EJBProxyFactory">

     &nbs= p; <construct home-interface=3D"com.np.iaso.mamo.interfaces.TratamientoRechazosHom= e"

     &nbs= p;    jndi-name=3D"ejb/TratamientoRechazos" />

     = </invoke-factory>

  = </service-point>

 

 

How can I set this parameters?????

 

 

Sorry for my English = L

 

Mariano

------=_NextPart_000_0053_01C587BD.CC515C60--