Mas isto n�o faz muito sentido. Ent�o, quer dizer que num EJB eu tenho que abrir m�o de tecnologias como
ClassLoader, JNI, etc.
----- Original Message -----
Sent: Tuesday, July 23, 2002 3:08 PM
Subject: RE: [enterprise-list] Permiss�es

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

N�o a especifica��o de EJB especificamente prohibe isso, nem dando um
grant vc pode fazer isso. O comportamento n�o � garantido se��o
24.1.2 Programming Restrictions:

"The enterprise bean must not attempt to create a classloader; obtain
the current classloader (...)"
"The enterprise bean must not attempt to load a native library"

Por�m n�o pode fazer...

Sven

  -----Original Message-----
  From: Cleto Henrique Andrade Silva
[mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, July 23, 2002 3:07 PM
  To: [EMAIL PROTECTED]
  Subject: Re: [enterprise-list] Permiss�es


  Sven,

  ent�o, quer dizer que estas opera��es que s�o proibidas eu somente
consigo execut�-las
  dando um grant no arquivo policy? O doPrivileged s� funciona para
determinadas opera��es?
  Pelo que entendi do seu e-mail me parece que esta � a �nica forma.
Correto?
    ----- Original Message ----- 
    From: Sven E. van �t Veer 
    To: [EMAIL PROTECTED] 
    Sent: Tuesday, July 23, 2002 2:15 PM
    Subject: RE: [enterprise-list] Permiss�es


- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

preciso fazer algumas opera��es dentro do meu EJB como: 
    - carregar uma biblioteca (loadLibrary) 

  � proibido pelo spec 
    - instanciar um classLoader 

  � proibido pelo spec 
    - usar o m�todo getClassLoader 
  j� que n�o pode usar o classloader .... 

- - ---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.377 / Virus Database: 211 - Release Date: 15/7/2002

- -----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use 

iQA/AwUBPT2PHAnFDRzo2TnMEQKtWQCfTVD4ZbMu2cBpM/3/E1m4thQy/90AoNP8
zD2u4LoKJ/cCKxsnc4Sfjn0/
=l4Ox
- -----END PGP SIGNATURE-----




- ----------------------------------------------------------------------
- ------


   
- ---------------------------------------------------------------------
    Para cancelar a subscri��o, envie mensagem para:
[EMAIL PROTECTED]
    Para comandos adicionais, envie mensagem para:
[EMAIL PROTECTED]

- ---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.377 / Virus Database: 211 - Release Date: 15/7/2002

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use 

iQA/AwUBPT2bngnFDRzo2TnMEQL8jQCfdeA49lP2nvrn/44cdSxvAlxDsakAniwu
oij6Nxpu8onFTnZXMq7XGmAp
=+/X2
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
Para cancelar a subscri��o, envie mensagem para: [EMAIL PROTECTED]
Para comandos adicionais, envie mensagem para: [EMAIL PROTECTED]

Responder a