# Custom Policy class

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

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Gilles Roussel: "JSECURITY Issue: Question on FIPS crypto module certification"
- Previous message: Kimberley M. Cross: "Help! Need expert troubleshooter's assistance! and help with Java plugin 1.1.1"
- Next in thread: Jan Luehe: "Re: Custom Policy class"

    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

- Next message: Gilles Roussel: "JSECURITY Issue: Question on FIPS crypto module certification"
- Previous message: Kimberley M. Cross: "Help! Need expert troubleshooter's assistance! and help with Java plugin 1.1.1"
- Next in thread: Jan Luehe: "Re: Custom Policy class"