# Policy.refresh()

Serafin Jose Estevez Andres (uov01955@correo.uniovi.es)
Wed, 09 Dec 1998 23:47:44 +0100

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Serafin Jose Estevez Andres: "Policy.refresh()"
- Previous message: kevin.goode@Eng: "ID#:6308 SECURITY Issue: JAVA JCE (need more code examples)"

Hello, nice people at sun:

I'm having big trouble trying to use a Policy object to refresh policy
during run-time: I install security manager, modify policy file, refresh
Policy, load a new class that tries the permission, and invoke a method
from this class, using AccessController.doPrivileged. But it still throws
AccessControlException.

I thought you could tell me where to find some (working) examples of the
class Policy, specially method refresh(). Can you?

Thanks in advance for your time.

-- Sera.

- Next message: Serafin Jose Estevez Andres: "Policy.refresh()"
- Previous message: kevin.goode@Eng: "ID#:6308 SECURITY Issue: JAVA JCE (need more code examples)"