8148371: Remove policytool

Reviewed-by: erikj, alanb, mullan
This commit is contained in:
Weijun Wang 2017-09-21 16:29:18 +08:00
parent 02b9452ed3
commit 2bb3b82709
62 changed files with 9 additions and 8479 deletions

@ -88,7 +88,6 @@ src/jdk.naming.dns : jdk/src/jdk.naming.dns
src/jdk.naming.rmi : jdk/src/jdk.naming.rmi
src/jdk.net : jdk/src/jdk.net
src/jdk.pack : jdk/src/jdk.pack
src/jdk.policytool : jdk/src/jdk.policytool
src/jdk.rmic : corba/src/jdk.rmic jdk/src/jdk.rmic
src/jdk.scripting.nashorn : nashorn/src/jdk.scripting.nashorn
src/jdk.scripting.nashorn.shell : nashorn/src/jdk.scripting.nashorn.shell

@ -223,7 +223,6 @@ ifneq ($(OPENJDK_TARGET_OS), windows)
jstack.1 \
jstat.1 \
jstatd.1 \
policytool.1 \
rmic.1 \
schemagen.1 \
serialver.1 \

@ -173,7 +173,6 @@ DOCS_MODULES += \
jdk.naming.rmi \
jdk.net \
jdk.pack \
jdk.policytool \
jdk.rmic \
jdk.scripting.nashorn \
jdk.sctp \

@ -1,33 +0,0 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
include LauncherCommon.gmk
ifeq ($(ENABLE_HEADLESS_ONLY), false)
$(eval $(call SetupBuildLauncher, policytool, \
MAIN_CLASS := sun.security.tools.policytool.PolicyTool, \
LIBS_unix := $(X_LIBS), \
))
endif

@ -86,7 +86,6 @@ if [ "$OPENJDK_TARGET_OS" = "linux" ]; then
./bin/keytool
./bin/orbd
./bin/pack200
./bin/policytool
./bin/rmic
./bin/rmid
./bin/rmiregistry
@ -219,7 +218,6 @@ if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "x86_64" ];
./bin/keytool
./bin/orbd
./bin/pack200
./bin/policytool
./bin/rmic
./bin/rmid
./bin/rmiregistry
@ -329,7 +327,6 @@ if [ "$OPENJDK_TARGET_OS" = "solaris" ] && [ "$OPENJDK_TARGET_CPU" = "sparcv9" ]
./bin/keytool
./bin/orbd
./bin/pack200
./bin/policytool
./bin/rmic
./bin/rmid
./bin/rmiregistry
@ -422,7 +419,6 @@ if [ "$OPENJDK_TARGET_OS" = "windows" ]; then
./bin/ktab.exe
./bin/orbd.exe
./bin/pack200.exe
./bin/policytool.exe
./bin/rmic.exe
./bin/rmid.exe
./bin/rmiregistry.exe
@ -512,7 +508,6 @@ if [ "$OPENJDK_TARGET_OS" = "macosx" ]; then
./bin/keytool
./bin/orbd
./bin/pack200
./bin/policytool
./bin/rmic
./bin/rmid
./bin/rmiregistry

@ -1,24 +0,0 @@
." Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
."
." This code is free software; you can redistribute it and/or modify it
." under the terms of the GNU General Public License version 2 only, as
." published by the Free Software Foundation.
."
." This code is distributed in the hope that it will be useful, but WITHOUT
." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
." version 2 for more details (a copy is included in the LICENSE file that
." accompanied this code).
."
." You should have received a copy of the GNU General Public License version
." 2 along with this work; if not, write to the Free Software Foundation,
." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
."
." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
." or visit www.oracle.com if you need additional information or have any
." questions.
."
.TH policytool 1 "07 May 2011"
.LP

@ -149,7 +149,7 @@ Keystore implementations are provider-based, which means the application interfa
.PP
Applications can choose different types of keystore implementations from different providers, with the \f3getInstance\fR factory method in the \f3KeyStore\fR class\&. A keystore type defines the storage and data format of the keystore information and the algorithms used to protect private keys in the keystore and the integrity of the keystore itself\&. Keystore implementations of different types are not compatible\&.
.PP
The \f3jarsigner\fR and \f3policytool\fR commands can read file-based keystores from any location that can be specified using a URL\&. In addition, these commands can read non-file-based keystores such as those provided by MSCAPI on Windows and PKCS11 on all platforms\&.
The \f3jarsigner\fR command can read file-based keystores from any location that can be specified using a URL\&. In addition, the command can read non-file-based keystores such as those provided by MSCAPI on Windows and PKCS11 on all platforms\&.
.PP
For the \f3jarsigner\fR and \f3keytool\fR commands, you can specify a keystore type at the command line with the \f3-storetype\fR option\&. For Policy Tool, you can specify a keystore type with the \fIEdit\fR command in the \fIKeyStore\fR menu\&.
.PP

@ -1231,7 +1231,7 @@ Keystore implementations are provider-based\&. More specifically, the applicatio
Applications can choose different types of keystore implementations from different providers, using the \f3getInstance\fR factory method supplied in the \f3KeyStore\fR class\&. A keystore type defines the storage and data format of the keystore information, and the algorithms used to protect private/secret keys in the keystore and the integrity of the keystore\&. Keystore implementations of different types are not compatible\&.
The \f3keytool\fR command works on any file-based keystore implementation\&. It treats the keystore location that is passed to it at the command line as a file name and converts it to a \f3FileInputStream\fR, from which it loads the keystore information\&.)The \f3jarsigner\fR and \f3policytool\fR commands can read a keystore from any location that can be specified with a URL\&.
The \f3keytool\fR command works on any file-based keystore implementation\&. It treats the keystore location that is passed to it at the command line as a file name and converts it to a \f3FileInputStream\fR, from which it loads the keystore information\&.)The \f3jarsigner\fR command can read a keystore from any location that can be specified with a URL\&.
For \f3keytool\fR and \f3jarsigner\fR, you can specify a keystore type at the command line, with the \f3-storetype\fR option\&. For Policy Tool, you can specify a keystore type with the \fIKeystore\fR menu\&.

@ -1,114 +0,0 @@
'\" t
.\" Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
.\"
.\" This code is free software; you can redistribute it and/or modify it
.\" under the terms of the GNU General Public License version 2 only, as
.\" published by the Free Software Foundation.
.\"
.\" This code is distributed in the hope that it will be useful, but WITHOUT
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
.\" version 2 for more details (a copy is included in the LICENSE file that
.\" accompanied this code).
.\"
.\" You should have received a copy of the GNU General Public License version
.\" 2 along with this work; if not, write to the Free Software Foundation,
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
.\"
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
.\" or visit www.oracle.com if you need additional information or have any
.\" questions.
.\"
.\" Arch: generic
.\" Software: JDK 8
.\" Date: 03 March 2015
.\" SectDesc: Security Tools
.\" Title: policytool.1
.\"
.if n .pl 99999
.TH policytool 1 "03 March 2015" "JDK 8" "Security Tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH NAME
policytool \- Reads and writes a plain text policy file based on user input through the utility GUI\&.
.SH SYNOPSIS
.sp
.nf
\fBpolicytool\fR [ \fB\-file\fR ] [ \fIfilename\fR ]
.fi
.sp
.TP
-file
.br
Directs the \f3policytool\fR command to load a policy file\&.
.TP
\fIfilename\fR
The name of the file to be loaded\&.
.PP
\fIExamples\fR:
.PP
Run the policy tool administrator utility:
.sp
.nf
\f3policytool\fP
.fi
.nf
\f3\fP
.fi
.sp
Run the \f3policytool\fR command and load the specified file:
.sp
.nf
\f3policytool \-file \fImypolicyfile\fR\fP
.fi
.nf
\f3\fP
.fi
.sp
.SH DESCRIPTION
The \f3policytool\fR 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 \f3\&.policy\fR 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
.SH OPTIONS
.TP
-file
.br
Directs the \f3policytool\fR command to load a policy file\&.
.SH SEE\ ALSO
.TP 0.2i
\(bu
Default Policy Implementation and Policy File Syntax at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyFiles\&.html
.TP 0.2i
\(bu
Policy File Creation and Management at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyGuide\&.html
.TP 0.2i
\(bu
Permissions in Java SE Development Kit (JDK) at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/permissions\&.html
.TP 0.2i
\(bu
Java Security Overview at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/overview/jsoverview\&.html
.TP 0.2i
\(bu
Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec\&.html
.RE
.br
'pl 8.5i
'bp

@ -100,9 +100,6 @@ When necessary, a security policy can be specified with the following option:
.SH SEE\ ALSO
.TP 0.2i
\(bu
policytool(1)
.TP 0.2i
\(bu
The \f3java\&.io\&.ObjectStream\fR class description at http://docs\&.oracle\&.com/javase/8/docs/api/java/io/ObjectStreamClass\&.html
.RE
.br

@ -31,7 +31,7 @@ RuntimePermission "queuePrintJob"
The program will run without these properties set,
but some of its features will be limited.
To enable all features, please add these permissions with policytool.
To enable all features, please add these permissions.
-----------------------------------------------------------------------
Introduction

@ -271,7 +271,6 @@ module java.base {
java.rmi,
java.security.jgss,
jdk.crypto.cryptoki,
jdk.policytool,
jdk.security.auth;
exports sun.security.provider.certpath to
java.naming;
@ -294,7 +293,6 @@ module java.base {
jdk.crypto.ec,
jdk.crypto.cryptoki,
jdk.jartool,
jdk.policytool,
jdk.security.auth,
jdk.security.jgss;
exports sun.security.x509 to

@ -64,7 +64,7 @@ public class PolicyUtil {
}
/**
* this is intended for use by policytool and the policy parser to
* this is intended for use by the policy parser to
* instantiate a KeyStore from the information in the GUI/policy file
*/
public static KeyStore getKeyStore

@ -1212,7 +1212,6 @@ public final class SunPKCS11 extends AuthProvider {
CallbackHandler myHandler = getCallbackHandler(handler);
if (myHandler == null) {
// XXX PolicyTool is dependent on this message text
throw new LoginException
("no password provided, and no callback handler " +
"available for retrieving password");

@ -1,47 +0,0 @@
/*
* Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/**
* Defines the GUI tool for managing policy files
* called <em>{@index policytool policytool}</em>.
*
* <dl style="font-family:'DejaVu Sans', Arial, Helvetica, sans serif">
* <dt class="simpleTagLabel">Tool Guides:
* <dd>{@extLink policytool_tool_reference policytool}
* </dl>
*
* @since 9
* @deprecated
*/
@Deprecated(since="9", forRemoval=true)
module jdk.policytool {
requires java.desktop;
requires java.logging;
requires java.management;
requires java.security.jgss;
requires java.sql;
requires jdk.net;
requires jdk.security.jgss;
}

@ -1,164 +0,0 @@
/*
* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package sun.security.tools.policytool;
/**
* <p> This class represents the <code>ResourceBundle</code>
* for the policytool.
*
*/
public class Resources extends java.util.ListResourceBundle {
private static final Object[][] contents = {
{"NEWLINE", "\n"},
{"Warning.A.public.key.for.alias.signers.i.does.not.exist.Make.sure.a.KeyStore.is.properly.configured.",
"Warning: A public key for alias {0} does not exist. Make sure a KeyStore is properly configured."},
{"Warning.Class.not.found.class", "Warning: Class not found: {0}"},
{"Warning.Invalid.argument.s.for.constructor.arg",
"Warning: Invalid argument(s) for constructor: {0}"},
{"Illegal.Principal.Type.type", "Illegal Principal Type: {0}"},
{"Illegal.option.option", "Illegal option: {0}"},
{"Usage.policytool.options.", "Usage: policytool [options]"},
{".file.file.policy.file.location",
" [-file <file>] policy file location"},
{"New", "&New"},
{"Open", "&Open..."},
{"Save", "&Save"},
{"Save.As", "Save &As..."},
{"View.Warning.Log", "View &Warning Log"},
{"Exit", "E&xit"},
{"Add.Policy.Entry", "&Add Policy Entry"},
{"Edit.Policy.Entry", "&Edit Policy Entry"},
{"Remove.Policy.Entry", "&Remove Policy Entry"},
{"Edit", "&Edit"},
{"Retain", "Retain"},
{"Warning.File.name.may.include.escaped.backslash.characters.It.is.not.necessary.to.escape.backslash.characters.the.tool.escapes",
"Warning: File name may include escaped backslash characters. " +
"It is not necessary to escape backslash characters " +
"(the tool escapes characters as necessary when writing " +
"the policy contents to the persistent store).\n\n" +
"Click on Retain to retain the entered name, or click on " +
"Edit to edit the name."},
{"Add.Public.Key.Alias", "Add Public Key Alias"},
{"Remove.Public.Key.Alias", "Remove Public Key Alias"},
{"File", "&File"},
{"KeyStore", "&KeyStore"},
{"Policy.File.", "Policy File:"},
{"Could.not.open.policy.file.policyFile.e.toString.",
"Could not open policy file: {0}: {1}"},
{"Policy.Tool", "Policy Tool"},
{"Errors.have.occurred.while.opening.the.policy.configuration.View.the.Warning.Log.for.more.information.",
"Errors have occurred while opening the policy configuration. View the Warning Log for more information."},
{"Error", "Error"},
{"OK", "OK"},
{"Status", "Status"},
{"Warning", "Warning"},
{"Permission.",
"Permission: "},
{"Principal.Type.", "Principal Type:"},
{"Principal.Name.", "Principal Name:"},
{"Target.Name.",
"Target Name: "},
{"Actions.",
"Actions: "},
{"OK.to.overwrite.existing.file.filename.",
"OK to overwrite existing file {0}?"},
{"Cancel", "Cancel"},
{"CodeBase.", "&CodeBase:"},
{"SignedBy.", "&SignedBy:"},
{"Add.Principal", "&Add Principal"},
{"Edit.Principal", "&Edit Principal"},
{"Remove.Principal", "&Remove Principal"},
{"Principals.", "&Principals:"},
{".Add.Permission", " A&dd Permission"},
{".Edit.Permission", " Ed&it Permission"},
{"Remove.Permission", "Re&move Permission"},
{"Done", "Done"},
{"KeyStore.URL.", "KeyStore &URL:"},
{"KeyStore.Type.", "KeyStore &Type:"},
{"KeyStore.Provider.", "KeyStore &Provider:"},
{"KeyStore.Password.URL.", "KeyStore Pass&word URL:"},
{"Principals", "Principals"},
{".Edit.Principal.", " Edit Principal:"},
{".Add.New.Principal.", " Add New Principal:"},
{"Permissions", "Permissions"},
{".Edit.Permission.", " Edit Permission:"},
{".Add.New.Permission.", " Add New Permission:"},
{"Signed.By.", "Signed By:"},
{"Cannot.Specify.Principal.with.a.Wildcard.Class.without.a.Wildcard.Name",
"Cannot Specify Principal with a Wildcard Class without a Wildcard Name"},
{"Cannot.Specify.Principal.without.a.Name",
"Cannot Specify Principal without a Name"},
{"Permission.and.Target.Name.must.have.a.value",
"Permission and Target Name must have a value"},
{"Remove.this.Policy.Entry.", "Remove this Policy Entry?"},
{"Overwrite.File", "Overwrite File"},
{"Policy.successfully.written.to.filename",
"Policy successfully written to {0}"},
{"null.filename", "null filename"},
{"Save.changes.", "Save changes?"},
{"Yes", "&Yes"},
{"No", "&No"},
{"Policy.Entry", "Policy Entry"},
{"Save.Changes", "Save Changes"},
{"No.Policy.Entry.selected", "No Policy Entry selected"},
{"Unable.to.open.KeyStore.ex.toString.",
"Unable to open KeyStore: {0}"},
{"No.principal.selected", "No principal selected"},
{"No.permission.selected", "No permission selected"},
{"name", "name"},
{"configuration.type", "configuration type"},
{"environment.variable.name", "environment variable name"},
{"library.name", "library name"},
{"package.name", "package name"},
{"policy.type", "policy type"},
{"property.name", "property name"},
{"provider.name", "provider name"},
{"url", "url"},
{"method.list", "method list"},
{"request.headers.list", "request headers list"},
{"Principal.List", "Principal List"},
{"Permission.List", "Permission List"},
{"Code.Base", "Code Base"},
{"KeyStore.U.R.L.", "KeyStore U R L:"},
{"KeyStore.Password.U.R.L.", "KeyStore Password U R L:"}
};
/**
* Returns the contents of this <code>ResourceBundle</code>.
*
* <p>
*
* @return the contents of this <code>ResourceBundle</code>.
*/
@Override
public Object[][] getContents() {
return contents;
}
}

@ -1,159 +0,0 @@
/*
* Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package sun.security.tools.policytool;
/**
* <p> This class represents the <code>ResourceBundle</code>
* for the policytool.
*
*/
public class Resources_de extends java.util.ListResourceBundle {
private static final Object[][] contents = {
{"NEWLINE", "\n"},
{"Warning.A.public.key.for.alias.signers.i.does.not.exist.Make.sure.a.KeyStore.is.properly.configured.",
"Warnung: Kein Public Key f\u00FCr Alias {0} vorhanden. Vergewissern Sie sich, dass der KeyStore ordnungsgem\u00E4\u00DF konfiguriert ist."},
{"Warning.Class.not.found.class", "Warnung: Klasse nicht gefunden: {0}"},
{"Warning.Invalid.argument.s.for.constructor.arg",
"Warnung: Ung\u00FCltige(s) Argument(e) f\u00FCr Constructor: {0}"},
{"Illegal.Principal.Type.type", "Ung\u00FCltiger Principal-Typ: {0}"},
{"Illegal.option.option", "Ung\u00FCltige Option: {0}"},
{"Usage.policytool.options.", "Verwendung: policytool [Optionen]"},
{".file.file.policy.file.location",
" [-file <Datei>] Policy-Dateiverzeichnis"},
{"New", "&Neu"},
{"Open", "&\u00D6ffnen..."},
{"Save", "&Speichern"},
{"Save.As", "Speichern &unter..."},
{"View.Warning.Log", "&Warnungslog anzeigen"},
{"Exit", "B&eenden"},
{"Add.Policy.Entry", "Policy-Eintrag &hinzuf\u00FCgen"},
{"Edit.Policy.Entry", "Policy-Eintrag &bearbeiten"},
{"Remove.Policy.Entry", "Policy-Eintrag &entfernen"},
{"Edit", "&Bearbeiten"},
{"Retain", "Beibehalten"},
{"Warning.File.name.may.include.escaped.backslash.characters.It.is.not.necessary.to.escape.backslash.characters.the.tool.escapes",
"Warnung: M\u00F6glicherweise enth\u00E4lt der Dateiname Escapezeichen mit Backslash. Es ist nicht notwendig, Backslash-Zeichen zu escapen (das Tool f\u00FChrt dies automatisch beim Schreiben des Policy-Contents in den persistenten Speicher aus).\n\nKlicken Sie auf \"Beibehalten\", um den eingegebenen Namen beizubehalten oder auf \"Bearbeiten\", um den Namen zu bearbeiten."},
{"Add.Public.Key.Alias", "Public Key-Alias hinzuf\u00FCgen"},
{"Remove.Public.Key.Alias", "Public Key-Alias entfernen"},
{"File", "&Datei"},
{"KeyStore", "&KeyStore"},
{"Policy.File.", "Policy-Datei:"},
{"Could.not.open.policy.file.policyFile.e.toString.",
"Policy-Datei konnte nicht ge\u00F6ffnet werden: {0}: {1}"},
{"Policy.Tool", "Policy-Tool"},
{"Errors.have.occurred.while.opening.the.policy.configuration.View.the.Warning.Log.for.more.information.",
"Beim \u00D6ffnen der Policy-Konfiguration sind Fehler aufgetreten. Weitere Informationen finden Sie im Warnungslog."},
{"Error", "Fehler"},
{"OK", "OK"},
{"Status", "Status"},
{"Warning", "Warnung"},
{"Permission.",
"Berechtigung: "},
{"Principal.Type.", "Principal-Typ:"},
{"Principal.Name.", "Principal-Name:"},
{"Target.Name.",
"Zielname: "},
{"Actions.",
"Aktionen: "},
{"OK.to.overwrite.existing.file.filename.",
"Vorhandene Datei {0} \u00FCberschreiben?"},
{"Cancel", "Abbrechen"},
{"CodeBase.", "&CodeBase:"},
{"SignedBy.", "&SignedBy:"},
{"Add.Principal", "Principal &hinzuf\u00FCgen"},
{"Edit.Principal", "Principal &bearbeiten"},
{"Remove.Principal", "Principal ent&fernen"},
{"Principals.", "&Principals:"},
{".Add.Permission", " B&erechtigung hinzuf\u00FCgen"},
{".Edit.Permission", " Be&rechtigung bearbeiten"},
{"Remove.Permission", "Berec&htigung entfernen"},
{"Done", "Fertig"},
{"KeyStore.URL.", "KeyStore-&URL:"},
{"KeyStore.Type.", "KeyStore-&Typ:"},
{"KeyStore.Provider.", "KeyStore-&Provider:"},
{"KeyStore.Password.URL.", "KeyStore-Kenn&wort-URL:"},
{"Principals", "Principals"},
{".Edit.Principal.", " Principal bearbeiten:"},
{".Add.New.Principal.", " Neuen Principal hinzuf\u00FCgen:"},
{"Permissions", "Berechtigungen"},
{".Edit.Permission.", " Berechtigung bearbeiten:"},
{".Add.New.Permission.", " Neue Berechtigung hinzuf\u00FCgen:"},
{"Signed.By.", "Signiert von:"},
{"Cannot.Specify.Principal.with.a.Wildcard.Class.without.a.Wildcard.Name",
"Principal kann nicht mit einer Platzhalterklasse ohne Platzhalternamen angegeben werden"},
{"Cannot.Specify.Principal.without.a.Name",
"Principal kann nicht ohne einen Namen angegeben werden"},
{"Permission.and.Target.Name.must.have.a.value",
"Berechtigung und Zielname m\u00FCssen einen Wert haben"},
{"Remove.this.Policy.Entry.", "Diesen Policy-Eintrag entfernen?"},
{"Overwrite.File", "Datei \u00FCberschreiben"},
{"Policy.successfully.written.to.filename",
"Policy erfolgreich in {0} geschrieben"},
{"null.filename", "Null-Dateiname"},
{"Save.changes.", "\u00C4nderungen speichern?"},
{"Yes", "&Ja"},
{"No", "&Nein"},
{"Policy.Entry", "Policy-Eintrag"},
{"Save.Changes", "\u00C4nderungen speichern"},
{"No.Policy.Entry.selected", "Kein Policy-Eintrag ausgew\u00E4hlt"},
{"Unable.to.open.KeyStore.ex.toString.",
"KeyStore kann nicht ge\u00F6ffnet werden: {0}"},
{"No.principal.selected", "Kein Principal ausgew\u00E4hlt"},
{"No.permission.selected", "Keine Berechtigung ausgew\u00E4hlt"},
{"name", "Name"},
{"configuration.type", "Konfigurationstyp"},
{"environment.variable.name", "Umgebungsvariablenname"},
{"library.name", "Library-Name"},
{"package.name", "Packagename"},
{"policy.type", "Policy-Typ"},
{"property.name", "Eigenschaftsname"},
{"provider.name", "Providername"},
{"url", "URL"},
{"method.list", "Methodenliste"},
{"request.headers.list", "Headerliste anfordern"},
{"Principal.List", "Principal-Liste"},
{"Permission.List", "Berechtigungsliste"},
{"Code.Base", "Codebase"},
{"KeyStore.U.R.L.", "KeyStore-URL:"},
{"KeyStore.Password.U.R.L.", "KeyStore-Kennwort-URL:"}
};
/**
* Returns the contents of this <code>ResourceBundle</code>.
*
* <p>
*
* @return the contents of this <code>ResourceBundle</code>.
*/
@Override
public Object[][] getContents() {
return contents;
}
}

@ -1,159 +0,0 @@
/*
* Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package sun.security.tools.policytool;
/**
* <p> This class represents the <code>ResourceBundle</code>
* for the policytool.
*
*/
public class Resources_es extends java.util.ListResourceBundle {
private static final Object[][] contents = {
{"NEWLINE", "\n"},
{"Warning.A.public.key.for.alias.signers.i.does.not.exist.Make.sure.a.KeyStore.is.properly.configured.",
"Advertencia: no hay clave p\u00FAblica para el alias {0}. Aseg\u00FArese de que se ha configurado correctamente un almac\u00E9n de claves."},
{"Warning.Class.not.found.class", "Advertencia: no se ha encontrado la clase: {0}"},
{"Warning.Invalid.argument.s.for.constructor.arg",
"Advertencia: argumento(s) no v\u00E1lido(s) para el constructor: {0}"},
{"Illegal.Principal.Type.type", "Tipo de principal no permitido: {0}"},
{"Illegal.option.option", "Opci\u00F3n no permitida: {0}"},
{"Usage.policytool.options.", "Sintaxis: policytool [opciones]"},
{".file.file.policy.file.location",
" [-file <archivo>] ubicaci\u00F3n del archivo de normas"},
{"New", "&Nueva"},
{"Open", "&Abrir..."},
{"Save", "&Guardar"},
{"Save.As", "Guardar &como..."},
{"View.Warning.Log", "Ver &log de advertencias"},
{"Exit", "&Salir"},
{"Add.Policy.Entry", "Agregar &entrada de pol\u00EDtica"},
{"Edit.Policy.Entry", "E&ditar entrada de pol\u00EDtica"},
{"Remove.Policy.Entry", "&Eliminar entrada de pol\u00EDtica"},
{"Edit", "&Editar"},
{"Retain", "Mantener"},
{"Warning.File.name.may.include.escaped.backslash.characters.It.is.not.necessary.to.escape.backslash.characters.the.tool.escapes",
"Advertencia: el nombre del archivo puede contener caracteres de barra invertida de escape. No es necesario utilizar barras invertidas de escape (la herramienta aplica caracteres de escape seg\u00FAn sea necesario al escribir el contenido de las pol\u00EDticas en el almac\u00E9n persistente).\n\nHaga clic en Mantener para conservar el nombre introducido o en Editar para modificarlo."},
{"Add.Public.Key.Alias", "Agregar Alias de Clave P\u00FAblico"},
{"Remove.Public.Key.Alias", "Eliminar Alias de Clave P\u00FAblico"},
{"File", "&Archivo"},
{"KeyStore", "Al&mac\u00E9n de claves"},
{"Policy.File.", "Archivo de Pol\u00EDtica:"},
{"Could.not.open.policy.file.policyFile.e.toString.",
"No se ha podido abrir el archivo de pol\u00EDtica: {0}: {1}"},
{"Policy.Tool", "Herramienta de Pol\u00EDticas"},
{"Errors.have.occurred.while.opening.the.policy.configuration.View.the.Warning.Log.for.more.information.",
"Ha habido errores al abrir la configuraci\u00F3n de pol\u00EDticas. V\u00E9ase el log de advertencias para obtener m\u00E1s informaci\u00F3n."},
{"Error", "Error"},
{"OK", "Aceptar"},
{"Status", "Estado"},
{"Warning", "Advertencia"},
{"Permission.",
"Permiso: "},
{"Principal.Type.", "Tipo de Principal:"},
{"Principal.Name.", "Nombre de Principal:"},
{"Target.Name.",
"Nombre de Destino: "},
{"Actions.",
"Acciones: "},
{"OK.to.overwrite.existing.file.filename.",
"\u00BFSobrescribir el archivo existente {0}?"},
{"Cancel", "Cancelar"},
{"CodeBase.", "&CodeBase:"},
{"SignedBy.", "&SignedBy:"},
{"Add.Principal", "&Agregar principal"},
{"Edit.Principal", "&Editar principal"},
{"Remove.Principal", "Elimina&r principal"},
{"Principals.", "&Principales:"},
{".Add.Permission", "A&gregar permiso"},
{".Edit.Permission", "Ed&itar permiso"},
{"Remove.Permission", "Eli&minar permiso"},
{"Done", "Listo"},
{"KeyStore.URL.", "&URL de almac\u00E9n de claves:"},
{"KeyStore.Type.", "&Tipo de almac\u00E9n de claves:"},
{"KeyStore.Provider.", "&Proveedor de almac\u00E9n de claves:"},
{"KeyStore.Password.URL.", "URL de Contra&se\u00F1a de almac\u00E9n de claves:"},
{"Principals", "Principales"},
{".Edit.Principal.", " Editar Principal:"},
{".Add.New.Principal.", " Agregar Nuevo Principal:"},
{"Permissions", "Permisos"},
{".Edit.Permission.", " Editar Permiso:"},
{".Add.New.Permission.", " Agregar Permiso Nuevo:"},
{"Signed.By.", "Firmado Por:"},
{"Cannot.Specify.Principal.with.a.Wildcard.Class.without.a.Wildcard.Name",
"No se puede especificar un principal con una clase de comod\u00EDn sin un nombre de comod\u00EDn"},
{"Cannot.Specify.Principal.without.a.Name",
"No se puede especificar el principal sin un nombre"},
{"Permission.and.Target.Name.must.have.a.value",
"Permiso y Nombre de Destino deben tener un valor"},
{"Remove.this.Policy.Entry.", "\u00BFEliminar esta entrada de pol\u00EDtica?"},
{"Overwrite.File", "Sobrescribir Archivo"},
{"Policy.successfully.written.to.filename",
"Pol\u00EDtica escrita correctamente en {0}"},
{"null.filename", "nombre de archivo nulo"},
{"Save.changes.", "\u00BFGuardar los cambios?"},
{"Yes", "&S\u00ED"},
{"No", "&No"},
{"Policy.Entry", "Entrada de Pol\u00EDtica"},
{"Save.Changes", "Guardar Cambios"},
{"No.Policy.Entry.selected", "No se ha seleccionado la entrada de pol\u00EDtica"},
{"Unable.to.open.KeyStore.ex.toString.",
"No se ha podido abrir el almac\u00E9n de claves: {0}"},
{"No.principal.selected", "No se ha seleccionado un principal"},
{"No.permission.selected", "No se ha seleccionado un permiso"},
{"name", "nombre"},
{"configuration.type", "tipo de configuraci\u00F3n"},
{"environment.variable.name", "nombre de variable de entorno"},
{"library.name", "nombre de la biblioteca"},
{"package.name", "nombre del paquete"},
{"policy.type", "tipo de pol\u00EDtica"},
{"property.name", "nombre de la propiedad"},
{"provider.name", "nombre del proveedor"},
{"url", "url"},
{"method.list", "lista de m\u00E9todos"},
{"request.headers.list", "lista de cabeceras de solicitudes"},
{"Principal.List", "Lista de Principales"},
{"Permission.List", "Lista de Permisos"},
{"Code.Base", "Base de C\u00F3digo"},
{"KeyStore.U.R.L.", "URL de Almac\u00E9n de Claves:"},
{"KeyStore.Password.U.R.L.", "URL de Contrase\u00F1a de Almac\u00E9n de Claves:"}
};
/**
* Returns the contents of this <code>ResourceBundle</code>.
*
* <p>
*
* @return the contents of this <code>ResourceBundle</code>.
*/
@Override
public Object[][] getContents() {
return contents;
}
}

@ -1,159 +0,0 @@
/*
* Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package sun.security.tools.policytool;
/**
* <p> This class represents the <code>ResourceBundle</code>
* for the policytool.
*
*/
public class Resources_fr extends java.util.ListResourceBundle {
private static final Object[][] contents = {
{"NEWLINE", "\n"},
{"Warning.A.public.key.for.alias.signers.i.does.not.exist.Make.sure.a.KeyStore.is.properly.configured.",
"Avertissement\u00A0: il n''existe pas de cl\u00E9 publique pour l''alias {0}. V\u00E9rifiez que le fichier de cl\u00E9s d''acc\u00E8s est correctement configur\u00E9."},
{"Warning.Class.not.found.class", "Avertissement : classe introuvable - {0}"},
{"Warning.Invalid.argument.s.for.constructor.arg",
"Avertissement\u00A0: arguments non valides pour le constructeur\u00A0- {0}"},
{"Illegal.Principal.Type.type", "Type de principal non admis : {0}"},
{"Illegal.option.option", "Option non admise : {0}"},
{"Usage.policytool.options.", "Syntaxe : policytool [options]"},
{".file.file.policy.file.location",
" [-file <file>] emplacement du fichier de r\u00E8gles"},
{"New", "&Nouveau"},
{"Open", "&Ouvrir..."},
{"Save", "Enregi&strer"},
{"Save.As", "Enregistrer so&us..."},
{"View.Warning.Log", "Affic&her le journal des avertissements"},
{"Exit", "&Quitter"},
{"Add.Policy.Entry", "&Ajouter une r\u00E8gle"},
{"Edit.Policy.Entry", "Modifi&er une r\u00E8gle"},
{"Remove.Policy.Entry", "Enlever une &r\u00E8gle"},
{"Edit", "Modifi&er"},
{"Retain", "Conserver"},
{"Warning.File.name.may.include.escaped.backslash.characters.It.is.not.necessary.to.escape.backslash.characters.the.tool.escapes",
"Avertissement : il se peut que le nom de fichier contienne des barres obliques inverses avec caract\u00E8re d'\u00E9chappement. Il n'est pas n\u00E9cessaire d'ajouter un caract\u00E8re d'\u00E9chappement aux barres obliques inverses. L'outil proc\u00E8de \u00E0 l'\u00E9chappement si n\u00E9cessaire lorsqu'il \u00E9crit le contenu des r\u00E8gles dans la zone de stockage persistant.\n\nCliquez sur Conserver pour garder le nom saisi ou sur Modifier pour le remplacer."},
{"Add.Public.Key.Alias", "Ajouter un alias de cl\u00E9 publique"},
{"Remove.Public.Key.Alias", "Enlever un alias de cl\u00E9 publique"},
{"File", "&Fichier"},
{"KeyStore", "Fichier &de cl\u00E9s"},
{"Policy.File.", "Fichier de r\u00E8gles :"},
{"Could.not.open.policy.file.policyFile.e.toString.",
"Impossible d''ouvrir le fichier de r\u00E8gles\u00A0: {0}: {1}"},
{"Policy.Tool", "Policy Tool"},
{"Errors.have.occurred.while.opening.the.policy.configuration.View.the.Warning.Log.for.more.information.",
"Des erreurs se sont produites \u00E0 l'ouverture de la configuration de r\u00E8gles. Pour plus d'informations, consultez le journal des avertissements."},
{"Error", "Erreur"},
{"OK", "OK"},
{"Status", "Statut"},
{"Warning", "Avertissement"},
{"Permission.",
"Droit : "},
{"Principal.Type.", "Type de principal :"},
{"Principal.Name.", "Nom de principal :"},
{"Target.Name.",
"Nom de cible : "},
{"Actions.",
"Actions : "},
{"OK.to.overwrite.existing.file.filename.",
"Remplacer le fichier existant {0} ?"},
{"Cancel", "Annuler"},
{"CodeBase.", "Base de &code :"},
{"SignedBy.", "&Sign\u00E9 par :"},
{"Add.Principal", "&Ajouter un principal"},
{"Edit.Principal", "Modifi&er un principal"},
{"Remove.Principal", "Enleve&r un principal"},
{"Principals.", "&Principaux :"},
{".Add.Permission", " Ajouter un &droit"},
{".Edit.Permission", " Mod&ifier un droit"},
{"Remove.Permission", "Enlever un dr&oit"},
{"Done", "Termin\u00E9"},
{"KeyStore.URL.", "&URL du fichier de cl\u00E9s :"},
{"KeyStore.Type.", "&Type du fichier de cl\u00E9s :"},
{"KeyStore.Provider.", "Four&nisseur du fichier de cl\u00E9s :"},
{"KeyStore.Password.URL.", "UR&L du mot de passe du fichier de cl\u00E9s :"},
{"Principals", "Principaux"},
{".Edit.Principal.", " Modifier un principal :"},
{".Add.New.Principal.", " Ajouter un principal :"},
{"Permissions", "Droits"},
{".Edit.Permission.", " Modifier un droit :"},
{".Add.New.Permission.", " Ajouter un droit :"},
{"Signed.By.", "Sign\u00E9 par :"},
{"Cannot.Specify.Principal.with.a.Wildcard.Class.without.a.Wildcard.Name",
"Impossible de sp\u00E9cifier un principal avec une classe g\u00E9n\u00E9rique sans nom g\u00E9n\u00E9rique"},
{"Cannot.Specify.Principal.without.a.Name",
"Impossible de sp\u00E9cifier un principal sans nom"},
{"Permission.and.Target.Name.must.have.a.value",
"Le droit et le nom de cible doivent avoir une valeur"},
{"Remove.this.Policy.Entry.", "Enlever cette r\u00E8gle ?"},
{"Overwrite.File", "Remplacer le fichier"},
{"Policy.successfully.written.to.filename",
"R\u00E8gle \u00E9crite dans {0}"},
{"null.filename", "nom de fichier NULL"},
{"Save.changes.", "Enregistrer les modifications ?"},
{"Yes", "&Oui"},
{"No", "&Non"},
{"Policy.Entry", "R\u00E8gle"},
{"Save.Changes", "Enregistrer les modifications"},
{"No.Policy.Entry.selected", "Aucune r\u00E8gle s\u00E9lectionn\u00E9e"},
{"Unable.to.open.KeyStore.ex.toString.",
"Impossible d''ouvrir le fichier de cl\u00E9s d''acc\u00E8s : {0}"},
{"No.principal.selected", "Aucun principal s\u00E9lectionn\u00E9"},
{"No.permission.selected", "Aucun droit s\u00E9lectionn\u00E9"},
{"name", "nom"},
{"configuration.type", "type de configuration"},
{"environment.variable.name", "Nom de variable d'environnement"},
{"library.name", "nom de biblioth\u00E8que"},
{"package.name", "nom de package"},
{"policy.type", "type de r\u00E8gle"},
{"property.name", "nom de propri\u00E9t\u00E9"},
{"provider.name", "nom du fournisseur"},
{"url", "url"},
{"method.list", "liste des m\u00E9thodes"},
{"request.headers.list", "liste des en-t\u00EAtes de demande"},
{"Principal.List", "Liste de principaux"},
{"Permission.List", "Liste de droits"},
{"Code.Base", "Base de code"},
{"KeyStore.U.R.L.", "URL du fichier de cl\u00E9s :"},
{"KeyStore.Password.U.R.L.", "URL du mot de passe du fichier de cl\u00E9s :"}
};
/**
* Returns the contents of this <code>ResourceBundle</code>.
*
* <p>
*
* @return the contents of this <code>ResourceBundle</code>.
*/
@Override
public Object[][] getContents() {
return contents;
}
}

@ -1,159 +0,0 @@
/*
* Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package sun.security.tools.policytool;
/**
* <p> This class represents the <code>ResourceBundle</code>
* for the policytool.
*
*/
public class Resources_it extends java.util.ListResourceBundle {
private static final Object[][] contents = {
{"NEWLINE", "\n"},
{"Warning.A.public.key.for.alias.signers.i.does.not.exist.Make.sure.a.KeyStore.is.properly.configured.",
"Avvertenza: non esiste una chiave pubblica per l''alias {0}. Verificare che il keystore sia configurato correttamente."},
{"Warning.Class.not.found.class", "Avvertenza: classe non trovata: {0}"},
{"Warning.Invalid.argument.s.for.constructor.arg",
"Avvertenza: argomento o argomenti non validi per il costruttore {0}"},
{"Illegal.Principal.Type.type", "Tipo principal non valido: {0}"},
{"Illegal.option.option", "Opzione non valida: {0}"},
{"Usage.policytool.options.", "Uso: policytool [opzioni]"},
{".file.file.policy.file.location",
" [-file <file>] posizione del file dei criteri"},
{"New", "&Nuovo"},
{"Open", "&Apri..."},
{"Save", "&Salva"},
{"Save.As", "Sal&va con nome..."},
{"View.Warning.Log", "Visuali&zza registro avvertenze"},
{"Exit", "&Esci"},
{"Add.Policy.Entry", "Aggi&ungi voce criteri"},
{"Edit.Policy.Entry", "&Modifica voce criteri"},
{"Remove.Policy.Entry", "&Rimuovi voce criteri"},
{"Edit", "&Modifica"},
{"Retain", "Mantieni"},
{"Warning.File.name.may.include.escaped.backslash.characters.It.is.not.necessary.to.escape.backslash.characters.the.tool.escapes",
"Avvertenza: il nome file pu\u00F2 includere barre rovesciate con escape. Non \u00E8 necessario eseguire l'escape delle barre rovesciate (se necessario lo strumento esegue l'escape dei caratteri al momento della scrittura del contenuto dei criteri nell'area di memorizzazione persistente).\n\nFare click su Mantieni per conservare il nome immesso, oppure su Modifica per modificare il nome."},
{"Add.Public.Key.Alias", "Aggiungi alias chiave pubblica"},
{"Remove.Public.Key.Alias", "Rimuovi alias chiave pubblica"},
{"File", "&File"},
{"KeyStore", "&Keystore"},
{"Policy.File.", "File dei criteri:"},
{"Could.not.open.policy.file.policyFile.e.toString.",
"Impossibile aprire il file di criteri {0}: {1}"},
{"Policy.Tool", "Strumento criteri"},
{"Errors.have.occurred.while.opening.the.policy.configuration.View.the.Warning.Log.for.more.information.",
"Si sono verificati errori durante l'apertura della configurazione dei criteri. Consultare il registro delle avvertenze per ulteriori informazioni."},
{"Error", "Errore"},
{"OK", "OK"},
{"Status", "Stato"},
{"Warning", "Avvertenza"},
{"Permission.",
"Autorizzazione: "},
{"Principal.Type.", "Tipo principal:"},
{"Principal.Name.", "Nome principal:"},
{"Target.Name.",
"Nome destinazione: "},
{"Actions.",
"Azioni: "},
{"OK.to.overwrite.existing.file.filename.",
"OK per sovrascrivere il file {0}?"},
{"Cancel", "Annulla"},
{"CodeBase.", "&CodeBase:"},
{"SignedBy.", "&SignedBy:"},
{"Add.Principal", "&Aggiungi principal"},
{"Edit.Principal", "&Modifica principal"},
{"Remove.Principal", "&Rimuovi principal"},
{"Principals.", "&Principal:"},
{".Add.Permission", " Aggiu&ngi autorizzazione"},
{".Edit.Permission", " Mo&difica autorizzazione"},
{"Remove.Permission", "R&imuovi autorizzazione"},
{"Done", "Fine"},
{"KeyStore.URL.", "&URL keystore:"},
{"KeyStore.Type.", "&Tipo keystore:"},
{"KeyStore.Provider.", "Pro&vider keystore:"},
{"KeyStore.Password.URL.", "URL pass&word keystore:"},
{"Principals", "Principal:"},
{".Edit.Principal.", " Modifica principal:"},
{".Add.New.Principal.", " Aggiungi nuovo principal:"},
{"Permissions", "Autorizzazioni"},
{".Edit.Permission.", " Modifica autorizzazione:"},
{".Add.New.Permission.", " Aggiungi nuova autorizzazione:"},
{"Signed.By.", "Firmato da:"},
{"Cannot.Specify.Principal.with.a.Wildcard.Class.without.a.Wildcard.Name",
"Impossibile specificare principal con una classe carattere jolly senza un nome carattere jolly"},
{"Cannot.Specify.Principal.without.a.Name",
"Impossibile specificare principal senza un nome"},
{"Permission.and.Target.Name.must.have.a.value",
"L'autorizzazione e il nome destinazione non possono essere nulli"},
{"Remove.this.Policy.Entry.", "Rimuovere questa voce dei criteri?"},
{"Overwrite.File", "Sovrascrivi file"},
{"Policy.successfully.written.to.filename",
"I criteri sono stati scritti in {0}"},
{"null.filename", "nome file nullo"},
{"Save.changes.", "Salvare le modifiche?"},
{"Yes", "&S\u00EC"},
{"No", "&No"},
{"Policy.Entry", "Voce dei criteri"},
{"Save.Changes", "Salva le modifiche"},
{"No.Policy.Entry.selected", "Nessuna voce dei criteri selezionata"},
{"Unable.to.open.KeyStore.ex.toString.",
"Impossibile aprire il keystore: {0}"},
{"No.principal.selected", "Nessun principal selezionato"},
{"No.permission.selected", "Nessuna autorizzazione selezionata"},
{"name", "nome"},
{"configuration.type", "tipo di configurazione"},
{"environment.variable.name", "nome variabile ambiente"},
{"library.name", "nome libreria"},
{"package.name", "nome package"},
{"policy.type", "tipo di criteri"},
{"property.name", "nome propriet\u00E0"},
{"provider.name", "nome provider"},
{"url", "url"},
{"method.list", "lista metodi"},
{"request.headers.list", "lista intestazioni di richiesta"},
{"Principal.List", "Lista principal"},
{"Permission.List", "Lista autorizzazioni"},
{"Code.Base", "Codebase"},
{"KeyStore.U.R.L.", "URL keystore:"},
{"KeyStore.Password.U.R.L.", "URL password keystore:"}
};
/**
* Returns the contents of this <code>ResourceBundle</code>.
*
* <p>
*
* @return the contents of this <code>ResourceBundle</code>.
*/
@Override
public Object[][] getContents() {
return contents;
}
}

@ -1,159 +0,0 @@
/*
* Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package sun.security.tools.policytool;
/**
* <p> This class represents the <code>ResourceBundle</code>
* for the policytool.
*
*/
public class Resources_ja extends java.util.ListResourceBundle {
private static final Object[][] contents = {
{"NEWLINE", "\n"},
{"Warning.A.public.key.for.alias.signers.i.does.not.exist.Make.sure.a.KeyStore.is.properly.configured.",
"\u8B66\u544A: \u5225\u540D{0}\u306E\u516C\u958B\u9375\u304C\u5B58\u5728\u3057\u307E\u305B\u3093\u3002\u30AD\u30FC\u30B9\u30C8\u30A2\u304C\u6B63\u3057\u304F\u69CB\u6210\u3055\u308C\u3066\u3044\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},
{"Warning.Class.not.found.class", "\u8B66\u544A: \u30AF\u30E9\u30B9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093: {0}"},
{"Warning.Invalid.argument.s.for.constructor.arg",
"\u8B66\u544A: \u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u306E\u5F15\u6570\u304C\u7121\u52B9\u3067\u3059: {0}"},
{"Illegal.Principal.Type.type", "\u4E0D\u6B63\u306A\u30D7\u30EA\u30F3\u30B7\u30D1\u30EB\u306E\u30BF\u30A4\u30D7: {0}"},
{"Illegal.option.option", "\u4E0D\u6B63\u306A\u30AA\u30D7\u30B7\u30E7\u30F3: {0}"},
{"Usage.policytool.options.", "\u4F7F\u7528\u65B9\u6CD5: policytool [options]"},
{".file.file.policy.file.location",
" [-file <file>] \u30DD\u30EA\u30B7\u30FC\u30FB\u30D5\u30A1\u30A4\u30EB\u306E\u5834\u6240"},
{"New", "\u65B0\u898F(&N)"},
{"Open", "\u958B\u304F(&O)..."},
{"Save", "\u4FDD\u5B58(&S)"},
{"Save.As", "\u5225\u540D\u4FDD\u5B58(&A)..."},
{"View.Warning.Log", "\u8B66\u544A\u30ED\u30B0\u306E\u8868\u793A(&W)"},
{"Exit", "\u7D42\u4E86(&X)"},
{"Add.Policy.Entry", "\u30DD\u30EA\u30B7\u30FC\u30FB\u30A8\u30F3\u30C8\u30EA\u306E\u8FFD\u52A0(&A)"},
{"Edit.Policy.Entry", "\u30DD\u30EA\u30B7\u30FC\u30FB\u30A8\u30F3\u30C8\u30EA\u306E\u7DE8\u96C6(&E)"},
{"Remove.Policy.Entry", "\u30DD\u30EA\u30B7\u30FC\u30FB\u30A8\u30F3\u30C8\u30EA\u306E\u524A\u9664(&R)"},
{"Edit", "\u7DE8\u96C6(&E)"},
{"Retain", "\u4FDD\u6301"},
{"Warning.File.name.may.include.escaped.backslash.characters.It.is.not.necessary.to.escape.backslash.characters.the.tool.escapes",
"\u8B66\u544A: \u30D5\u30A1\u30A4\u30EB\u540D\u306B\u30A8\u30B9\u30B1\u30FC\u30D7\u3055\u308C\u305F\u30D0\u30C3\u30AF\u30B9\u30E9\u30C3\u30B7\u30E5\u6587\u5B57\u304C\u542B\u307E\u308C\u3066\u3044\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002\u30D0\u30C3\u30AF\u30B9\u30E9\u30C3\u30B7\u30E5\u6587\u5B57\u3092\u30A8\u30B9\u30B1\u30FC\u30D7\u3059\u308B\u5FC5\u8981\u306F\u3042\u308A\u307E\u305B\u3093(\u30C4\u30FC\u30EB\u306F\u30DD\u30EA\u30B7\u30FC\u5185\u5BB9\u3092\u6C38\u7D9A\u30B9\u30C8\u30A2\u306B\u66F8\u304D\u8FBC\u3080\u3068\u304D\u306B\u3001\u5FC5\u8981\u306B\u5FDC\u3058\u3066\u6587\u5B57\u3092\u30A8\u30B9\u30B1\u30FC\u30D7\u3057\u307E\u3059)\u3002\n\n\u5165\u529B\u6E08\u306E\u540D\u524D\u3092\u4FDD\u6301\u3059\u308B\u306B\u306F\u300C\u4FDD\u6301\u300D\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3001\u540D\u524D\u3092\u7DE8\u96C6\u3059\u308B\u306B\u306F\u300C\u7DE8\u96C6\u300D\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},
{"Add.Public.Key.Alias", "\u516C\u958B\u9375\u306E\u5225\u540D\u306E\u8FFD\u52A0"},
{"Remove.Public.Key.Alias", "\u516C\u958B\u9375\u306E\u5225\u540D\u3092\u524A\u9664"},
{"File", "\u30D5\u30A1\u30A4\u30EB(&F)"},
{"KeyStore", "\u30AD\u30FC\u30B9\u30C8\u30A2(&K)"},
{"Policy.File.", "\u30DD\u30EA\u30B7\u30FC\u30FB\u30D5\u30A1\u30A4\u30EB:"},
{"Could.not.open.policy.file.policyFile.e.toString.",
"\u30DD\u30EA\u30B7\u30FC\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u958B\u3051\u307E\u305B\u3093\u3067\u3057\u305F: {0}: {1}"},
{"Policy.Tool", "\u30DD\u30EA\u30B7\u30FC\u30FB\u30C4\u30FC\u30EB"},
{"Errors.have.occurred.while.opening.the.policy.configuration.View.the.Warning.Log.for.more.information.",
"\u30DD\u30EA\u30B7\u30FC\u69CB\u6210\u3092\u958B\u304F\u3068\u304D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u8A73\u7D30\u306F\u8B66\u544A\u30ED\u30B0\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},
{"Error", "\u30A8\u30E9\u30FC"},
{"OK", "OK"},
{"Status", "\u72B6\u614B"},
{"Warning", "\u8B66\u544A"},
{"Permission.",
"\u30A2\u30AF\u30BB\u30B9\u6A29: "},
{"Principal.Type.", "\u30D7\u30EA\u30F3\u30B7\u30D1\u30EB\u306E\u30BF\u30A4\u30D7:"},
{"Principal.Name.", "\u30D7\u30EA\u30F3\u30B7\u30D1\u30EB\u306E\u540D\u524D:"},
{"Target.Name.",
"\u30BF\u30FC\u30B2\u30C3\u30C8\u540D: "},
{"Actions.",
"\u30A2\u30AF\u30B7\u30E7\u30F3: "},
{"OK.to.overwrite.existing.file.filename.",
"\u65E2\u5B58\u306E\u30D5\u30A1\u30A4\u30EB{0}\u306B\u4E0A\u66F8\u304D\u3057\u307E\u3059\u304B\u3002"},
{"Cancel", "\u53D6\u6D88"},
{"CodeBase.", "CodeBase(&C):"},
{"SignedBy.", "SignedBy(&S):"},
{"Add.Principal", "\u30D7\u30EA\u30F3\u30B7\u30D1\u30EB\u306E\u8FFD\u52A0(&A)"},
{"Edit.Principal", "\u30D7\u30EA\u30F3\u30B7\u30D1\u30EB\u306E\u7DE8\u96C6(&E)"},
{"Remove.Principal", "\u30D7\u30EA\u30F3\u30B7\u30D1\u30EB\u306E\u524A\u9664(&R)"},
{"Principals.", "\u30D7\u30EA\u30F3\u30B7\u30D1\u30EB(&P):"},
{".Add.Permission", " \u30A2\u30AF\u30BB\u30B9\u6A29\u306E\u8FFD\u52A0(&D)"},
{".Edit.Permission", " \u30A2\u30AF\u30BB\u30B9\u6A29\u306E\u7DE8\u96C6(&I)"},
{"Remove.Permission", "\u30A2\u30AF\u30BB\u30B9\u6A29\u306E\u524A\u9664(&M)"},
{"Done", "\u5B8C\u4E86"},
{"KeyStore.URL.", "\u30AD\u30FC\u30B9\u30C8\u30A2URL(&U):"},
{"KeyStore.Type.", "\u30AD\u30FC\u30B9\u30C8\u30A2\u306E\u30BF\u30A4\u30D7(&T):"},
{"KeyStore.Provider.", "\u30AD\u30FC\u30B9\u30C8\u30A2\u30FB\u30D7\u30ED\u30D0\u30A4\u30C0(&P):"},
{"KeyStore.Password.URL.", "\u30AD\u30FC\u30B9\u30C8\u30A2\u30FB\u30D1\u30B9\u30EF\u30FC\u30C9URL(&W):"},
{"Principals", "\u30D7\u30EA\u30F3\u30B7\u30D1\u30EB"},
{".Edit.Principal.", " \u30D7\u30EA\u30F3\u30B7\u30D1\u30EB\u306E\u7DE8\u96C6:"},
{".Add.New.Principal.", " \u30D7\u30EA\u30F3\u30B7\u30D1\u30EB\u306E\u65B0\u898F\u8FFD\u52A0:"},
{"Permissions", "\u30A2\u30AF\u30BB\u30B9\u6A29"},
{".Edit.Permission.", " \u30A2\u30AF\u30BB\u30B9\u6A29\u306E\u7DE8\u96C6:"},
{".Add.New.Permission.", " \u65B0\u898F\u30A2\u30AF\u30BB\u30B9\u6A29\u306E\u8FFD\u52A0:"},
{"Signed.By.", "\u7F72\u540D\u8005:"},
{"Cannot.Specify.Principal.with.a.Wildcard.Class.without.a.Wildcard.Name",
"\u30EF\u30A4\u30EB\u30C9\u30AB\u30FC\u30C9\u540D\u306E\u306A\u3044\u30EF\u30A4\u30EB\u30C9\u30AB\u30FC\u30C9\u30FB\u30AF\u30E9\u30B9\u3092\u4F7F\u7528\u3057\u3066\u30D7\u30EA\u30F3\u30B7\u30D1\u30EB\u3092\u6307\u5B9A\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093"},
{"Cannot.Specify.Principal.without.a.Name",
"\u540D\u524D\u3092\u4F7F\u7528\u305B\u305A\u306B\u30D7\u30EA\u30F3\u30B7\u30D1\u30EB\u3092\u6307\u5B9A\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093"},
{"Permission.and.Target.Name.must.have.a.value",
"\u30A2\u30AF\u30BB\u30B9\u6A29\u3068\u30BF\u30FC\u30B2\u30C3\u30C8\u540D\u306F\u3001\u5024\u3092\u4FDD\u6301\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059"},
{"Remove.this.Policy.Entry.", "\u3053\u306E\u30DD\u30EA\u30B7\u30FC\u30FB\u30A8\u30F3\u30C8\u30EA\u3092\u524A\u9664\u3057\u307E\u3059\u304B\u3002"},
{"Overwrite.File", "\u30D5\u30A1\u30A4\u30EB\u3092\u4E0A\u66F8\u304D\u3057\u307E\u3059"},
{"Policy.successfully.written.to.filename",
"\u30DD\u30EA\u30B7\u30FC\u306E{0}\u3078\u306E\u66F8\u8FBC\u307F\u306B\u6210\u529F\u3057\u307E\u3057\u305F"},
{"null.filename", "\u30D5\u30A1\u30A4\u30EB\u540D\u304Cnull\u3067\u3059"},
{"Save.changes.", "\u5909\u66F4\u3092\u4FDD\u5B58\u3057\u307E\u3059\u304B\u3002"},
{"Yes", "\u306F\u3044(&Y)"},
{"No", "\u3044\u3044\u3048(&N)"},
{"Policy.Entry", "\u30DD\u30EA\u30B7\u30FC\u30FB\u30A8\u30F3\u30C8\u30EA"},
{"Save.Changes", "\u5909\u66F4\u3092\u4FDD\u5B58\u3057\u307E\u3059"},
{"No.Policy.Entry.selected", "\u30DD\u30EA\u30B7\u30FC\u30FB\u30A8\u30F3\u30C8\u30EA\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093"},
{"Unable.to.open.KeyStore.ex.toString.",
"\u30AD\u30FC\u30B9\u30C8\u30A2{0}\u3092\u958B\u3051\u307E\u305B\u3093"},
{"No.principal.selected", "\u30D7\u30EA\u30F3\u30B7\u30D1\u30EB\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093"},
{"No.permission.selected", "\u30A2\u30AF\u30BB\u30B9\u6A29\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093"},
{"name", "\u540D\u524D"},
{"configuration.type", "\u69CB\u6210\u30BF\u30A4\u30D7"},
{"environment.variable.name", "\u74B0\u5883\u5909\u6570\u540D"},
{"library.name", "\u30E9\u30A4\u30D6\u30E9\u30EA\u540D"},
{"package.name", "\u30D1\u30C3\u30B1\u30FC\u30B8\u540D"},
{"policy.type", "\u30DD\u30EA\u30B7\u30FC\u30FB\u30BF\u30A4\u30D7"},
{"property.name", "\u30D7\u30ED\u30D1\u30C6\u30A3\u540D"},
{"provider.name", "\u30D7\u30ED\u30D0\u30A4\u30C0\u540D"},
{"url", "URL"},
{"method.list", "\u30E1\u30BD\u30C3\u30C9\u30FB\u30EA\u30B9\u30C8"},
{"request.headers.list", "\u30EA\u30AF\u30A8\u30B9\u30C8\u30FB\u30D8\u30C3\u30C0\u30FC\u30FB\u30EA\u30B9\u30C8"},
{"Principal.List", "\u30D7\u30EA\u30F3\u30B7\u30D1\u30EB\u306E\u30EA\u30B9\u30C8"},
{"Permission.List", "\u30A2\u30AF\u30BB\u30B9\u6A29\u306E\u30EA\u30B9\u30C8"},
{"Code.Base", "\u30B3\u30FC\u30C9\u30FB\u30D9\u30FC\u30B9"},
{"KeyStore.U.R.L.", "\u30AD\u30FC\u30B9\u30C8\u30A2U R L:"},
{"KeyStore.Password.U.R.L.", "\u30AD\u30FC\u30B9\u30C8\u30A2\u30FB\u30D1\u30B9\u30EF\u30FC\u30C9U R L:"}
};
/**
* Returns the contents of this <code>ResourceBundle</code>.
*
* <p>
*
* @return the contents of this <code>ResourceBundle</code>.
*/
@Override
public Object[][] getContents() {
return contents;
}
}

@ -1,159 +0,0 @@
/*
* Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package sun.security.tools.policytool;
/**
* <p> This class represents the <code>ResourceBundle</code>
* for the policytool.
*
*/
public class Resources_ko extends java.util.ListResourceBundle {
private static final Object[][] contents = {
{"NEWLINE", "\n"},
{"Warning.A.public.key.for.alias.signers.i.does.not.exist.Make.sure.a.KeyStore.is.properly.configured.",
"\uACBD\uACE0: {0} \uBCC4\uCE6D\uC5D0 \uB300\uD55C \uACF5\uC6A9 \uD0A4\uAC00 \uC874\uC7AC\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uD0A4 \uC800\uC7A5\uC18C\uAC00 \uC81C\uB300\uB85C \uAD6C\uC131\uB418\uC5B4 \uC788\uB294\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624."},
{"Warning.Class.not.found.class", "\uACBD\uACE0: \uD074\uB798\uC2A4\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC74C: {0}"},
{"Warning.Invalid.argument.s.for.constructor.arg",
"\uACBD\uACE0: \uC0DD\uC131\uC790\uC5D0 \uB300\uD574 \uBD80\uC801\uD569\uD55C \uC778\uC218: {0}"},
{"Illegal.Principal.Type.type", "\uC798\uBABB\uB41C \uC8FC\uCCB4 \uC720\uD615: {0}"},
{"Illegal.option.option", "\uC798\uBABB\uB41C \uC635\uC158: {0}"},
{"Usage.policytool.options.", "\uC0AC\uC6A9\uBC95: policytool [options]"},
{".file.file.policy.file.location",
" [-file <file>] \uC815\uCC45 \uD30C\uC77C \uC704\uCE58"},
{"New", "\uC0C8\uB85C \uB9CC\uB4E4\uAE30(&N)"},
{"Open", "\uC5F4\uAE30(&O)..."},
{"Save", "\uC800\uC7A5(&S)"},
{"Save.As", "\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5(&A)..."},
{"View.Warning.Log", "\uACBD\uACE0 \uB85C\uADF8 \uBCF4\uAE30(&W)"},
{"Exit", "\uC885\uB8CC(&X)"},
{"Add.Policy.Entry", "\uC815\uCC45 \uD56D\uBAA9 \uCD94\uAC00(&A)"},
{"Edit.Policy.Entry", "\uC815\uCC45 \uD56D\uBAA9 \uD3B8\uC9D1(&E)"},
{"Remove.Policy.Entry", "\uC815\uCC45 \uD56D\uBAA9 \uC81C\uAC70(&R)"},
{"Edit", "\uD3B8\uC9D1(&E)"},
{"Retain", "\uC720\uC9C0"},
{"Warning.File.name.may.include.escaped.backslash.characters.It.is.not.necessary.to.escape.backslash.characters.the.tool.escapes",
"\uACBD\uACE0: \uD30C\uC77C \uC774\uB984\uC5D0 \uC774\uC2A4\uCF00\uC774\uD504\uB41C \uBC31\uC2AC\uB798\uC2DC \uBB38\uC790\uAC00 \uD3EC\uD568\uB418\uC5C8\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uBC31\uC2AC\uB798\uC2DC \uBB38\uC790\uB294 \uC774\uC2A4\uCF00\uC774\uD504\uD560 \uD544\uC694\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. \uC601\uAD6C \uC800\uC7A5\uC18C\uC5D0 \uC815\uCC45 \uCF58\uD150\uCE20\uB97C \uC4F8 \uB54C \uD544\uC694\uC5D0 \uB530\uB77C \uC790\uB3D9\uC73C\uB85C \uBB38\uC790\uAC00 \uC774\uC2A4\uCF00\uC774\uD504\uB429\uB2C8\uB2E4.\n\n\uC785\uB825\uB41C \uC774\uB984\uC744 \uADF8\uB300\uB85C \uC720\uC9C0\uD558\uB824\uBA74 [\uC720\uC9C0]\uB97C \uB204\uB974\uACE0, \uC774\uB984\uC744 \uD3B8\uC9D1\uD558\uB824\uBA74 [\uD3B8\uC9D1]\uC744 \uB204\uB974\uC2ED\uC2DC\uC624."},
{"Add.Public.Key.Alias", "\uACF5\uC6A9 \uD0A4 \uBCC4\uCE6D \uCD94\uAC00"},
{"Remove.Public.Key.Alias", "\uACF5\uC6A9 \uD0A4 \uBCC4\uCE6D \uC81C\uAC70"},
{"File", "\uD30C\uC77C(&F)"},
{"KeyStore", "\uD0A4 \uC800\uC7A5\uC18C(&K)"},
{"Policy.File.", "\uC815\uCC45 \uD30C\uC77C:"},
{"Could.not.open.policy.file.policyFile.e.toString.",
"\uC815\uCC45 \uD30C\uC77C\uC744 \uC5F4 \uC218 \uC5C6\uC74C: {0}: {1}"},
{"Policy.Tool", "\uC815\uCC45 \uD234"},
{"Errors.have.occurred.while.opening.the.policy.configuration.View.the.Warning.Log.for.more.information.",
"\uC815\uCC45 \uAD6C\uC131\uC744 \uC5EC\uB294 \uC911 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 \uACBD\uACE0 \uB85C\uADF8\uB97C \uD655\uC778\uD558\uC2ED\uC2DC\uC624."},
{"Error", "\uC624\uB958"},
{"OK", "\uD655\uC778"},
{"Status", "\uC0C1\uD0DC"},
{"Warning", "\uACBD\uACE0"},
{"Permission.",
"\uAD8C\uD55C: "},
{"Principal.Type.", "\uC8FC\uCCB4 \uC720\uD615:"},
{"Principal.Name.", "\uC8FC\uCCB4 \uC774\uB984:"},
{"Target.Name.",
"\uB300\uC0C1 \uC774\uB984: "},
{"Actions.",
"\uC791\uC5C5: "},
{"OK.to.overwrite.existing.file.filename.",
"\uAE30\uC874 \uD30C\uC77C {0}\uC744(\uB97C) \uACB9\uCCD0 \uC4F0\uACA0\uC2B5\uB2C8\uAE4C?"},
{"Cancel", "\uCDE8\uC18C"},
{"CodeBase.", "CodeBase(&C)"},
{"SignedBy.", "SignedBy(&S):"},
{"Add.Principal", "\uC8FC\uCCB4 \uCD94\uAC00(&A)"},
{"Edit.Principal", "\uC8FC\uCCB4 \uD3B8\uC9D1(&E)"},
{"Remove.Principal", "\uC8FC\uCCB4 \uC81C\uAC70(&R)"},
{"Principals.", "\uC8FC\uCCB4(&P):"},
{".Add.Permission", " \uAD8C\uD55C \uCD94\uAC00(&D)"},
{".Edit.Permission", " \uAD8C\uD55C \uD3B8\uC9D1(&I)"},
{"Remove.Permission", "\uAD8C\uD55C \uC81C\uAC70(&M)"},
{"Done", "\uC644\uB8CC"},
{"KeyStore.URL.", "\uD0A4 \uC800\uC7A5\uC18C URL(&U):"},
{"KeyStore.Type.", "\uD0A4 \uC800\uC7A5\uC18C \uC720\uD615(&T):"},
{"KeyStore.Provider.", "\uD0A4 \uC800\uC7A5\uC18C \uC81C\uACF5\uC790(&P):"},
{"KeyStore.Password.URL.", "\uD0A4 \uC800\uC7A5\uC18C \uBE44\uBC00\uBC88\uD638 URL(&W):"},
{"Principals", "\uC8FC\uCCB4"},
{".Edit.Principal.", " \uC8FC\uCCB4 \uD3B8\uC9D1:"},
{".Add.New.Principal.", " \uC0C8 \uC8FC\uCCB4 \uCD94\uAC00:"},
{"Permissions", "\uAD8C\uD55C"},
{".Edit.Permission.", " \uAD8C\uD55C \uD3B8\uC9D1:"},
{".Add.New.Permission.", " \uC0C8 \uAD8C\uD55C \uCD94\uAC00:"},
{"Signed.By.", "\uC11C\uBA85\uC790:"},
{"Cannot.Specify.Principal.with.a.Wildcard.Class.without.a.Wildcard.Name",
"\uC640\uC77C\uB4DC \uCE74\uB4DC \uBB38\uC790 \uC774\uB984 \uC5C6\uC774 \uC640\uC77C\uB4DC \uCE74\uB4DC \uBB38\uC790 \uD074\uB798\uC2A4\uB97C \uC0AC\uC6A9\uD558\uB294 \uC8FC\uCCB4\uB97C \uC9C0\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."},
{"Cannot.Specify.Principal.without.a.Name",
"\uC774\uB984 \uC5C6\uC774 \uC8FC\uCCB4\uB97C \uC9C0\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."},
{"Permission.and.Target.Name.must.have.a.value",
"\uAD8C\uD55C\uACFC \uB300\uC0C1 \uC774\uB984\uC758 \uAC12\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4."},
{"Remove.this.Policy.Entry.", "\uC774 \uC815\uCC45 \uD56D\uBAA9\uC744 \uC81C\uAC70\uD558\uACA0\uC2B5\uB2C8\uAE4C?"},
{"Overwrite.File", "\uD30C\uC77C \uACB9\uCCD0\uC4F0\uAE30"},
{"Policy.successfully.written.to.filename",
"{0}\uC5D0 \uC131\uACF5\uC801\uC73C\uB85C \uC815\uCC45\uC744 \uC37C\uC2B5\uB2C8\uB2E4."},
{"null.filename", "\uB110 \uD30C\uC77C \uC774\uB984"},
{"Save.changes.", "\uBCC0\uACBD\uC0AC\uD56D\uC744 \uC800\uC7A5\uD558\uACA0\uC2B5\uB2C8\uAE4C?"},
{"Yes", "\uC608(&Y)"},
{"No", "\uC544\uB2C8\uC624(&N)"},
{"Policy.Entry", "\uC815\uCC45 \uD56D\uBAA9"},
{"Save.Changes", "\uBCC0\uACBD\uC0AC\uD56D \uC800\uC7A5"},
{"No.Policy.Entry.selected", "\uC120\uD0DD\uB41C \uC815\uCC45 \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},
{"Unable.to.open.KeyStore.ex.toString.",
"\uD0A4 \uC800\uC7A5\uC18C\uB97C \uC5F4 \uC218 \uC5C6\uC74C: {0}"},
{"No.principal.selected", "\uC120\uD0DD\uB41C \uC8FC\uCCB4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."},
{"No.permission.selected", "\uC120\uD0DD\uB41C \uAD8C\uD55C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},
{"name", "\uC774\uB984"},
{"configuration.type", "\uAD6C\uC131 \uC720\uD615"},
{"environment.variable.name", "\uD658\uACBD \uBCC0\uC218 \uC774\uB984"},
{"library.name", "\uB77C\uC774\uBE0C\uB7EC\uB9AC \uC774\uB984"},
{"package.name", "\uD328\uD0A4\uC9C0 \uC774\uB984"},
{"policy.type", "\uC815\uCC45 \uC720\uD615"},
{"property.name", "\uC18D\uC131 \uC774\uB984"},
{"provider.name", "\uC81C\uACF5\uC790 \uC774\uB984"},
{"url", "URL"},
{"method.list", "\uBA54\uC18C\uB4DC \uBAA9\uB85D"},
{"request.headers.list", "\uC694\uCCAD \uD5E4\uB354 \uBAA9\uB85D"},
{"Principal.List", "\uC8FC\uCCB4 \uBAA9\uB85D"},
{"Permission.List", "\uAD8C\uD55C \uBAA9\uB85D"},
{"Code.Base", "\uCF54\uB4DC \uBCA0\uC774\uC2A4"},
{"KeyStore.U.R.L.", "\uD0A4 \uC800\uC7A5\uC18C URL:"},
{"KeyStore.Password.U.R.L.", "\uD0A4 \uC800\uC7A5\uC18C \uBE44\uBC00\uBC88\uD638 URL:"}
};
/**
* Returns the contents of this <code>ResourceBundle</code>.
*
* <p>
*
* @return the contents of this <code>ResourceBundle</code>.
*/
@Override
public Object[][] getContents() {
return contents;
}
}

@ -1,159 +0,0 @@
/*
* Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package sun.security.tools.policytool;
/**
* <p> This class represents the <code>ResourceBundle</code>
* for the policytool.
*
*/
public class Resources_pt_BR extends java.util.ListResourceBundle {
private static final Object[][] contents = {
{"NEWLINE", "\n"},
{"Warning.A.public.key.for.alias.signers.i.does.not.exist.Make.sure.a.KeyStore.is.properly.configured.",
"Advert\u00EAncia: N\u00E3o existe uma chave p\u00FAblica para o alias {0}. Certifique-se de que um KeyStore esteja configurado adequadamente."},
{"Warning.Class.not.found.class", "Advert\u00EAncia: Classe n\u00E3o encontrada: {0}"},
{"Warning.Invalid.argument.s.for.constructor.arg",
"Advert\u00EAncia: Argumento(s) inv\u00E1lido(s) para o construtor: {0}"},
{"Illegal.Principal.Type.type", "Tipo Principal Inv\u00E1lido: {0}"},
{"Illegal.option.option", "Op\u00E7\u00E3o inv\u00E1lida: {0}"},
{"Usage.policytool.options.", "Uso: policytool [op\u00E7\u00F5es]"},
{".file.file.policy.file.location",
" [-file <arquivo>] localiza\u00E7\u00E3o do arquivo de pol\u00EDtica"},
{"New", "&Novo"},
{"Open", "&Abrir..."},
{"Save", "&Salvar"},
{"Save.As", "Salvar c&omo..."},
{"View.Warning.Log", "E&xibir Log de Advert\u00EAncias"},
{"Exit", "S&air"},
{"Add.Policy.Entry", "&Adicionar Entrada de Pol\u00EDtica"},
{"Edit.Policy.Entry", "&Editar Entrada de Pol\u00EDtica"},
{"Remove.Policy.Entry", "&Remover Entrada de Pol\u00EDtica"},
{"Edit", "&Editar"},
{"Retain", "Reter"},
{"Warning.File.name.may.include.escaped.backslash.characters.It.is.not.necessary.to.escape.backslash.characters.the.tool.escapes",
"Advert\u00EAncia: O nome do arquivo pode conter caracteres de escape barra invertida. N\u00E3o \u00E9 necess\u00E1rio fazer o escape dos caracteres de barra invertida (a ferramenta faz o escape dos caracteres conforme necess\u00E1rio ao gravar o conte\u00FAdo da pol\u00EDtica no armazenamento persistente).\n\nClique em Reter para reter o nome da entrada ou clique em Editar para edit\u00E1-lo."},
{"Add.Public.Key.Alias", "Adicionar Alias de Chave P\u00FAblica"},
{"Remove.Public.Key.Alias", "Remover Alias de Chave P\u00FAblica"},
{"File", "&Arquivo"},
{"KeyStore", "&KeyStore"},
{"Policy.File.", "Arquivo de Pol\u00EDtica:"},
{"Could.not.open.policy.file.policyFile.e.toString.",
"N\u00E3o foi poss\u00EDvel abrir o arquivo de pol\u00EDtica: {0}: {1}"},
{"Policy.Tool", "Ferramenta de Pol\u00EDtica"},
{"Errors.have.occurred.while.opening.the.policy.configuration.View.the.Warning.Log.for.more.information.",
"Erros durante a abertura da configura\u00E7\u00E3o da pol\u00EDtica. Consulte o Log de Advert\u00EAncias para obter mais informa\u00E7\u00F5es."},
{"Error", "Erro"},
{"OK", "OK"},
{"Status", "Status"},
{"Warning", "Advert\u00EAncia"},
{"Permission.",
"Permiss\u00E3o: "},
{"Principal.Type.", "Tipo do Principal:"},
{"Principal.Name.", "Nome do Principal:"},
{"Target.Name.",
"Nome do Alvo: "},
{"Actions.",
"A\u00E7\u00F5es: "},
{"OK.to.overwrite.existing.file.filename.",
"Est\u00E1 correto substituir o arquivo existente {0}?"},
{"Cancel", "Cancelar"},
{"CodeBase.", "&CodeBase:"},
{"SignedBy.", "&SignedBy:"},
{"Add.Principal", "&Adicionar Principal"},
{"Edit.Principal", "&Editar Principal"},
{"Remove.Principal", "&Remover Principal"},
{"Principals.", "&Principais:"},
{".Add.Permission", " A&dicionar Permiss\u00E3o"},
{".Edit.Permission", " Ed&itar Permiss\u00E3o"},
{"Remove.Permission", "Re&mover Permiss\u00E3o"},
{"Done", "Conclu\u00EDdo"},
{"KeyStore.URL.", "&URL do KeyStore:"},
{"KeyStore.Type.", "&Tipo de KeyStore:"},
{"KeyStore.Provider.", "&Fornecedor de KeyStore:"},
{"KeyStore.Password.URL.", "URL da Senha do Ke&yStore:"},
{"Principals", "Principais"},
{".Edit.Principal.", " Editar Principal:"},
{".Add.New.Principal.", " Adicionar Novo Principal:"},
{"Permissions", "Permiss\u00F5es"},
{".Edit.Permission.", " Editar Permiss\u00E3o:"},
{".Add.New.Permission.", " Adicionar Nova Permiss\u00E3o:"},
{"Signed.By.", "Assinado por:"},
{"Cannot.Specify.Principal.with.a.Wildcard.Class.without.a.Wildcard.Name",
"N\u00E3o \u00E9 Poss\u00EDvel Especificar um Principal com uma Classe de Curinga sem um Nome de Curinga"},
{"Cannot.Specify.Principal.without.a.Name",
"N\u00E3o \u00E9 Poss\u00EDvel Especificar um Principal sem um Nome"},
{"Permission.and.Target.Name.must.have.a.value",
"O Nome de Destino e a Permiss\u00E3o devem ter um Valor"},
{"Remove.this.Policy.Entry.", "Remover esta Entrada de Pol\u00EDtica?"},
{"Overwrite.File", "Substituir Arquivo"},
{"Policy.successfully.written.to.filename",
"Pol\u00EDtica gravada com \u00EAxito em {0}"},
{"null.filename", "nome de arquivo nulo"},
{"Save.changes.", "Salvar altera\u00E7\u00F5es?"},
{"Yes", "&Sim"},
{"No", "&N\u00E3o"},
{"Policy.Entry", "Entrada de Pol\u00EDtica"},
{"Save.Changes", "Salvar Altera\u00E7\u00F5es"},
{"No.Policy.Entry.selected", "Nenhuma Entrada de Pol\u00EDtica Selecionada"},
{"Unable.to.open.KeyStore.ex.toString.",
"N\u00E3o \u00E9 poss\u00EDvel abrir a KeyStore: {0}"},
{"No.principal.selected", "Nenhum principal selecionado"},
{"No.permission.selected", "Nenhuma permiss\u00E3o selecionada"},
{"name", "nome"},
{"configuration.type", "tipo de configura\u00E7\u00E3o"},
{"environment.variable.name", "nome da vari\u00E1vel de ambiente"},
{"library.name", "nome da biblioteca"},
{"package.name", "nome do pacote"},
{"policy.type", "tipo de pol\u00EDtica"},
{"property.name", "nome da propriedade"},
{"provider.name", "nome do fornecedor"},
{"url", "url"},
{"method.list", "lista de m\u00E9todos"},
{"request.headers.list", "solicitar lista de cabe\u00E7alhos"},
{"Principal.List", "Lista de Principais"},
{"Permission.List", "Lista de Permiss\u00F5es"},
{"Code.Base", "Base de C\u00F3digo"},
{"KeyStore.U.R.L.", "U R L da KeyStore:"},
{"KeyStore.Password.U.R.L.", "U R L da Senha do KeyStore:"}
};
/**
* Returns the contents of this <code>ResourceBundle</code>.
*
* <p>
*
* @return the contents of this <code>ResourceBundle</code>.
*/
@Override
public Object[][] getContents() {
return contents;
}
}

@ -1,159 +0,0 @@
/*
* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package sun.security.tools.policytool;
/**
* <p> This class represents the <code>ResourceBundle</code>
* for the policytool.
*
*/
public class Resources_sv extends java.util.ListResourceBundle {
private static final Object[][] contents = {
{"NEWLINE", "\n"},
{"Warning.A.public.key.for.alias.signers.i.does.not.exist.Make.sure.a.KeyStore.is.properly.configured.",
"Varning! Det finns ingen \u00F6ppen nyckel f\u00F6r aliaset {0}. Kontrollera att det aktuella nyckellagret \u00E4r korrekt konfigurerat."},
{"Warning.Class.not.found.class", "Varning! Klassen hittades inte: {0}"},
{"Warning.Invalid.argument.s.for.constructor.arg",
"Varning! Ogiltiga argument f\u00F6r konstruktor: {0}"},
{"Illegal.Principal.Type.type", "Otill\u00E5ten identitetshavaretyp: {0}"},
{"Illegal.option.option", "Otill\u00E5tet alternativ: {0}"},
{"Usage.policytool.options.", "Syntax: policytool [alternativ]"},
{".file.file.policy.file.location",
" [-file <fil>] policyfiladress"},
{"New", "&Nytt"},
{"Open", "&\u00D6ppna..."},
{"Save", "S&para"},
{"Save.As", "Spara &som..."},
{"View.Warning.Log", "Visa varningslo&gg"},
{"Exit", "A&vsluta"},
{"Add.Policy.Entry", "&L\u00E4gg till policypost"},
{"Edit.Policy.Entry", "&Redigera policypost"},
{"Remove.Policy.Entry", "&Ta bort policypost"},
{"Edit", "&Redigera"},
{"Retain", "Beh\u00E5ll"},
{"Warning.File.name.may.include.escaped.backslash.characters.It.is.not.necessary.to.escape.backslash.characters.the.tool.escapes",
"Varning! Filnamnet kan inneh\u00E5lla omv\u00E4nda snedstreck inom citattecken. Citattecken kr\u00E4vs inte f\u00F6r omv\u00E4nda snedstreck (verktyget hanterar detta n\u00E4r policyinneh\u00E5llet skrivs till det best\u00E4ndiga lagret).\n\nKlicka p\u00E5 Beh\u00E5ll f\u00F6r att beh\u00E5lla det angivna namnet, eller klicka p\u00E5 Redigera f\u00F6r att \u00E4ndra det."},
{"Add.Public.Key.Alias", "L\u00E4gg till alias till \u00F6ppen nyckel"},
{"Remove.Public.Key.Alias", "Ta bort alias f\u00F6r \u00F6ppen nyckel"},
{"File", "&Arkiv"},
{"KeyStore", "&KeyStore"},
{"Policy.File.", "Policyfil:"},
{"Could.not.open.policy.file.policyFile.e.toString.",
"Kan inte \u00F6ppna policyfilen: {0}: {1}"},
{"Policy.Tool", "Policyverktyg"},
{"Errors.have.occurred.while.opening.the.policy.configuration.View.the.Warning.Log.for.more.information.",
"Ett fel intr\u00E4ffade n\u00E4r policykonfigurationen skulle \u00F6ppnas. Se varningsloggen f\u00F6r mer information."},
{"Error", "Fel"},
{"OK", "OK"},
{"Status", "Status"},
{"Warning", "Varning"},
{"Permission.",
"Beh\u00F6righet: "},
{"Principal.Type.", "Identitetshavaretyp:"},
{"Principal.Name.", "Identitetshavare:"},
{"Target.Name.",
"M\u00E5l: "},
{"Actions.",
"\u00C5tg\u00E4rder: "},
{"OK.to.overwrite.existing.file.filename.",
"Ska den befintliga filen {0} skrivas \u00F6ver?"},
{"Cancel", "Avbryt"},
{"CodeBase.", "&CodeBase:"},
{"SignedBy.", "&SignedBy:"},
{"Add.Principal", "&L\u00E4gg till identitetshavare"},
{"Edit.Principal", "&Redigera identitetshavare"},
{"Remove.Principal", "&Ta bort identitetshavare"},
{"Principals.", "Identitetshavare:"},
{".Add.Permission", " L&\u00E4gg till beh\u00F6righet"},
{".Edit.Permission", " Re&digera beh\u00F6righet"},
{"Remove.Permission", "Ta &bort beh\u00F6righet"},
{"Done", "Utf\u00F6rd"},
{"KeyStore.URL.", "Nyckellager-&URL:"},
{"KeyStore.Type.", "Nyckellager&typ:"},
{"KeyStore.Provider.", "Nyckellager&leverant\u00F6r:"},
{"KeyStore.Password.URL.", "L\u00F6sen&ords-URL till nyckellager:"},
{"Principals", "Identitetshavare"},
{".Edit.Principal.", " Redigera identitetshavare:"},
{".Add.New.Principal.", " L\u00E4gg till ny identitetshavare:"},
{"Permissions", "Beh\u00F6righeter"},
{".Edit.Permission.", " Redigera beh\u00F6righet:"},
{".Add.New.Permission.", " L\u00E4gg till ny beh\u00F6righet:"},
{"Signed.By.", "Signerad av:"},
{"Cannot.Specify.Principal.with.a.Wildcard.Class.without.a.Wildcard.Name",
"Kan inte specificera identitetshavare med jokerteckenklass utan jokerteckennamn"},
{"Cannot.Specify.Principal.without.a.Name",
"Kan inte specificera identitetshavare utan namn"},
{"Permission.and.Target.Name.must.have.a.value",
"Beh\u00F6righet och m\u00E5lnamn m\u00E5ste ha ett v\u00E4rde"},
{"Remove.this.Policy.Entry.", "Vill du ta bort den h\u00E4r policyposten?"},
{"Overwrite.File", "Skriv \u00F6ver fil"},
{"Policy.successfully.written.to.filename",
"Policy har skrivits till {0}"},
{"null.filename", "nullfilnamn"},
{"Save.changes.", "Vill du spara \u00E4ndringarna?"},
{"Yes", "&Ja"},
{"No", "&Nej"},
{"Policy.Entry", "Policyfel"},
{"Save.Changes", "Spara \u00E4ndringar"},
{"No.Policy.Entry.selected", "Ingen policypost har valts"},
{"Unable.to.open.KeyStore.ex.toString.",
"Kan inte \u00F6ppna nyckellagret: {0}"},
{"No.principal.selected", "Ingen identitetshavare har valts"},
{"No.permission.selected", "Ingen beh\u00F6righet har valts"},
{"name", "namn"},
{"configuration.type", "konfigurationstyp"},
{"environment.variable.name", "variabelnamn f\u00F6r milj\u00F6"},
{"library.name", "biblioteksnamn"},
{"package.name", "paketnamn"},
{"policy.type", "policytyp"},
{"property.name", "egenskapsnamn"},
{"provider.name", "leverant\u00F6rsnamn"},
{"url", "url"},
{"method.list", "metodlista"},
{"request.headers.list", "lista \u00F6ver beg\u00E4randehuvuden"},
{"Principal.List", "Lista \u00F6ver identitetshavare"},
{"Permission.List", "Beh\u00F6righetslista"},
{"Code.Base", "Kodbas"},
{"KeyStore.U.R.L.", "URL f\u00F6r nyckellager:"},
{"KeyStore.Password.U.R.L.", "URL f\u00F6r l\u00F6senord till nyckellager:"}
};
/**
* Returns the contents of this <code>ResourceBundle</code>.
*
* <p>
*
* @return the contents of this <code>ResourceBundle</code>.
*/
@Override
public Object[][] getContents() {
return contents;
}
}

@ -1,159 +0,0 @@
/*
* Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package sun.security.tools.policytool;
/**
* <p> This class represents the <code>ResourceBundle</code>
* for the policytool.
*
*/
public class Resources_zh_CN extends java.util.ListResourceBundle {
private static final Object[][] contents = {
{"NEWLINE", "\n"},
{"Warning.A.public.key.for.alias.signers.i.does.not.exist.Make.sure.a.KeyStore.is.properly.configured.",
"\u8B66\u544A: \u522B\u540D {0} \u7684\u516C\u5171\u5BC6\u94A5\u4E0D\u5B58\u5728\u3002\u8BF7\u786E\u4FDD\u5DF2\u6B63\u786E\u914D\u7F6E\u5BC6\u94A5\u5E93\u3002"},
{"Warning.Class.not.found.class", "\u8B66\u544A: \u627E\u4E0D\u5230\u7C7B: {0}"},
{"Warning.Invalid.argument.s.for.constructor.arg",
"\u8B66\u544A: \u6784\u9020\u5668\u7684\u53C2\u6570\u65E0\u6548: {0}"},
{"Illegal.Principal.Type.type", "\u975E\u6CD5\u7684\u4E3B\u7528\u6237\u7C7B\u578B: {0}"},
{"Illegal.option.option", "\u975E\u6CD5\u9009\u9879: {0}"},
{"Usage.policytool.options.", "\u7528\u6CD5: policytool [\u9009\u9879]"},
{".file.file.policy.file.location",
" [-file <file>] \u7B56\u7565\u6587\u4EF6\u4F4D\u7F6E"},
{"New", "\u65B0\u5EFA(&N)"},
{"Open", "\u6253\u5F00(&O)..."},
{"Save", "\u4FDD\u5B58(&S)"},
{"Save.As", "\u53E6\u5B58\u4E3A(&A)..."},
{"View.Warning.Log", "\u67E5\u770B\u8B66\u544A\u65E5\u5FD7(&W)"},
{"Exit", "\u9000\u51FA(&X)"},
{"Add.Policy.Entry", "\u6DFB\u52A0\u7B56\u7565\u6761\u76EE(&A)"},
{"Edit.Policy.Entry", "\u7F16\u8F91\u7B56\u7565\u6761\u76EE(&E)"},
{"Remove.Policy.Entry", "\u5220\u9664\u7B56\u7565\u6761\u76EE(&R)"},
{"Edit", "\u7F16\u8F91(&E)"},
{"Retain", "\u4FDD\u7559"},
{"Warning.File.name.may.include.escaped.backslash.characters.It.is.not.necessary.to.escape.backslash.characters.the.tool.escapes",
"\u8B66\u544A: \u6587\u4EF6\u540D\u5305\u542B\u8F6C\u4E49\u7684\u53CD\u659C\u6760\u5B57\u7B26\u3002\u4E0D\u9700\u8981\u5BF9\u53CD\u659C\u6760\u5B57\u7B26\u8FDB\u884C\u8F6C\u4E49 (\u8BE5\u5DE5\u5177\u5728\u5C06\u7B56\u7565\u5185\u5BB9\u5199\u5165\u6C38\u4E45\u5B58\u50A8\u65F6\u4F1A\u6839\u636E\u9700\u8981\u5BF9\u5B57\u7B26\u8FDB\u884C\u8F6C\u4E49)\u3002\n\n\u5355\u51FB\u201C\u4FDD\u7559\u201D\u53EF\u4FDD\u7559\u8F93\u5165\u7684\u540D\u79F0, \u6216\u8005\u5355\u51FB\u201C\u7F16\u8F91\u201D\u53EF\u7F16\u8F91\u8BE5\u540D\u79F0\u3002"},
{"Add.Public.Key.Alias", "\u6DFB\u52A0\u516C\u5171\u5BC6\u94A5\u522B\u540D"},
{"Remove.Public.Key.Alias", "\u5220\u9664\u516C\u5171\u5BC6\u94A5\u522B\u540D"},
{"File", "\u6587\u4EF6(&F)"},
{"KeyStore", "\u5BC6\u94A5\u5E93(&K)"},
{"Policy.File.", "\u7B56\u7565\u6587\u4EF6:"},
{"Could.not.open.policy.file.policyFile.e.toString.",
"\u65E0\u6CD5\u6253\u5F00\u7B56\u7565\u6587\u4EF6: {0}: {1}"},
{"Policy.Tool", "\u7B56\u7565\u5DE5\u5177"},
{"Errors.have.occurred.while.opening.the.policy.configuration.View.the.Warning.Log.for.more.information.",
"\u6253\u5F00\u7B56\u7565\u914D\u7F6E\u65F6\u51FA\u9519\u3002\u6709\u5173\u8BE6\u7EC6\u4FE1\u606F, \u8BF7\u67E5\u770B\u8B66\u544A\u65E5\u5FD7\u3002"},
{"Error", "\u9519\u8BEF"},
{"OK", "\u786E\u5B9A"},
{"Status", "\u72B6\u6001"},
{"Warning", "\u8B66\u544A"},
{"Permission.",
"\u6743\u9650: "},
{"Principal.Type.", "\u4E3B\u7528\u6237\u7C7B\u578B:"},
{"Principal.Name.", "\u4E3B\u7528\u6237\u540D\u79F0:"},
{"Target.Name.",
"\u76EE\u6807\u540D\u79F0: "},
{"Actions.",
"\u64CD\u4F5C: "},
{"OK.to.overwrite.existing.file.filename.",
"\u786E\u8BA4\u8986\u76D6\u73B0\u6709\u7684\u6587\u4EF6{0}?"},
{"Cancel", "\u53D6\u6D88"},
{"CodeBase.", "CodeBase(&C):"},
{"SignedBy.", "SignedBy(&S):"},
{"Add.Principal", "\u6DFB\u52A0\u4E3B\u7528\u6237(&A)"},
{"Edit.Principal", "\u7F16\u8F91\u4E3B\u7528\u6237(&E)"},
{"Remove.Principal", "\u5220\u9664\u4E3B\u7528\u6237(&R)"},
{"Principals.", "\u4E3B\u7528\u6237(&P):"},
{".Add.Permission", " \u6DFB\u52A0\u6743\u9650(&D)"},
{".Edit.Permission", " \u7F16\u8F91\u6743\u9650(&I)"},
{"Remove.Permission", "\u5220\u9664\u6743\u9650(&M)"},
{"Done", "\u5B8C\u6210"},
{"KeyStore.URL.", "\u5BC6\u94A5\u5E93 URL(&U):"},
{"KeyStore.Type.", "\u5BC6\u94A5\u5E93\u7C7B\u578B(&T):"},
{"KeyStore.Provider.", "\u5BC6\u94A5\u5E93\u63D0\u4F9B\u65B9(&P):"},
{"KeyStore.Password.URL.", "\u5BC6\u94A5\u5E93\u53E3\u4EE4 URL(&W):"},
{"Principals", "\u4E3B\u7528\u6237"},
{".Edit.Principal.", " \u7F16\u8F91\u4E3B\u7528\u6237:"},
{".Add.New.Principal.", " \u6DFB\u52A0\u65B0\u4E3B\u7528\u6237:"},
{"Permissions", "\u6743\u9650"},
{".Edit.Permission.", " \u7F16\u8F91\u6743\u9650:"},
{".Add.New.Permission.", " \u52A0\u5165\u65B0\u7684\u6743\u9650:"},
{"Signed.By.", "\u7B7E\u7F72\u4EBA: "},
{"Cannot.Specify.Principal.with.a.Wildcard.Class.without.a.Wildcard.Name",
"\u6CA1\u6709\u901A\u914D\u7B26\u540D\u79F0, \u65E0\u6CD5\u4F7F\u7528\u901A\u914D\u7B26\u7C7B\u6307\u5B9A\u4E3B\u7528\u6237"},
{"Cannot.Specify.Principal.without.a.Name",
"\u6CA1\u6709\u540D\u79F0, \u65E0\u6CD5\u6307\u5B9A\u4E3B\u7528\u6237"},
{"Permission.and.Target.Name.must.have.a.value",
"\u6743\u9650\u53CA\u76EE\u6807\u540D\u5FC5\u987B\u6709\u4E00\u4E2A\u503C"},
{"Remove.this.Policy.Entry.", "\u662F\u5426\u5220\u9664\u6B64\u7B56\u7565\u6761\u76EE?"},
{"Overwrite.File", "\u8986\u76D6\u6587\u4EF6"},
{"Policy.successfully.written.to.filename",
"\u7B56\u7565\u5DF2\u6210\u529F\u5199\u5165\u5230{0}"},
{"null.filename", "\u7A7A\u6587\u4EF6\u540D"},
{"Save.changes.", "\u662F\u5426\u4FDD\u5B58\u6240\u505A\u7684\u66F4\u6539?"},
{"Yes", "\u662F(&Y)"},
{"No", "\u5426(&N)"},
{"Policy.Entry", "\u7B56\u7565\u6761\u76EE"},
{"Save.Changes", "\u4FDD\u5B58\u66F4\u6539"},
{"No.Policy.Entry.selected", "\u6CA1\u6709\u9009\u62E9\u7B56\u7565\u6761\u76EE"},
{"Unable.to.open.KeyStore.ex.toString.",
"\u65E0\u6CD5\u6253\u5F00\u5BC6\u94A5\u5E93: {0}"},
{"No.principal.selected", "\u672A\u9009\u62E9\u4E3B\u7528\u6237"},
{"No.permission.selected", "\u6CA1\u6709\u9009\u62E9\u6743\u9650"},
{"name", "\u540D\u79F0"},
{"configuration.type", "\u914D\u7F6E\u7C7B\u578B"},
{"environment.variable.name", "\u73AF\u5883\u53D8\u91CF\u540D"},
{"library.name", "\u5E93\u540D\u79F0"},
{"package.name", "\u7A0B\u5E8F\u5305\u540D\u79F0"},
{"policy.type", "\u7B56\u7565\u7C7B\u578B"},
{"property.name", "\u5C5E\u6027\u540D\u79F0"},
{"provider.name", "\u63D0\u4F9B\u65B9\u540D\u79F0"},
{"url", "URL"},
{"method.list", "\u65B9\u6CD5\u5217\u8868"},
{"request.headers.list", "\u8BF7\u6C42\u6807\u5934\u5217\u8868"},
{"Principal.List", "\u4E3B\u7528\u6237\u5217\u8868"},
{"Permission.List", "\u6743\u9650\u5217\u8868"},
{"Code.Base", "\u4EE3\u7801\u5E93"},
{"KeyStore.U.R.L.", "\u5BC6\u94A5\u5E93 URL:"},
{"KeyStore.Password.U.R.L.", "\u5BC6\u94A5\u5E93\u53E3\u4EE4 URL:"}
};
/**
* Returns the contents of this <code>ResourceBundle</code>.
*
* <p>
*
* @return the contents of this <code>ResourceBundle</code>.
*/
@Override
public Object[][] getContents() {
return contents;
}
}

@ -1,156 +0,0 @@
/*
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package sun.security.tools.policytool;
/**
* <p> This class represents the <code>ResourceBundle</code>
* for the policytool.
*
*/
public class Resources_zh_HK extends java.util.ListResourceBundle {
private static final Object[][] contents = {
{"NEWLINE", "\n"},
{"Warning.A.public.key.for.alias.signers.i.does.not.exist.Make.sure.a.KeyStore.is.properly.configured.",
"\u8B66\u544A: \u5225\u540D {0} \u7684\u516C\u958B\u91D1\u9470\u4E0D\u5B58\u5728\u3002\u8ACB\u78BA\u5B9A\u91D1\u9470\u5132\u5B58\u5EAB\u914D\u7F6E\u6B63\u78BA\u3002"},
{"Warning.Class.not.found.class", "\u8B66\u544A: \u627E\u4E0D\u5230\u985E\u5225 {0}"},
{"Warning.Invalid.argument.s.for.constructor.arg",
"\u8B66\u544A: \u7121\u6548\u7684\u5EFA\u69CB\u5B50\u5F15\u6578: {0}"},
{"Illegal.Principal.Type.type", "\u7121\u6548\u7684 Principal \u985E\u578B: {0}"},
{"Illegal.option.option", "\u7121\u6548\u7684\u9078\u9805: {0}"},
{"Usage.policytool.options.", "\u7528\u6CD5: policytool [options]"},
{".file.file.policy.file.location",
" [-file <file>] \u539F\u5247\u6A94\u6848\u4F4D\u7F6E"},
{"New", "\u65B0\u589E"},
{"Open", "\u958B\u555F"},
{"Save", "\u5132\u5B58"},
{"Save.As", "\u53E6\u5B58\u65B0\u6A94"},
{"View.Warning.Log", "\u6AA2\u8996\u8B66\u544A\u8A18\u9304"},
{"Exit", "\u7D50\u675F"},
{"Add.Policy.Entry", "\u65B0\u589E\u539F\u5247\u9805\u76EE"},
{"Edit.Policy.Entry", "\u7DE8\u8F2F\u539F\u5247\u9805\u76EE"},
{"Remove.Policy.Entry", "\u79FB\u9664\u539F\u5247\u9805\u76EE"},
{"Edit", "\u7DE8\u8F2F"},
{"Retain", "\u4FDD\u7559"},
{"Warning.File.name.may.include.escaped.backslash.characters.It.is.not.necessary.to.escape.backslash.characters.the.tool.escapes",
"\u8B66\u544A: \u6A94\u6848\u540D\u7A31\u5305\u542B\u9041\u96E2\u53CD\u659C\u7DDA\u5B57\u5143\u3002\u4E0D\u9700\u8981\u9041\u96E2\u53CD\u659C\u7DDA\u5B57\u5143 (\u64B0\u5BEB\u539F\u5247\u5167\u5BB9\u81F3\u6C38\u4E45\u5B58\u653E\u5340\u6642\u9700\u8981\u5DE5\u5177\u9041\u96E2\u5B57\u5143)\u3002\n\n\u6309\u4E00\u4E0B\u300C\u4FDD\u7559\u300D\u4EE5\u4FDD\u7559\u8F38\u5165\u7684\u540D\u7A31\uFF0C\u6216\u6309\u4E00\u4E0B\u300C\u7DE8\u8F2F\u300D\u4EE5\u7DE8\u8F2F\u540D\u7A31\u3002"},
{"Add.Public.Key.Alias", "\u65B0\u589E\u516C\u958B\u91D1\u9470\u5225\u540D"},
{"Remove.Public.Key.Alias", "\u79FB\u9664\u516C\u958B\u91D1\u9470\u5225\u540D"},
{"File", "\u6A94\u6848"},
{"KeyStore", "\u91D1\u9470\u5132\u5B58\u5EAB"},
{"Policy.File.", "\u539F\u5247\u6A94\u6848: "},
{"Could.not.open.policy.file.policyFile.e.toString.",
"\u7121\u6CD5\u958B\u555F\u539F\u5247\u6A94\u6848: {0}: {1}"},
{"Policy.Tool", "\u539F\u5247\u5DE5\u5177"},
{"Errors.have.occurred.while.opening.the.policy.configuration.View.the.Warning.Log.for.more.information.",
"\u958B\u555F\u539F\u5247\u8A18\u7F6E\u6642\u767C\u751F\u932F\u8AA4\u3002\u8ACB\u6AA2\u8996\u8B66\u544A\u8A18\u9304\u4EE5\u53D6\u5F97\u66F4\u591A\u7684\u8CC7\u8A0A"},
{"Error", "\u932F\u8AA4"},
{"OK", "\u78BA\u5B9A"},
{"Status", "\u72C0\u614B"},
{"Warning", "\u8B66\u544A"},
{"Permission.",
"\u6B0A\u9650: "},
{"Principal.Type.", "Principal \u985E\u578B: "},
{"Principal.Name.", "Principal \u540D\u7A31: "},
{"Target.Name.",
"\u76EE\u6A19\u540D\u7A31: "},
{"Actions.",
"\u52D5\u4F5C: "},
{"OK.to.overwrite.existing.file.filename.",
"\u78BA\u8A8D\u8986\u5BEB\u73FE\u5B58\u7684\u6A94\u6848 {0}\uFF1F"},
{"Cancel", "\u53D6\u6D88"},
{"CodeBase.", "CodeBase:"},
{"SignedBy.", "SignedBy:"},
{"Add.Principal", "\u65B0\u589E Principal"},
{"Edit.Principal", "\u7DE8\u8F2F Principal"},
{"Remove.Principal", "\u79FB\u9664 Principal"},
{"Principals.", "Principal:"},
{".Add.Permission", " \u65B0\u589E\u6B0A\u9650"},
{".Edit.Permission", " \u7DE8\u8F2F\u6B0A\u9650"},
{"Remove.Permission", "\u79FB\u9664\u6B0A\u9650"},
{"Done", "\u5B8C\u6210"},
{"KeyStore.URL.", "\u91D1\u9470\u5132\u5B58\u5EAB URL: "},
{"KeyStore.Type.", "\u91D1\u9470\u5132\u5B58\u5EAB\u985E\u578B:"},
{"KeyStore.Provider.", "\u91D1\u9470\u5132\u5B58\u5EAB\u63D0\u4F9B\u8005:"},
{"KeyStore.Password.URL.", "\u91D1\u9470\u5132\u5B58\u5EAB\u5BC6\u78BC URL: "},
{"Principals", "Principal"},
{".Edit.Principal.", " \u7DE8\u8F2F Principal: "},
{".Add.New.Principal.", " \u65B0\u589E Principal: "},
{"Permissions", "\u6B0A\u9650"},
{".Edit.Permission.", " \u7DE8\u8F2F\u6B0A\u9650:"},
{".Add.New.Permission.", " \u65B0\u589E\u6B0A\u9650:"},
{"Signed.By.", "\u7C3D\u7F72\u4EBA: "},
{"Cannot.Specify.Principal.with.a.Wildcard.Class.without.a.Wildcard.Name",
"\u6C92\u6709\u842C\u7528\u5B57\u5143\u540D\u7A31\uFF0C\u7121\u6CD5\u6307\u5B9A\u542B\u6709\u842C\u7528\u5B57\u5143\u985E\u5225\u7684 Principal"},
{"Cannot.Specify.Principal.without.a.Name",
"\u6C92\u6709\u540D\u7A31\uFF0C\u7121\u6CD5\u6307\u5B9A Principal"},
{"Permission.and.Target.Name.must.have.a.value",
"\u6B0A\u9650\u53CA\u76EE\u6A19\u540D\u7A31\u5FC5\u9808\u6709\u4E00\u500B\u503C\u3002"},
{"Remove.this.Policy.Entry.", "\u79FB\u9664\u9019\u500B\u539F\u5247\u9805\u76EE\uFF1F"},
{"Overwrite.File", "\u8986\u5BEB\u6A94\u6848"},
{"Policy.successfully.written.to.filename",
"\u539F\u5247\u6210\u529F\u5BEB\u5165\u81F3 {0}"},
{"null.filename", "\u7A7A\u503C\u6A94\u540D"},
{"Save.changes.", "\u5132\u5B58\u8B8A\u66F4\uFF1F"},
{"Yes", "\u662F"},
{"No", "\u5426"},
{"Policy.Entry", "\u539F\u5247\u9805\u76EE"},
{"Save.Changes", "\u5132\u5B58\u8B8A\u66F4"},
{"No.Policy.Entry.selected", "\u6C92\u6709\u9078\u53D6\u539F\u5247\u9805\u76EE"},
{"Unable.to.open.KeyStore.ex.toString.",
"\u7121\u6CD5\u958B\u555F\u91D1\u9470\u5132\u5B58\u5EAB: {0}"},
{"No.principal.selected", "\u672A\u9078\u53D6 Principal"},
{"No.permission.selected", "\u6C92\u6709\u9078\u53D6\u6B0A\u9650"},
{"name", "\u540D\u7A31"},
{"configuration.type", "\u7D44\u614B\u985E\u578B"},
{"environment.variable.name", "\u74B0\u5883\u8B8A\u6578\u540D\u7A31"},
{"library.name", "\u7A0B\u5F0F\u5EAB\u540D\u7A31"},
{"package.name", "\u5957\u88DD\u7A0B\u5F0F\u540D\u7A31"},
{"policy.type", "\u539F\u5247\u985E\u578B"},
{"property.name", "\u5C6C\u6027\u540D\u7A31"},
{"provider.name", "\u63D0\u4F9B\u8005\u540D\u7A31"},
{"Principal.List", "Principal \u6E05\u55AE"},
{"Permission.List", "\u6B0A\u9650\u6E05\u55AE"},
{"Code.Base", "\u4EE3\u78BC\u57FA\u6E96"},
{"KeyStore.U.R.L.", "\u91D1\u9470\u5132\u5B58\u5EAB URL:"},
{"KeyStore.Password.U.R.L.", "\u91D1\u9470\u5132\u5B58\u5EAB\u5BC6\u78BC URL:"}
};
/**
* Returns the contents of this <code>ResourceBundle</code>.
*
* <p>
*
* @return the contents of this <code>ResourceBundle</code>.
*/
@Override
public Object[][] getContents() {
return contents;
}
}

@ -1,159 +0,0 @@
/*
* Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package sun.security.tools.policytool;
/**
* <p> This class represents the <code>ResourceBundle</code>
* for the policytool.
*
*/
public class Resources_zh_TW extends java.util.ListResourceBundle {
private static final Object[][] contents = {
{"NEWLINE", "\n"},
{"Warning.A.public.key.for.alias.signers.i.does.not.exist.Make.sure.a.KeyStore.is.properly.configured.",
"\u8B66\u544A: \u5225\u540D {0} \u7684\u516C\u958B\u91D1\u9470\u4E0D\u5B58\u5728\u3002\u8ACB\u78BA\u5B9A\u91D1\u9470\u5132\u5B58\u5EAB\u8A2D\u5B9A\u6B63\u78BA\u3002"},
{"Warning.Class.not.found.class", "\u8B66\u544A: \u627E\u4E0D\u5230\u985E\u5225 {0}"},
{"Warning.Invalid.argument.s.for.constructor.arg",
"\u8B66\u544A: \u7121\u6548\u7684\u5EFA\u69CB\u5B50\u5F15\u6578: {0}"},
{"Illegal.Principal.Type.type", "\u7121\u6548\u7684 Principal \u985E\u578B: {0}"},
{"Illegal.option.option", "\u7121\u6548\u7684\u9078\u9805: {0}"},
{"Usage.policytool.options.", "\u7528\u6CD5: policytool [options]"},
{".file.file.policy.file.location",
" [-file <file>] \u539F\u5247\u6A94\u6848\u4F4D\u7F6E"},
{"New", "\u65B0\u5EFA(&N)"},
{"Open", "\u958B\u555F(&O)..."},
{"Save", "\u5132\u5B58(&S)"},
{"Save.As", "\u53E6\u5B58\u65B0\u6A94(&A)..."},
{"View.Warning.Log", "\u6AA2\u8996\u8B66\u544A\u8A18\u9304(&W)"},
{"Exit", "\u7D50\u675F(&X)"},
{"Add.Policy.Entry", "\u65B0\u589E\u539F\u5247\u9805\u76EE(&A)"},
{"Edit.Policy.Entry", "\u7DE8\u8F2F\u539F\u5247\u9805\u76EE(&E)"},
{"Remove.Policy.Entry", "\u79FB\u9664\u539F\u5247\u9805\u76EE(&R)"},
{"Edit", "\u7DE8\u8F2F(&E)"},
{"Retain", "\u4FDD\u7559"},
{"Warning.File.name.may.include.escaped.backslash.characters.It.is.not.necessary.to.escape.backslash.characters.the.tool.escapes",
"\u8B66\u544A: \u6A94\u6848\u540D\u7A31\u5305\u542B\u9041\u96E2\u53CD\u659C\u7DDA\u5B57\u5143\u3002\u4E0D\u9700\u8981\u9041\u96E2\u53CD\u659C\u7DDA\u5B57\u5143 (\u64B0\u5BEB\u539F\u5247\u5167\u5BB9\u81F3\u6C38\u4E45\u5B58\u653E\u5340\u6642\u9700\u8981\u5DE5\u5177\u9041\u96E2\u5B57\u5143)\u3002\n\n\u6309\u4E00\u4E0B\u300C\u4FDD\u7559\u300D\u4EE5\u4FDD\u7559\u8F38\u5165\u7684\u540D\u7A31\uFF0C\u6216\u6309\u4E00\u4E0B\u300C\u7DE8\u8F2F\u300D\u4EE5\u7DE8\u8F2F\u540D\u7A31\u3002"},
{"Add.Public.Key.Alias", "\u65B0\u589E\u516C\u958B\u91D1\u9470\u5225\u540D"},
{"Remove.Public.Key.Alias", "\u79FB\u9664\u516C\u958B\u91D1\u9470\u5225\u540D"},
{"File", "\u6A94\u6848(&F)"},
{"KeyStore", "\u91D1\u9470\u5132\u5B58\u5EAB(&K)"},
{"Policy.File.", "\u539F\u5247\u6A94\u6848: "},
{"Could.not.open.policy.file.policyFile.e.toString.",
"\u7121\u6CD5\u958B\u555F\u539F\u5247\u6A94\u6848: {0}: {1}"},
{"Policy.Tool", "\u539F\u5247\u5DE5\u5177"},
{"Errors.have.occurred.while.opening.the.policy.configuration.View.the.Warning.Log.for.more.information.",
"\u958B\u555F\u539F\u5247\u7D44\u614B\u6642\u767C\u751F\u932F\u8AA4\u3002\u8ACB\u6AA2\u8996\u8B66\u544A\u8A18\u9304\u4EE5\u53D6\u5F97\u66F4\u591A\u7684\u8CC7\u8A0A"},
{"Error", "\u932F\u8AA4"},
{"OK", "\u78BA\u5B9A"},
{"Status", "\u72C0\u614B"},
{"Warning", "\u8B66\u544A"},
{"Permission.",
"\u6B0A\u9650: "},
{"Principal.Type.", "Principal \u985E\u578B: "},
{"Principal.Name.", "Principal \u540D\u7A31: "},
{"Target.Name.",
"\u76EE\u6A19\u540D\u7A31: "},
{"Actions.",
"\u52D5\u4F5C: "},
{"OK.to.overwrite.existing.file.filename.",
"\u78BA\u8A8D\u8986\u5BEB\u73FE\u5B58\u7684\u6A94\u6848 {0}\uFF1F"},
{"Cancel", "\u53D6\u6D88"},
{"CodeBase.", "CodeBase(&C):"},
{"SignedBy.", "SignedBy(&S):"},
{"Add.Principal", "\u65B0\u589E Principal(&A)"},
{"Edit.Principal", "\u7DE8\u8F2F Principal(&E)"},
{"Remove.Principal", "\u79FB\u9664 Principal(&R)"},
{"Principals.", "Principal(&P):"},
{".Add.Permission", " \u65B0\u589E\u6B0A\u9650(&D)"},
{".Edit.Permission", " \u7DE8\u8F2F\u6B0A\u9650(&I)"},
{"Remove.Permission", "\u79FB\u9664\u6B0A\u9650(&M)"},
{"Done", "\u5B8C\u6210"},
{"KeyStore.URL.", "\u91D1\u9470\u5132\u5B58\u5EAB URL(&U): "},
{"KeyStore.Type.", "\u91D1\u9470\u5132\u5B58\u5EAB\u985E\u578B(&T):"},
{"KeyStore.Provider.", "\u91D1\u9470\u5132\u5B58\u5EAB\u63D0\u4F9B\u8005(&P):"},
{"KeyStore.Password.URL.", "\u91D1\u9470\u5132\u5B58\u5EAB\u5BC6\u78BC URL(&W): "},
{"Principals", "Principal"},
{".Edit.Principal.", " \u7DE8\u8F2F Principal: "},
{".Add.New.Principal.", " \u65B0\u589E Principal: "},
{"Permissions", "\u6B0A\u9650"},
{".Edit.Permission.", " \u7DE8\u8F2F\u6B0A\u9650:"},
{".Add.New.Permission.", " \u65B0\u589E\u6B0A\u9650:"},
{"Signed.By.", "\u7C3D\u7F72\u4EBA: "},
{"Cannot.Specify.Principal.with.a.Wildcard.Class.without.a.Wildcard.Name",
"\u6C92\u6709\u842C\u7528\u5B57\u5143\u540D\u7A31\uFF0C\u7121\u6CD5\u6307\u5B9A\u542B\u6709\u842C\u7528\u5B57\u5143\u985E\u5225\u7684 Principal"},
{"Cannot.Specify.Principal.without.a.Name",
"\u6C92\u6709\u540D\u7A31\uFF0C\u7121\u6CD5\u6307\u5B9A Principal"},
{"Permission.and.Target.Name.must.have.a.value",
"\u6B0A\u9650\u53CA\u76EE\u6A19\u540D\u7A31\u5FC5\u9808\u6709\u4E00\u500B\u503C\u3002"},
{"Remove.this.Policy.Entry.", "\u79FB\u9664\u9019\u500B\u539F\u5247\u9805\u76EE\uFF1F"},
{"Overwrite.File", "\u8986\u5BEB\u6A94\u6848"},
{"Policy.successfully.written.to.filename",
"\u539F\u5247\u6210\u529F\u5BEB\u5165\u81F3 {0}"},
{"null.filename", "\u7A7A\u503C\u6A94\u540D"},
{"Save.changes.", "\u5132\u5B58\u8B8A\u66F4\uFF1F"},
{"Yes", "\u662F(&Y)"},
{"No", "\u5426(&N)"},
{"Policy.Entry", "\u539F\u5247\u9805\u76EE"},
{"Save.Changes", "\u5132\u5B58\u8B8A\u66F4"},
{"No.Policy.Entry.selected", "\u6C92\u6709\u9078\u53D6\u539F\u5247\u9805\u76EE"},
{"Unable.to.open.KeyStore.ex.toString.",
"\u7121\u6CD5\u958B\u555F\u91D1\u9470\u5132\u5B58\u5EAB: {0}"},
{"No.principal.selected", "\u672A\u9078\u53D6 Principal"},
{"No.permission.selected", "\u6C92\u6709\u9078\u53D6\u6B0A\u9650"},
{"name", "\u540D\u7A31"},
{"configuration.type", "\u7D44\u614B\u985E\u578B"},
{"environment.variable.name", "\u74B0\u5883\u8B8A\u6578\u540D\u7A31"},
{"library.name", "\u7A0B\u5F0F\u5EAB\u540D\u7A31"},
{"package.name", "\u5957\u88DD\u7A0B\u5F0F\u540D\u7A31"},
{"policy.type", "\u539F\u5247\u985E\u578B"},
{"property.name", "\u5C6C\u6027\u540D\u7A31"},
{"provider.name", "\u63D0\u4F9B\u8005\u540D\u7A31"},
{"url", "URL"},
{"method.list", "\u65B9\u6CD5\u6E05\u55AE"},
{"request.headers.list", "\u8981\u6C42\u6A19\u982D\u6E05\u55AE"},
{"Principal.List", "Principal \u6E05\u55AE"},
{"Permission.List", "\u6B0A\u9650\u6E05\u55AE"},
{"Code.Base", "\u4EE3\u78BC\u57FA\u6E96"},
{"KeyStore.U.R.L.", "\u91D1\u9470\u5132\u5B58\u5EAB URL:"},
{"KeyStore.Password.U.R.L.", "\u91D1\u9470\u5132\u5B58\u5EAB\u5BC6\u78BC URL:"}
};
/**
* Returns the contents of this <code>ResourceBundle</code>.
*
* <p>
*
* @return the contents of this <code>ResourceBundle</code>.
*/
@Override
public Object[][] getContents() {
return contents;
}
}

@ -1,177 +0,0 @@
'\" t
.\" Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
.\"
.\" This code is free software; you can redistribute it and/or modify it
.\" under the terms of the GNU General Public License version 2 only, as
.\" published by the Free Software Foundation.
.\"
.\" This code is distributed in the hope that it will be useful, but WITHOUT
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
.\" version 2 for more details (a copy is included in the LICENSE file that
.\" accompanied this code).
.\"
.\" You should have received a copy of the GNU General Public License version
.\" 2 along with this work; if not, write to the Free Software Foundation,
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
.\"
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
.\" or visit www.oracle.com if you need additional information or have any
.\" questions.
.\"
.\" Title: policytool
.\" Language: Japanese
.\" Date: 2015年3月3日
.\" SectDesc: セキュリティ・ツール
.\" Software: JDK 8
.\" Arch: 汎用
.\" Part Number: E58103-01
.\" Doc ID: JSSON
.\"
.if n .pl 99999
.TH "policytool" "1" "2015年3月3日" "JDK 8" "セキュリティ・ツール"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "名前"
policytool \- ユーティリティGUI経由で取得したユーザー入力に基づいて、プレーン・テキストのポリシー・ファイルを読み書きします。
.SH "概要"
.sp
.if n \{\
.RS 4
.\}
.nf
\fBpolicytool\fR [ \fB\-file\fR ] [ \fIfilename\fR ]
.fi
.if n \{\
.RE
.\}
.PP
\-file
.RS 4
ポリシー・ファイルを読み込むように\fBpolicytool\fRに指示します。
.RE
.PP
\fIfilename\fR
.RS 4
ロードするファイルの名前。
.RE
.PP
\fB\fR:
.PP
ポリシー・ツール管理ユーティリティを実行します:
.sp
.if n \{\
.RS 4
.\}
.nf
\fBpolicytool\fR
.fi
.if n \{\
.RE
.\}
.PP
\fBpolicytool\fRコマンドを実行し、指定されたファイルをロードします:
.sp
.if n \{\
.RS 4
.\}
.nf
\fBpolicytool \-file \fR\fB\fImypolicyfile\fR\fR
.fi
.if n \{\
.RE
.\}
.SH "説明"
.PP
\fBpolicytool\fRコマンドは、管理者のGUIを呼び出します。これにより、システム管理者はローカル・ポリシー・ファイルの内容を管理できるようになります。ポリシー・ファイルは\fB\&.policy\fR拡張子を持つプレーンテキスト・ファイルで、ドメイン別にリモート・リクエスタを権限オブジェクトにマップします。詳細は、http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyFiles\&.htmlにある
「Default Policy Implementation and Policy File Syntax」を参照してください
.SH "オプション"
.PP
\-file
.RS 4
ポリシー・ファイルを読み込むように\fBpolicytool\fRに指示します。
.RE
.SH "関連項目"
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
「Default Policy Implementation and Policy File Syntax」
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyFiles\&.html)
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
「Policy File Creation and Management」
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyGuide\&.html)
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
「Permissions in Java SE Development Kit (JDK)」
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/permissions\&.html)
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
「Java Security Overview」
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/overview/jsoverview\&.html)
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
「Java Cryptography Architecture (JCA) Reference Guide」
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec\&.html)
.RE
.br
'pl 8.5i
'bp

@ -149,7 +149,7 @@ Keystore implementations are provider-based, which means the application interfa
.PP
Applications can choose different types of keystore implementations from different providers, with the \f3getInstance\fR factory method in the \f3KeyStore\fR class\&. A keystore type defines the storage and data format of the keystore information and the algorithms used to protect private keys in the keystore and the integrity of the keystore itself\&. Keystore implementations of different types are not compatible\&.
.PP
The \f3jarsigner\fR and \f3policytool\fR commands can read file-based keystores from any location that can be specified using a URL\&. In addition, these commands can read non-file-based keystores such as those provided by MSCAPI on Windows and PKCS11 on all platforms\&.
The \f3jarsigner\fR command can read file-based keystores from any location that can be specified using a URL\&. In addition, the command can read non-file-based keystores such as those provided by MSCAPI on Windows and PKCS11 on all platforms\&.
.PP
For the \f3jarsigner\fR and \f3keytool\fR commands, you can specify a keystore type at the command line with the \f3-storetype\fR option\&. For Policy Tool, you can specify a keystore type with the \fIEdit\fR command in the \fIKeyStore\fR menu\&.
.PP

@ -1231,7 +1231,7 @@ Keystore implementations are provider-based\&. More specifically, the applicatio
Applications can choose different types of keystore implementations from different providers, using the \f3getInstance\fR factory method supplied in the \f3KeyStore\fR class\&. A keystore type defines the storage and data format of the keystore information, and the algorithms used to protect private/secret keys in the keystore and the integrity of the keystore\&. Keystore implementations of different types are not compatible\&.
The \f3keytool\fR command works on any file-based keystore implementation\&. It treats the keystore location that is passed to it at the command line as a file name and converts it to a \f3FileInputStream\fR, from which it loads the keystore information\&.)The \f3jarsigner\fR and \f3policytool\fR commands can read a keystore from any location that can be specified with a URL\&.
The \f3keytool\fR command works on any file-based keystore implementation\&. It treats the keystore location that is passed to it at the command line as a file name and converts it to a \f3FileInputStream\fR, from which it loads the keystore information\&.)The \f3jarsigner\fR command can read a keystore from any location that can be specified with a URL\&.
For \f3keytool\fR and \f3jarsigner\fR, you can specify a keystore type at the command line, with the \f3-storetype\fR option\&. For Policy Tool, you can specify a keystore type with the \fIKeystore\fR menu\&.

@ -1,114 +0,0 @@
'\" t
.\" Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
.\"
.\" This code is free software; you can redistribute it and/or modify it
.\" under the terms of the GNU General Public License version 2 only, as
.\" published by the Free Software Foundation.
.\"
.\" This code is distributed in the hope that it will be useful, but WITHOUT
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
.\" version 2 for more details (a copy is included in the LICENSE file that
.\" accompanied this code).
.\"
.\" You should have received a copy of the GNU General Public License version
.\" 2 along with this work; if not, write to the Free Software Foundation,
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
.\"
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
.\" or visit www.oracle.com if you need additional information or have any
.\" questions.
.\"
.\" Arch: generic
.\" Software: JDK 8
.\" Date: 03 March 2015
.\" SectDesc: Security Tools
.\" Title: policytool.1
.\"
.if n .pl 99999
.TH policytool 1 "03 March 2015" "JDK 8" "Security Tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH NAME
policytool \- Reads and writes a plain text policy file based on user input through the utility GUI\&.
.SH SYNOPSIS
.sp
.nf
\fBpolicytool\fR [ \fB\-file\fR ] [ \fIfilename\fR ]
.fi
.sp
.TP
-file
.br
Directs the \f3policytool\fR command to load a policy file\&.
.TP
\fIfilename\fR
The name of the file to be loaded\&.
.PP
\fIExamples\fR:
.PP
Run the policy tool administrator utility:
.sp
.nf
\f3policytool\fP
.fi
.nf
\f3\fP
.fi
.sp
Run the \f3policytool\fR command and load the specified file:
.sp
.nf
\f3policytool \-file \fImypolicyfile\fR\fP
.fi
.nf
\f3\fP
.fi
.sp
.SH DESCRIPTION
The \f3policytool\fR 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 \f3\&.policy\fR 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
.SH OPTIONS
.TP
-file
.br
Directs the \f3policytool\fR command to load a policy file\&.
.SH SEE\ ALSO
.TP 0.2i
\(bu
Default Policy Implementation and Policy File Syntax at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyFiles\&.html
.TP 0.2i
\(bu
Policy File Creation and Management at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyGuide\&.html
.TP 0.2i
\(bu
Permissions in Java SE Development Kit (JDK) at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/permissions\&.html
.TP 0.2i
\(bu
Java Security Overview at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/overview/jsoverview\&.html
.TP 0.2i
\(bu
Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec\&.html
.RE
.br
'pl 8.5i
'bp

@ -100,9 +100,6 @@ When necessary, a security policy can be specified with the following option:
.SH SEE\ ALSO
.TP 0.2i
\(bu
policytool(1)
.TP 0.2i
\(bu
The \f3java\&.io\&.ObjectStream\fR class description at http://docs\&.oracle\&.com/javase/8/docs/api/java/io/ObjectStreamClass\&.html
.RE
.br

@ -1,177 +0,0 @@
'\" t
.\" Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
.\"
.\" This code is free software; you can redistribute it and/or modify it
.\" under the terms of the GNU General Public License version 2 only, as
.\" published by the Free Software Foundation.
.\"
.\" This code is distributed in the hope that it will be useful, but WITHOUT
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
.\" version 2 for more details (a copy is included in the LICENSE file that
.\" accompanied this code).
.\"
.\" You should have received a copy of the GNU General Public License version
.\" 2 along with this work; if not, write to the Free Software Foundation,
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
.\"
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
.\" or visit www.oracle.com if you need additional information or have any
.\" questions.
.\"
.\" Title: policytool
.\" Language: Japanese
.\" Date: 2015年3月3日
.\" SectDesc: セキュリティ・ツール
.\" Software: JDK 8
.\" Arch: 汎用
.\" Part Number: E58103-01
.\" Doc ID: JSSON
.\"
.if n .pl 99999
.TH "policytool" "1" "2015年3月3日" "JDK 8" "セキュリティ・ツール"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "名前"
policytool \- ユーティリティGUI経由で取得したユーザー入力に基づいて、プレーン・テキストのポリシー・ファイルを読み書きします。
.SH "概要"
.sp
.if n \{\
.RS 4
.\}
.nf
\fBpolicytool\fR [ \fB\-file\fR ] [ \fIfilename\fR ]
.fi
.if n \{\
.RE
.\}
.PP
\-file
.RS 4
ポリシー・ファイルを読み込むように\fBpolicytool\fRに指示します。
.RE
.PP
\fIfilename\fR
.RS 4
ロードするファイルの名前。
.RE
.PP
\fB\fR:
.PP
ポリシー・ツール管理ユーティリティを実行します:
.sp
.if n \{\
.RS 4
.\}
.nf
\fBpolicytool\fR
.fi
.if n \{\
.RE
.\}
.PP
\fBpolicytool\fRコマンドを実行し、指定されたファイルをロードします:
.sp
.if n \{\
.RS 4
.\}
.nf
\fBpolicytool \-file \fR\fB\fImypolicyfile\fR\fR
.fi
.if n \{\
.RE
.\}
.SH "説明"
.PP
\fBpolicytool\fRコマンドは、管理者のGUIを呼び出します。これにより、システム管理者はローカル・ポリシー・ファイルの内容を管理できるようになります。ポリシー・ファイルは\fB\&.policy\fR拡張子を持つプレーンテキスト・ファイルで、ドメイン別にリモート・リクエスタを権限オブジェクトにマップします。詳細は、http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyFiles\&.htmlにある
「Default Policy Implementation and Policy File Syntax」を参照してください
.SH "オプション"
.PP
\-file
.RS 4
ポリシー・ファイルを読み込むように\fBpolicytool\fRに指示します。
.RE
.SH "関連項目"
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
「Default Policy Implementation and Policy File Syntax」
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyFiles\&.html)
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
「Policy File Creation and Management」
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyGuide\&.html)
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
「Permissions in Java SE Development Kit (JDK)」
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/permissions\&.html)
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
「Java Security Overview」
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/overview/jsoverview\&.html)
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
「Java Cryptography Architecture (JCA) Reference Guide」
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec\&.html)
.RE
.br
'pl 8.5i
'bp

@ -149,7 +149,7 @@ Keystore implementations are provider-based, which means the application interfa
.PP
Applications can choose different types of keystore implementations from different providers, with the \f3getInstance\fR factory method in the \f3KeyStore\fR class\&. A keystore type defines the storage and data format of the keystore information and the algorithms used to protect private keys in the keystore and the integrity of the keystore itself\&. Keystore implementations of different types are not compatible\&.
.PP
The \f3jarsigner\fR and \f3policytool\fR commands can read file-based keystores from any location that can be specified using a URL\&. In addition, these commands can read non-file-based keystores such as those provided by MSCAPI on Windows and PKCS11 on all platforms\&.
The \f3jarsigner\fR command can read file-based keystores from any location that can be specified using a URL\&. In addition, the command can read non-file-based keystores such as those provided by MSCAPI on Windows and PKCS11 on all platforms\&.
.PP
For the \f3jarsigner\fR and \f3keytool\fR commands, you can specify a keystore type at the command line with the \f3-storetype\fR option\&. For Policy Tool, you can specify a keystore type with the \fIEdit\fR command in the \fIKeyStore\fR menu\&.
.PP

@ -1231,7 +1231,7 @@ Keystore implementations are provider-based\&. More specifically, the applicatio
Applications can choose different types of keystore implementations from different providers, using the \f3getInstance\fR factory method supplied in the \f3KeyStore\fR class\&. A keystore type defines the storage and data format of the keystore information, and the algorithms used to protect private/secret keys in the keystore and the integrity of the keystore\&. Keystore implementations of different types are not compatible\&.
The \f3keytool\fR command works on any file-based keystore implementation\&. It treats the keystore location that is passed to it at the command line as a file name and converts it to a \f3FileInputStream\fR, from which it loads the keystore information\&.)The \f3jarsigner\fR and \f3policytool\fR commands can read a keystore from any location that can be specified with a URL\&.
The \f3keytool\fR command works on any file-based keystore implementation\&. It treats the keystore location that is passed to it at the command line as a file name and converts it to a \f3FileInputStream\fR, from which it loads the keystore information\&.)The \f3jarsigner\fR command can read a keystore from any location that can be specified with a URL\&.
For \f3keytool\fR and \f3jarsigner\fR, you can specify a keystore type at the command line, with the \f3-storetype\fR option\&. For Policy Tool, you can specify a keystore type with the \fIKeystore\fR menu\&.

@ -1,114 +0,0 @@
'\" t
.\" Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
.\"
.\" This code is free software; you can redistribute it and/or modify it
.\" under the terms of the GNU General Public License version 2 only, as
.\" published by the Free Software Foundation.
.\"
.\" This code is distributed in the hope that it will be useful, but WITHOUT
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
.\" version 2 for more details (a copy is included in the LICENSE file that
.\" accompanied this code).
.\"
.\" You should have received a copy of the GNU General Public License version
.\" 2 along with this work; if not, write to the Free Software Foundation,
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
.\"
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
.\" or visit www.oracle.com if you need additional information or have any
.\" questions.
.\"
.\" Arch: generic
.\" Software: JDK 8
.\" Date: 03 March 2015
.\" SectDesc: Security Tools
.\" Title: policytool.1
.\"
.if n .pl 99999
.TH policytool 1 "03 March 2015" "JDK 8" "Security Tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH NAME
policytool \- Reads and writes a plain text policy file based on user input through the utility GUI\&.
.SH SYNOPSIS
.sp
.nf
\fBpolicytool\fR [ \fB\-file\fR ] [ \fIfilename\fR ]
.fi
.sp
.TP
-file
.br
Directs the \f3policytool\fR command to load a policy file\&.
.TP
\fIfilename\fR
The name of the file to be loaded\&.
.PP
\fIExamples\fR:
.PP
Run the policy tool administrator utility:
.sp
.nf
\f3policytool\fP
.fi
.nf
\f3\fP
.fi
.sp
Run the \f3policytool\fR command and load the specified file:
.sp
.nf
\f3policytool \-file \fImypolicyfile\fR\fP
.fi
.nf
\f3\fP
.fi
.sp
.SH DESCRIPTION
The \f3policytool\fR 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 \f3\&.policy\fR 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
.SH OPTIONS
.TP
-file
.br
Directs the \f3policytool\fR command to load a policy file\&.
.SH SEE\ ALSO
.TP 0.2i
\(bu
Default Policy Implementation and Policy File Syntax at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyFiles\&.html
.TP 0.2i
\(bu
Policy File Creation and Management at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyGuide\&.html
.TP 0.2i
\(bu
Permissions in Java SE Development Kit (JDK) at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/permissions\&.html
.TP 0.2i
\(bu
Java Security Overview at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/overview/jsoverview\&.html
.TP 0.2i
\(bu
Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec\&.html
.RE
.br
'pl 8.5i
'bp

@ -100,9 +100,6 @@ When necessary, a security policy can be specified with the following option:
.SH SEE\ ALSO
.TP 0.2i
\(bu
policytool(1)
.TP 0.2i
\(bu
The \f3java\&.io\&.ObjectStream\fR class description at http://docs\&.oracle\&.com/javase/8/docs/api/java/io/ObjectStreamClass\&.html
.RE
.br

@ -468,7 +468,6 @@ needs_jdk = \
com/sun/tools \
jdk/security/jarsigner \
sun/security/tools/jarsigner \
sun/security/tools/policytool \
sun/rmi/rmic \
sun/tools \
sun/jvmstat \
@ -785,8 +784,7 @@ compact1_minimal = \
-:needs_jdk
needs_headful = \
java/util/TimeZone/DefaultTimeZoneTest.java \
sun/security/tools/policytool
java/util/TimeZone/DefaultTimeZoneTest.java
needs_locales = \
-:needs_locales_and_charsets \

@ -1,34 +0,0 @@
<html>
<body>
<applet width=100 height=100 code=Alias.class>
</applet>
This is a multi-stage test. Click on "done" when you have completed
reading these instructions.<br><br>
<ol>
<li> PolicyTool will be invoked
<li> Click on "Add Policy Entry"
<li> Click on "Add Principal"
<li> Type "myalias" in the "Principal Name" field
(leave "Principal Type" empty)
<li> Click on "OK"
<li> Confirm there is a message:
'myalias' will be interpreted as a key store alias. ...
Click on "OK"
<li> Click on "Done"
<li> Open the "File" menu, and "View Warning Log"
<li> Confirm there is a warning:
Warning: Principal name 'myalias' specified without a Principal class.
<li> Click on "OK"
<li> Open the "File" menu, and "Save As"
<li> Save using the file name "p1"
<li> Click on "OK" in the status message window
<li> Open the "File" menu and "Open Policy"
<li> Open the file named "p1"
<li> If the file opens successfully, the test passed.
Otherwise, the test failed.
</ol>
</body>
</html>

@ -1,28 +0,0 @@
/*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
// This trivial file is only necessary to display instructions and "pass/fail"
// buttons for a manual test.
public class Alias extends java.applet.Applet
{
}

@ -1,78 +0,0 @@
#
# Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# @test
# @bug 4449491
# @summary policytool should allow principal type to be empty
# (keystore alias substitution)
#
# @run applet/manual=done Alias.html
# @run shell Alias.sh
# @run applet/manual=yesno Alias.html
# set a few environment variables so that the shell-script can run stand-alone
# in the source directory
if [ "${TESTSRC}" = "" ] ; then
TESTSRC="."
fi
if [ "${TESTCLASSES}" = "" ] ; then
TESTCLASSES="."
fi
if [ "${TESTJAVA}" = "" ] ; then
echo "TESTJAVA not set. Test cannot execute."
echo "FAILED!!!"
exit 1
fi
# set platform-dependent variables
OS=`uname -s`
case "$OS" in
SunOS | Linux | Darwin | AIX )
NULL=/dev/null
PS=":"
FS="/"
;;
CYGWIN* )
NULL=/dev/null
PS=";"
FS="/"
;;
Windows* )
NULL=NUL
PS=";"
FS="\\"
;;
* )
echo "Unrecognized system!"
exit 1;
;;
esac
# the test code
echo "HELLO!"
${TESTJAVA}${FS}bin${FS}policytool
exit $?

@ -1,85 +0,0 @@
<html>
<body>
<applet width=100 height=100 code=ChangeUI.class>
</applet>
<b>ATTENTION:</b> policytool now contains no platform-specific codes anymore and
should behaves exactly the same across all platforms. This also means:
<ol>
<li>You may only need to test it on one platform</li>
<li>You can create policy files for a platform which is different than
the platform you are running policytool on</li>
</ol>
This is a multi-stage test. Click on "done" when you have completed
reading these instructions.<br><br>
First, policytool will be invoked.<br><br>
<ol start="0">
<li>Find (or create) a temporary directory that you have write access to.
(Example: 'C:\foo\tmp' on Windows or '/tmp' on other systems)
<li>Add new policy entry
<li>Add permission:
<pre>
Type Target name Actions
FilePermission c:\\foo\\bar read
</pre>
<ol>
<li>Press OK</li>
<li>Confirm the file name warning dialog appears</li>
<li>Choose Retain, confirm the permission edit dialog is closed</li>
<li>Double click the newly created FilePermission entry to edit it</li>
<li>Press OK</li>
<li>Confirm the file name warning dialog appears</li>
<li>Choose Edit, confirm the permission edit dialog is still opened</li>
<li>change Target name to c:\foo\bar</li>
<li>Press OK, no warning dialog is shown</li>
</ol>
<li>Add permission:
<pre>
Type Target name
DelegationPermission "me@SOMEWHERE" "you@SOMEWHERE"
</pre>
<ol>
<li>Press OK</li>
<li>Double click the newly craeted DelegationPermission entry to edit it</li>
<li>Confirm the target name is still "me@SOMEWHERE" "you@SOMEWHERE"</li>
<li>Press OK</li>
</ol>
<li>Confirm there are 2 entries in the permission list
<li>Press Done
<li>Double click the new policy entry to edit it
<li>Add permission:
<pre>
Type
AllPermission
</pre>
<li>Add a new Principal, say, KerberosPrincipal with Principal Name as aaa
<li>Confirm there is 1 entry in the Principals list
<li>Confirm there are 3 entries in the permission list
<li>Press cancel
<li>Double click the policy entry to edit it
<li>Confirm there are ZERO entries in the Principals list
<li>Confirm there are 2 entries in the permission list
<li>Press cancel
<li>Save as "/tmp/p"<br>
(Or use the temporary directory mentioned in Step 0 if it's not '/tmp'.
For example, "C:\foo\tmp\p" on Windows)
<li>Confirm that the file created in the previous step looks like
<pre>
/* AUTOMATICALLY GENERATED ON Tue Jul 19 16:27:30 CST 2005*/
/* DO NOT EDIT */
grant {
permission java.io.FilePermission "c:\\foo\\bar", "read";
permission javax.security.auth.kerberos.DelegationPermission "\"me@SOMEWHERE\" \"you@SOMEWHERE\"";
};
</pre>
</ol>
<br><br>
Press "Pass" if ... press "Fail" otherwise.<br><br>
</body>
</html>

@ -1,28 +0,0 @@
/*
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
// This trivial file is only necessary to display instructions and "pass/fail"
// buttons for a manual test.
public class ChangeUI extends java.applet.Applet
{
}

@ -1,77 +0,0 @@
#
# Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# @test
# @bug 6296772 6293981 6290216 8015276
# @summary FilePermission and DelegationPermission, and cancel button
#
# @run applet/manual=done ChangeUI.html
# @run shell ChangeUI.sh
# @run applet/manual=yesno ChangeUI.html
# set a few environment variables so that the shell-script can run stand-alone
# in the source directory
if [ "${TESTSRC}" = "" ] ; then
TESTSRC="."
fi
if [ "${TESTCLASSES}" = "" ] ; then
TESTCLASSES="."
fi
if [ "${TESTJAVA}" = "" ] ; then
echo "TESTJAVA not set. Test cannot execute."
echo "FAILED!!!"
exit 1
fi
# set platform-dependent variables
OS=`uname -s`
case "$OS" in
SunOS | Linux | Darwin | AIX )
NULL=/dev/null
PS=":"
FS="/"
;;
CYGWIN* )
NULL=/dev/null
PS=";"
FS="/"
;;
Windows* )
NULL=NUL
PS=";"
FS="\\"
;;
* )
echo "Unrecognized system!"
exit 1;
;;
esac
# the test code
echo "HELLO!"
${TESTJAVA}${FS}bin${FS}policytool
exit $?

@ -1,26 +0,0 @@
<html>
<body>
<applet width=100 height=100 code=OpenPolicy.class>
</applet>
This is a multi-stage test. Click on "done" when you have completed
reading these instructions.<br><br>
First, policytool will be invoked.<br><br>
Pull down 'File' menu and select 'View Warning Log', which shows that
the default Policy File is not found. On Windows, if the file name
has the File separator character pointing the wrong way, like:<br><br>
C:\windows/java.policy<br><br>
Then the bug fix failed.
Otherwise, the bug fix succeeded.
Exit policytool.<br><br>
Press "Pass" if ... press "Fail" otherwise.<br><br>
</body>
</html>

@ -1,28 +0,0 @@
/*
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
// This trivial file is only necessary to display instructions and "pass/fail"
// buttons for a manual test.
public class OpenPolicy extends java.applet.Applet
{
}

@ -1,77 +0,0 @@
#
# Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# @test
# @bug 4224186
# @summary missing File.separatorChar when initially opening policy file
#
# @run applet/manual=done OpenPolicy.html
# @run shell OpenPolicy.sh
# @run applet/manual=yesno OpenPolicy.html
# set a few environment variables so that the shell-script can run stand-alone
# in the source directory
if [ "${TESTSRC}" = "" ] ; then
TESTSRC="."
fi
if [ "${TESTCLASSES}" = "" ] ; then
TESTCLASSES="."
fi
if [ "${TESTJAVA}" = "" ] ; then
echo "TESTJAVA not set. Test cannot execute."
echo "FAILED!!!"
exit 1
fi
# set platform-dependent variables
OS=`uname -s`
case "$OS" in
SunOS | Linux | Darwin | AIX )
NULL=/dev/null
PS=":"
FS="/"
;;
CYGWIN* )
NULL=/dev/null
PS=";"
FS="/"
;;
Windows* )
NULL=NUL
PS=";"
FS="\\"
;;
* )
echo "Unrecognized system!"
exit 1;
;;
esac
# the test code
echo "HELLO!"
${TESTJAVA}${FS}bin${FS}policytool
exit $?

@ -1,26 +0,0 @@
<html>
<body>
<applet width=100 height=100 code=SaveAs.class>
</applet>
This is a multi-stage test. Click on "done" when you have completed
reading these instructions.<br><br>
First, policytool will be invoked.<br><br>
Then, go to the "File" menu, and select, "New".<br>
Next, go back to the "File" menu, and select, "Save".<br>
If you get the "Save As" File window, where you can enter<br>
a new filename, then the bug fix succeeded.<br>
If you get a FileNotFoundException, then the bug fix failed.<br><br>
If you are at the "Save As" File window, click on "Cancel"
and exit policytool.<br>
Otherwise, if you see an Exception window, click on "OK"
and exit policytool.<br><br>
Press "Pass" if ... press "Fail" otherwise.<br><br>
</body>
</html>

@ -1,28 +0,0 @@
/*
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
// This trivial file is only necessary to display instructions and "pass/fail"
// buttons for a manual test.
public class SaveAs extends java.applet.Applet
{
}

@ -1,78 +0,0 @@
#
# Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# @test
# @bug 4252583
# @summary policytool throws FileNotFoundException when user tries to
# save new policy file
#
# @run applet/manual=done SaveAs.html
# @run shell SaveAs.sh
# @run applet/manual=yesno SaveAs.html
# set a few environment variables so that the shell-script can run stand-alone
# in the source directory
if [ "${TESTSRC}" = "" ] ; then
TESTSRC="."
fi
if [ "${TESTCLASSES}" = "" ] ; then
TESTCLASSES="."
fi
if [ "${TESTJAVA}" = "" ] ; then
echo "TESTJAVA not set. Test cannot execute."
echo "FAILED!!!"
exit 1
fi
# set platform-dependent variables
OS=`uname -s`
case "$OS" in
SunOS | Linux | Darwin | AIX )
NULL=/dev/null
PS=":"
FS="/"
;;
CYGWIN* )
NULL=/dev/null
PS=";"
FS="/"
;;
Windows* )
NULL=NUL
PS=";"
FS="\\"
;;
* )
echo "Unrecognized system!"
exit 1;
;;
esac
# the test code
echo "HELLO!"
${TESTJAVA}${FS}bin${FS}policytool
exit $?

@ -1,60 +0,0 @@
<html>
<body>
<applet width=100 height=100 code=UpdatePermissions.class>
</applet>
This is a multi-stage test. Click on "done" when you have completed
reading these instructions.<br><br>
First, policytool will be invoked.<br><br>
Then, follow these steps:<br>
0) Find (or create) a temporary directory that you have write access to.
(Example: 'C:\foo\tmp' on Windows or '/tmp' on other systems)<br><br>
1) Click on the "Add Policy Entry" button in the
main policytool window.<br><br>
2) Click on the "Add Permission" button in the Policy Entry window.<br><br>
3) In the Permission window, pull down the "Permission" menu and
select "AWTPermission".<br><br>
4) In the Permission window, pull down the "Target Name" menu and
select "listenToAllAWTEvents".<br><br>
5) Click on the "OK" button in the Permission window.<br><br>
6) Click on the "Done" button in the Policy Entry window.<br><br>
7) In the main policytool window, pull down the "File" menu and
select "Save As".<br><br>
8) In the SaveAs window, enter "/tmp/ptool.test" as the file name
and save it. If the file already exists, just replace it.<br>
(Or use the temporary directory mentioned in Step 0 if it's not '/tmp'.
For example, "C:\foo\tmp\ptool.test" on Windows)<br><br>
9) Check the content of the file created in the previous step<br><br>
10) check to make sure that the new entry is in the policy file.<br><br>
11) repeat steps 1-10 for:<br>
AWTPermission: readDisplayPixels<br>
NetPermission: specifyStreamHandler<br>
RuntimePermission: setContextClassLoader,
setSecurityManager,
shutdownHooks,
stopThread<br>
SecurityPermission: createAccessControlContext<br><br>
In the confirmation dialog pop-up, click "OK".<br><br>
Exit policytool. Delete the files created during this test. If the
temporary directory is also newly created, empty and delete it.<br><br>
Press "Pass" if ... press "Fail" otherwise.<br><br>
</body>
</html>

@ -1,28 +0,0 @@
/*
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
// This trivial file is only necessary to display instructions and "pass/fail"
// buttons for a manual test.
public class UpdatePermissions extends java.applet.Applet
{
}

@ -1,78 +0,0 @@
#
# Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# @test
# @bug 4218206
# @bug 8015276
# @summary missing or invalid permission target names in policy tool
#
# @run applet/manual=done UpdatePermissions.html
# @run shell UpdatePermissions.sh
# @run applet/manual=yesno UpdatePermissions.html
# set a few environment variables so that the shell-script can run stand-alone
# in the source directory
if [ "${TESTSRC}" = "" ] ; then
TESTSRC="."
fi
if [ "${TESTCLASSES}" = "" ] ; then
TESTCLASSES="."
fi
if [ "${TESTJAVA}" = "" ] ; then
echo "TESTJAVA not set. Test cannot execute."
echo "FAILED!!!"
exit 1
fi
# set platform-dependent variables
OS=`uname -s`
case "$OS" in
SunOS | Linux | Darwin | AIX )
NULL=/dev/null
PS=":"
FS="/"
;;
CYGWIN* )
NULL=/dev/null
PS=";"
FS="/"
;;
Windows* )
NULL=NUL
PS=";"
FS="\\"
;;
* )
echo "Unrecognized system!"
exit 1;
;;
esac
# the test code
echo "HELLO!"
${TESTJAVA}${FS}bin${FS}policytool
exit $?

@ -1,26 +0,0 @@
<html>
<body>
<applet width=100 height=100 code=UsePolicy.class>
</applet>
This is a multi-stage test. Click on "done" when you have completed
reading these instructions.<br><br>
First, policytool will be invoked.<br><br>
Then, click on the "Add Policy Entry" button.<br>
Next, click on the "Add Permission" button.<br>
Pull down the "Permission" menu and select "RuntimePermission".<br>
Pull down the "Target Name" menu.<br>
If you see "usePolicy" as a choice, then the bug fix succeeded.<br>
otherwise, the bug fix failed.<br>
<br>
Click on the "Cancel" button on the "Add Permission" window.<br>
Click on the "Cancel" button on the "Add Policy Entry" window.<br>
Exit policytool.<br><br>
Press "Pass" if ... press "Fail" otherwise.<br><br>
</body>
</html>

@ -1,28 +0,0 @@
/*
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
// This trivial file is only necessary to display instructions and "pass/fail"
// buttons for a manual test.
public class UsePolicy extends java.applet.Applet
{
}

@ -1,77 +0,0 @@
#
# Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# @test
# @bug 4273771
# @summary Need to add "usePolicy" RuntimePermission to policytool
#
# @run applet/manual=done UsePolicy.html
# @run shell UsePolicy.sh
# @run applet/manual=yesno UsePolicy.html
# set a few environment variables so that the shell-script can run stand-alone
# in the source directory
if [ "${TESTSRC}" = "" ] ; then
TESTSRC="."
fi
if [ "${TESTCLASSES}" = "" ] ; then
TESTCLASSES="."
fi
if [ "${TESTJAVA}" = "" ] ; then
echo "TESTJAVA not set. Test cannot execute."
echo "FAILED!!!"
exit 1
fi
# set platform-dependent variables
OS=`uname -s`
case "$OS" in
SunOS | Linux | Darwin | AIX )
NULL=/dev/null
PS=":"
FS="/"
;;
CYGWIN* )
NULL=/dev/null
PS=";"
FS="/"
;;
Windows* )
NULL=NUL
PS=";"
FS="\\"
;;
* )
echo "Unrecognized system!"
exit 1;
;;
esac
# the test code
echo "HELLO!"
${TESTJAVA}${FS}bin${FS}policytool
exit $?

@ -1,135 +0,0 @@
<html>
<body>
<applet width=100 height=100 code=i18n.class>
</applet>
This is a multi-stage test. Click on "done" when you have completed
reading these instructions.<br>
<p>
First, policytool will be invoked. During the entire test,
make sure that all the buttons, menu options, error messages,
and output messages are comprehensible
(you can read all the english text fine).
If at any time an exception is thrown, or if any message
is incomprehensible, then the test failed. Otherwise,
the test passed.
<p>
<b>Preparation</b>: Find (or create) a temporary directory that you have write
access to (Example: 'C:\tmp' on Windows or '/tmp' on other systems) and copy
the files "ks", "good", "bad" from the scratch sub-directory of this test's
working directory (the -w argument of jtreg) into the temporary directory.
If 'policy1' or 'policy2' already exists in this directory, remove it.
<p>
Press "Pass" if ... press "Fail" otherwise.
<p>
<ol>
<li> Pull down the 'File' and 'KeyStore' menus and check values
<li> Pull down 'File' menu and select 'View Warning Log'. Confirm FileNotFound.
<li> Pull down 'File' menu and select 'New'.
<li> Pull down 'File' menu and select 'View Warning Log'. Confirm empty.
<li> Click on 'Add Policy Entry' and check pop-up window
<li> Click on 'Edit Permission' and 'Remove Permission' and check error messages
<li> Click on 'Add Permission' and check pop-up window
<li> Pull down 'Permission' menu and check values
<li> Select 'AWTPermission', pull down 'Target Name' and check values
<li> Select 'FilePermission', pull down 'Target Name' and 'Actions' and check values.
<li> Select 'NetPermission', pull down 'Target Name' and check values
<li> Select 'PropertyPermission', pull down 'Actions' and check values
<li> Select 'ReflectPermission', pull down 'Target Name' and check values
<li> Select 'RuntimePermission', pull down 'Target Name' and check values
<li> Select 'SecurityPermission', pull down 'Target Name' and check values
<li> Select 'SerializablePermission', pull down 'Target Name' and check values
<li> Select 'SocketPermission', pull down 'Actions' and check values
<li> Type "www.example.com" for SocketPermission 'TargetName',
and "connect" for 'Actions'
<li> Click OK
<li> Check new entry
<li> Click once on new entry
<li> Click on 'Edit Permission' and confirm values
<li> Select AudioPermission. Confirm 'Target Name' and 'Actions' cleared.
<li> Select "play" from Target menu.
<li> Click OK, confirm changed permission.
<li> Type "hello" for 'CodeBase', click on 'Done', and check error message
<li> Clean up the 'CodeBase' textbox
<li> Type "hello" for 'SignedBy', click on 'Done', and check warning message
<li> Click on 'Edit Policy Entry' and 'Remove Policy Entry'
and check error messages
<li> Select policy entry, click on 'Edit Policy Entry', check pop-up window and close it
<li> Select policy entry, click on 'Remove Policy Entry',
and check pop-up window
<li> Do not remove the entry, click 'Cancel'.
<li> Pull down 'File' menu and select 'Exit'. Confirm Save option.
Click 'Cancel'.
<li> Select 'File' menu value 'Save' and save into file "policy1" in the
temporary directory. Check status message.<br>
<li> Select 'File' menu value 'New'
<li> Click 'Add Policy Entry', type in "hello" for 'SignedBy' field,
click 'Done'. Confirm warning.
<li> Select 'File' menu value 'Open' and confirm save option
(Click 'Cancel', do not save changes)
<li> Pull down 'File' menu, select 'View Warning Log'
and confirm KeyStore alias warning
<li> Pull down 'KeyStore' menu and select 'Edit'
<li> Enter 'foo' as KeyStore URL, click 'OK', and check error
<li> Enter KeyStore URL "file:/tmp/ks" (Or use the temporary directory mentioned
in the preparation if it's not '/tmp'. For example, "file:/C:/tmp/ks" on Windows)
but leave other fields empty. Click 'OK'. Should succeed.
<li> Pull down 'KeyStore' menu and select 'Edit'
<li> Confirm URL and Type values. The Type should be "jks"
<li> Enter 'foo' as the provider, click 'OK' and check error message.
<li> Enter 'SUN' as the provider, click 'OK'. Should succeed.
<li> Pull down 'KeyStore' menu and select 'Edit'
<li> Confirm URL, Type, and Provider values.
<li> Enter 'foo' as the password URL, click 'OK' and check error message.
<li> Enter URL "file:/tmp/bad" (Or use the temporary directory mentioned in
the preparation if it's not '/tmp'. For example, "file:/C:/tmp/bad" on Windows),
click 'OK' and check error message.
<li> Enter URL "file:/tmp/good" (Or use the temporary directory mentioned in
the preparation if it's not '/tmp'. For example, "file:/C:/tmp/good" on Windows)
and click 'OK'. Should succeed.
<li> Pull down 'KeyStore' menu and select 'Edit'
<li> Confirm URL, Type, Provider, and Password URL values.
<li> Click OK
<li> Pull down 'File' menu and select 'Save As' and save into file "policy2"
in the temporary directory. Confirm status message.<br>
<li> Pull down 'File' menu and select 'New'.
<li> Pull down 'File' menu and select 'Open' and open "policy2" in the
temporary directory.<br>
<li> Click on 'Add Policy Entry', enter Codebase 'http://foo',
SignedBy 'bar'. Click on 'Done' and confirm alias warning.
<li> Double-Click on just created policy entry, confirm edit window appears.
<li> Change SignedBy to an 'hello'.
<li> Click on Done and confirm it worked with no warning.
<li> Double-Click on "SignedBy hello" policy entry and
confirm edit window appears.
<li> Click on Edit/Remove Principal, confirm errors.
<li> Click on 'Add Principal' and check new window.
<li> Click on 'OK' and confirm error message (no principal name)
<li> Enter 'hello' as principal name, click OK and
confirm status message.
<li> Confirm new principal in Principals list.
<li> Click on 'Done' (creating policy entry).
<li> View warning log and confirm X500Principal/KeyStore alias message.
<li> Confirm principal added to policy entry in main window listing.
<li> Double click on that entry.
<li> Enter codebase "file:/foobar".
<li> Click on 'Add Principal'. Select KerberosPrincipal. enter 'foo' as name.
Click OK.
<li> Confirm new principal in list.
<li> Double-click on new principal. Select X500Principal.
Confirm name cleared. Type 'foo' as name. Click OK. Confirm error.
type 'cn=foo' as name. Click OK. should succeed.
<li> Confirm changed principal in list.
<li> Click on 'Add Permission', and add a FilePermission, choose a target and
an action. Click OK.
<li> Click on 'Done' in Policy Entry window.
<li> Confirm entries in main window listing.
<li> Select 'File' menu value 'Exit'
<li> Save Changes, confirm status message.
<li> Delete all files created during this test. If the temporary directory
is also newly created, empty and delete it.</ol>
<p>
</body>
</html>

@ -1,28 +0,0 @@
/*
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
// This trivial file is only necessary to display instructions and "pass/fail"
// buttons for a manual test.
public class i18n extends java.applet.Applet
{
}

@ -1,94 +0,0 @@
#
# Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# @test
# @bug 4348370
# @bug 8015274
# @bug 8015276
# @bug 8016158
# @summary policytool not i18n compliant
#
# @run applet/manual=done i18n.html
# @run shell/timeout=1200 i18n.sh
# @run applet/manual=yesno i18n.html
# set a few environment variables so that the shell-script can run stand-alone
# in the source directory
if [ "${TESTSRC}" = "" ] ; then
TESTSRC="."
fi
if [ "${TESTCLASSES}" = "" ] ; then
TESTCLASSES="."
fi
if [ "${TESTJAVA}" = "" ] ; then
echo "TESTJAVA not set. Test cannot execute."
echo "FAILED!!!"
exit 1
fi
# set platform-dependent variables
OS=`uname -s`
case "$OS" in
SunOS | Linux | Darwin | AIX )
NULL=/dev/null
PS=":"
FS="/"
;;
CYGWIN* )
NULL=/dev/null
PS=";"
FS="/"
;;
Windows* )
NULL=NUL
PS=";"
FS="\\"
;;
* )
echo "Unrecognized system!"
exit 1;
;;
esac
# the test code
echo "HELLO!"
echo "Checking for $HOME/.java.policy"
# 8015274
if [ -f $HOME/.java.policy ]; then
echo "You have a .java.policy file in your HOME directory"
echo "The file must be removed before running this test"
exit 1
fi
# The keystore type is set to JKS, to match the type expected by i18n.html
${TESTJAVA}${FS}bin${FS}keytool ${TESTTOOLVMOPTS} -genkeypair -alias hello -dname CN=Hello \
-storepass changeit -keypass changeit -keystore ks -storetype jks
echo changeit > good
echo badpass > bad
${TESTJAVA}${FS}bin${FS}policytool ${TESTTOOLVMOPTS}
exit $?

@ -27,7 +27,6 @@
* @modules java.base/sun.security.util
* java.base/sun.security.tools.keytool
* jdk.jartool/sun.security.tools.jarsigner
* jdk.policytool/sun.security.tools.policytool
* @summary security/util/Resources.java needs improvement
*/
@ -46,7 +45,6 @@ public class NewNamesFormat {
checkRes("sun.security.util.AuthResources");
checkRes("sun.security.tools.jarsigner.Resources");
checkRes("sun.security.tools.keytool.Resources");
checkRes("sun.security.tools.policytool.Resources");
}
private static void checkRes(String resName) throws Exception {

@ -110,7 +110,6 @@ public class VersionCheck extends TestHelper {
"orbd",
"pack200",
"packager",
"policytool",
"rmic",
"rmid",
"rmiregistry",