hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Lizarralde" <clizarra...@cubika.com>
Subject RE: Security Ejbs lookup
Date Wed, 13 Jul 2005 18:16:09 GMT
I have the same problem! 

Any clues?

 

  _____  

De: Mariano Stampella [mailto:mstampella@gmail.com] 
Enviado el: Miércoles, 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 = "root"

SECURITY_CREDENTIALS = "blablabla"

 

When I do the manual lookup i´m just write:

 

Hashtable props = new H....

 

props.put(javax.naming.Context.SECURITY_PRINCIPAL...)

 

Context context = new InitialContext(props);

 

But when I use invoke-factory: 

 

 

  <service-point id="tratamientoRechazosSession"
interface="com.np.iaso.mamo.interfaces.TratamientoRechazos">

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

       <construct
home-interface="com.np.iaso.mamo.interfaces.TratamientoRechazosHome"

          jndi-name="ejb/TratamientoRechazos" />

     </invoke-factory>

  </service-point>

 

 

How can I set this parameters?????

 

 

Sorry for my English :-(

 

Mariano


Mime
View raw message