Custom Policy class

Gilles Roussel (Gilles.Roussel@univ-mlv.fr)
Thu, 08 Apr 1999 15:44:22 +0200

Date: Thu, 08 Apr 1999 15:44:22 +0200
From: Gilles Roussel <Gilles.Roussel@univ-mlv.fr>
To: java-security@java.sun.com
Subject: Custom Policy class

I'm trying to change the default Policy class.
I've changer the policy.provider property to
policy.provider=3DPolicyExtension in lib/security/java.security

But the following code

import java.security.*;

public class PolicyTest {
public static void main(String[] args) throws Exception{
System.out.println(Policy.getPolicy());
}
}

still produces

sun.security.provider.PolicyFile@e694e1f0

What should I do to change this behaviour

Thanks

--
Gilles Roussel
Batiment Copernic - Universit=E9 de Marne-la-Vall=E9e - Cit=E9 Descartes
5, boulevard Descartes - Champs sur Marne - 77454 Marne-la-Vall=E9e Cedex=
 2 - FRANCE