Documentation Contents
Java Platform, Standard Edition Tools Reference
Contents    Previous    Next

policytool

Reads and writes a plain text policy file based on user input through the utility GUI.

Synopsis

policytool [ -file ] [ filename ]

-file

Directs the policytool command to load a policy file.

filename

The name of the file to be loaded.

Examples:

Run the policy tool administrator utility:

policytool

Run the policytool command and load the specified file:

policytool -file mypolicyfile

Description

The policytool command calls an administrator's GUI that enables system administrators to manage the contents of local policy files. A policy file is a plain-text file with a .policy extension, that maps remote requestors by domain, to permission objects. For details, see Default Policy Implementation and Policy File Syntax at
http://docs.oracle.com/javase/8/docs/technotes/guides/security/PolicyFiles.html

Options

-file

Directs the policytool command to load a policy file.

See Also

Contents    Previous    Next

Oracle and/or its affiliates Copyright © 1993, 2019, Oracle and/or its affiliates. All rights reserved.
Contact Us