1policyeditor(1) General Commands Manual policyeditor(1)
2
3
4
6 policyeditor - view and modify security policy settings for javaws and
7 the browser plugin
8
9
11 policyeditor
12 policyeditor [-file] policy_file
13
15 policyeditor is a GUI application with small command line support to
16 view and edit applet security policy settings used by the IcedTea-Web
17 implementation of javaws and the browser plugin. It is intended as a
18 simpler, easier to use, and more accessible alternative to the standard
19 JDK Policy Tool. Administrators and power users who need fine grained
20 control over policy files should probably use Policy Tool instead of
21 PolicyEditor.
22
23 If executed without any arguments, no file is opened, and saving the
24 file will result in a prompt on where to save it. Otherwise, if a file
25 path is given as a command line argument, then that file path will be
26 opened and parsed as policy file.
27
28
30 -codebase url
31 Specifies an applet codebase URL. This can be used with the
32 other selector options to select a policy entry upon open‐
33 ing the editor; if no such identifier exists then it will
34 be created and then selected.(Exactly one argument ex‐
35 pected)
36
37 -defaultfile
38 Specifies that the default user-level policy file should be
39 opened. This is the file which is normally used by IcedTea-
40 Web to make decisions about custom policies and permissions
41 for applets at runtime, unless configured otherwise.(No ar‐
42 gument expected)
43
44 -file policy_file
45 Specifies a policy file path to open. If exactly one argu‐
46 ment is given, and it is not this flag, it is interpreted
47 as a file path to open, as if this flag was given first.
48 This flag exists mostly for compatibility with Policy
49 Tool.(Exactly one argument expected)
50
51 -help Prints out information about supported command and basic
52 usage.(No argument expected)
53
54 -principals class_name principal_name
55 Specifies class name/principal name pairs (space-separated)
56 for the policy entry identifier. This can be used with the
57 other selector options to select a policy entry upon open‐
58 ing the editor; if no such identifier exists then it will
59 be created and then selected.(Expected even number of argu‐
60 ments with param=value as valid argument)
61
62 -signedby certificate_alias
63 Specifies a certificate alias for a certificate stored in
64 the keystore. This can be used with the other selector op‐
65 tions to select a policy entry upon opening the editor; if
66 no such identifier exists then it will be created and then
67 selected.(Exactly one argument expected)
68
69 -verbose Enable verbose output.(No argument expected)
70
71
73 policyeditor
74 Show the GUI editor with no file opened.
75
76 policyeditor -file $XDG_CONFIG_HOME/icedtea-web/security/java.policy
77 Show GUI and open the default policy file.
78
79
81 $XDG_CACHE_HOME/icedtea-web/cache/recently_used
82 Additional information about items in cache
83
84 $XDG_CONFIG_HOME/icedtea-web/security/java.policy
85 Contains granted permissions for selected unsigned apps.
86 Controlled by deployment.user.security.policy
87
88
89
90 Where $XDG_CONFIG_DIR, $XDG_CACHE_DIR and $XDG_RUNTIME_DIR are set as
91 ~/.config, ~/.cache and /tmp or /var/tmp if not set.
92
94 There aren't any known bugs. If you come across one, please file it at:
95 http://icedtea.classpath.org/wiki/IcedTea-Web#Filing_bugs
96 https://github.com/AdoptOpenJDK/icedtea-web/issues
97
98 Please run in debug (-verbose switch or itw-settings setting or
99 ICEDTEAPLUGIN_DEBUG variable set to true) mode and include that output
100 (best is from the console) with URL to jnlp or html file (or the
101 jnlp/html file or application itself) when filling out the bug report.
102
103
105 https://github.com/AdoptOpenJDK/icedtea-web/graphs/contributors
106
107
109 icedtea-web(1) javaws(1) icedtea-web-plugin(1) itweb-settings(1) poli‐
110 cyeditor(1) policytool(1) java(1)
111
112 https://github.com/AdoptOpenJDK/icedtea-web
113 https://github.com/AdoptOpenJDK/icedtea-web.git
114
115
116
117
118icedtea-web 2.0.0-alpha16 19 Oct 2021 policyeditor(1)