blob: 8c57a60c80d835fdac5ddbe53844cdef61599aa0 [file] [log] [blame]
/*
* Copyright (c) 2000, 2010, 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.util;
/**
* <p> This class represents the <code>ResourceBundle</code>
* for javax.security.auth and sun.security.
*
*/
public class Resources extends java.util.ListResourceBundle {
private static final Object[][] contents = {
// shared (from jarsigner)
{" ", " "},
{" ", " "},
{" ", " "},
{", ", ", "},
// shared (from keytool)
{"\n", "\n"},
{"*******************************************",
"*******************************************"},
{"*******************************************\n\n",
"*******************************************\n\n"},
// keytool: Help part
{" [OPTION]...", " [OPTION]..."},
{"Options:", "Options:"},
{"Use \"keytool -help\" for all available commands",
"Use \"keytool -help\" for all available commands"},
{"Key and Certificate Management Tool",
"Key and Certificate Management Tool"},
{"Commands:", "Commands:"},
{"Use \"keytool -command_name -help\" for usage of command_name",
"Use \"keytool -command_name -help\" for usage of command_name"},
// keytool: help: commands
{"Generates a certificate request",
"Generates a certificate request"}, //-certreq
{"Changes an entry's alias",
"Changes an entry's alias"}, //-changealias
{"Deletes an entry",
"Deletes an entry"}, //-delete
{"Exports certificate",
"Exports certificate"}, //-exportcert
{"Generates a key pair",
"Generates a key pair"}, //-genkeypair
{"Generates a secret key",
"Generates a secret key"}, //-genseckey
{"Generates certificate from a certificate request",
"Generates certificate from a certificate request"}, //-gencert
{"Generates CRL", "Generates CRL"}, //-gencrl
{"Imports entries from a JDK 1.1.x-style identity database",
"Imports entries from a JDK 1.1.x-style identity database"}, //-identitydb
{"Imports a certificate or a certificate chain",
"Imports a certificate or a certificate chain"}, //-importcert
{"Imports one or all entries from another keystore",
"Imports one or all entries from another keystore"}, //-importkeystore
{"Clones a key entry",
"Clones a key entry"}, //-keyclone
{"Changes the key password of an entry",
"Changes the key password of an entry"}, //-keypasswd
{"Lists entries in a keystore",
"Lists entries in a keystore"}, //-list
{"Prints the content of a certificate",
"Prints the content of a certificate"}, //-printcert
{"Prints the content of a certificate request",
"Prints the content of a certificate request"}, //-printcertreq
{"Prints the content of a CRL file",
"Prints the content of a CRL file"}, //-printcrl
{"Generates a self-signed certificate",
"Generates a self-signed certificate"}, //-selfcert
{"Changes the store password of a keystore",
"Changes the store password of a keystore"}, //-storepasswd
// keytool: help: options
{"alias name of the entry to process",
"alias name of the entry to process"}, //-alias
{"destination alias",
"destination alias"}, //-destalias
{"destination key password",
"destination key password"}, //-destkeypass
{"destination keystore name",
"destination keystore name"}, //-destkeystore
{"destination keystore password protected",
"destination keystore password protected"}, //-destprotected
{"destination keystore provider name",
"destination keystore provider name"}, //-destprovidername
{"destination keystore password",
"destination keystore password"}, //-deststorepass
{"destination keystore type",
"destination keystore type"}, //-deststoretype
{"distinguished name",
"distinguished name"}, //-dname
{"X.509 extension",
"X.509 extension"}, //-ext
{"output file name",
"output file name"}, //-file
{"input file name",
"input file name"}, //-file
{"input file name",
"input file name"}, //-infile
{"key algorithm name",
"key algorithm name"}, //-keyalg
{"key password",
"key password"}, //-keypass
{"key bit size",
"key bit size"}, //-keysize
{"keystore name",
"keystore name"}, //-keystore
{"new password",
"new password"}, //-new
{"do not prompt",
"do not prompt"}, //-noprompt
{"output file name",
"output file name"}, //-outfile
{"password through protected mechanism",
"password through protected mechanism"}, //-protected
{"provider argument",
"provider argument"}, //-providerarg
{"provider class name",
"provider class name"}, //-providerclass
{"provider name",
"provider name"}, //-providername
{"provider classpath",
"provider classpath"}, //-providerpath
{"output in RFC style",
"output in RFC style"}, //-rfc
{"signature algorithm name",
"signature algorithm name"}, //-sigalg
{"source alias",
"source alias"}, //-srcalias
{"source keystore password",
"source keystore password"}, //-srckeypass
{"source keystore name",
"source keystore name"}, //-srckeystore
{"source keystore password protected",
"source keystore password protected"}, //-srcprotected
{"source keystore provider name",
"source keystore provider name"}, //-srcprovidername
{"source keystore password",
"source keystore password"}, //-srcstorepass
{"source keystore type",
"source keystore type"}, //-srcstoretype
{"SSL server host and port",
"SSL server host and port"}, //-sslserver
{"signed jar file",
"signed jar file"}, //=jarfile
{"certificate validity start date/time",
"certificate validity start date/time"}, //-startdate
{"keystore password",
"keystore password"}, //-storepass
{"keystore type",
"keystore type"}, //-storetype
{"trust certificates from cacerts",
"trust certificates from cacerts"}, //-trustcacerts
{"verbose output",
"verbose output"}, //-v
{"validity number of days",
"validity number of days"}, //-validity
{"Serial ID of cert to revoke",
"Serial ID of cert to revoke"}, //-id
// keytool: Running part
{"keytool error: ", "keytool error: "},
{"Illegal option: ", "Illegal option: "},
{"Illegal value: ", "Illegal value: "},
{"Unknown password type: ", "Unknown password type: "},
{"Cannot find environment variable: ",
"Cannot find environment variable: "},
{"Cannot find file: ", "Cannot find file: "},
{"Command option <flag> needs an argument.", "Command option {0} needs an argument."},
{"Warning: Different store and key passwords not supported for PKCS12 KeyStores. Ignoring user-specified <command> value.",
"Warning: Different store and key passwords not supported for PKCS12 KeyStores. Ignoring user-specified {0} value."},
{"-keystore must be NONE if -storetype is {0}",
"-keystore must be NONE if -storetype is {0}"},
{"Too many retries, program terminated",
"Too many retries, program terminated"},
{"-storepasswd and -keypasswd commands not supported if -storetype is {0}",
"-storepasswd and -keypasswd commands not supported if -storetype is {0}"},
{"-keypasswd commands not supported if -storetype is PKCS12",
"-keypasswd commands not supported if -storetype is PKCS12"},
{"-keypass and -new can not be specified if -storetype is {0}",
"-keypass and -new can not be specified if -storetype is {0}"},
{"if -protected is specified, then -storepass, -keypass, and -new must not be specified",
"if -protected is specified, then -storepass, -keypass, and -new must not be specified"},
{"if -srcprotected is specified, then -srcstorepass and -srckeypass must not be specified",
"if -srcprotected is specified, then -srcstorepass and -srckeypass must not be specified"},
{"if keystore is not password protected, then -storepass, -keypass, and -new must not be specified",
"if keystore is not password protected, then -storepass, -keypass, and -new must not be specified"},
{"if source keystore is not password protected, then -srcstorepass and -srckeypass must not be specified",
"if source keystore is not password protected, then -srcstorepass and -srckeypass must not be specified"},
{"Illegal startdate value", "Illegal startdate value"},
{"Validity must be greater than zero",
"Validity must be greater than zero"},
{"provName not a provider", "{0} not a provider"},
{"Usage error: no command provided", "Usage error: no command provided"},
{"Source keystore file exists, but is empty: ", "Source keystore file exists, but is empty: "},
{"Please specify -srckeystore", "Please specify -srckeystore"},
{"Must not specify both -v and -rfc with 'list' command",
"Must not specify both -v and -rfc with 'list' command"},
{"Key password must be at least 6 characters",
"Key password must be at least 6 characters"},
{"New password must be at least 6 characters",
"New password must be at least 6 characters"},
{"Keystore file exists, but is empty: ",
"Keystore file exists, but is empty: "},
{"Keystore file does not exist: ",
"Keystore file does not exist: "},
{"Must specify destination alias", "Must specify destination alias"},
{"Must specify alias", "Must specify alias"},
{"Keystore password must be at least 6 characters",
"Keystore password must be at least 6 characters"},
{"Enter keystore password: ", "Enter keystore password: "},
{"Enter source keystore password: ", "Enter source keystore password: "},
{"Enter destination keystore password: ", "Enter destination keystore password: "},
{"Keystore password is too short - must be at least 6 characters",
"Keystore password is too short - must be at least 6 characters"},
{"Unknown Entry Type", "Unknown Entry Type"},
{"Too many failures. Alias not changed", "Too many failures. Alias not changed"},
{"Entry for alias <alias> successfully imported.",
"Entry for alias {0} successfully imported."},
{"Entry for alias <alias> not imported.", "Entry for alias {0} not imported."},
{"Problem importing entry for alias <alias>: <exception>.\nEntry for alias <alias> not imported.",
"Problem importing entry for alias {0}: {1}.\nEntry for alias {0} not imported."},
{"Import command completed: <ok> entries successfully imported, <fail> entries failed or cancelled",
"Import command completed: {0} entries successfully imported, {1} entries failed or cancelled"},
{"Warning: Overwriting existing alias <alias> in destination keystore",
"Warning: Overwriting existing alias {0} in destination keystore"},
{"Existing entry alias <alias> exists, overwrite? [no]: ",
"Existing entry alias {0} exists, overwrite? [no]: "},
{"Too many failures - try later", "Too many failures - try later"},
{"Certification request stored in file <filename>",
"Certification request stored in file <{0}>"},
{"Submit this to your CA", "Submit this to your CA"},
{"if alias not specified, destalias, srckeypass, and destkeypass must not be specified",
"if alias not specified, destalias, srckeypass, and destkeypass must not be specified"},
{"Certificate stored in file <filename>",
"Certificate stored in file <{0}>"},
{"Certificate reply was installed in keystore",
"Certificate reply was installed in keystore"},
{"Certificate reply was not installed in keystore",
"Certificate reply was not installed in keystore"},
{"Certificate was added to keystore",
"Certificate was added to keystore"},
{"Certificate was not added to keystore",
"Certificate was not added to keystore"},
{"[Storing ksfname]", "[Storing {0}]"},
{"alias has no public key (certificate)",
"{0} has no public key (certificate)"},
{"Cannot derive signature algorithm",
"Cannot derive signature algorithm"},
{"Alias <alias> does not exist",
"Alias <{0}> does not exist"},
{"Alias <alias> has no certificate",
"Alias <{0}> has no certificate"},
{"Key pair not generated, alias <alias> already exists",
"Key pair not generated, alias <{0}> already exists"},
{"Cannot derive signature algorithm",
"Cannot derive signature algorithm"},
{"Generating keysize bit keyAlgName key pair and self-signed certificate (sigAlgName) with a validity of validality days\n\tfor: x500Name",
"Generating {0} bit {1} key pair and self-signed certificate ({2}) with a validity of {3} days\n\tfor: {4}"},
{"Enter key password for <alias>", "Enter key password for <{0}>"},
{"\t(RETURN if same as keystore password): ",
"\t(RETURN if same as keystore password): "},
{"Key password is too short - must be at least 6 characters",
"Key password is too short - must be at least 6 characters"},
{"Too many failures - key not added to keystore",
"Too many failures - key not added to keystore"},
{"Destination alias <dest> already exists",
"Destination alias <{0}> already exists"},
{"Password is too short - must be at least 6 characters",
"Password is too short - must be at least 6 characters"},
{"Too many failures. Key entry not cloned",
"Too many failures. Key entry not cloned"},
{"key password for <alias>", "key password for <{0}>"},
{"Keystore entry for <id.getName()> already exists",
"Keystore entry for <{0}> already exists"},
{"Creating keystore entry for <id.getName()> ...",
"Creating keystore entry for <{0}> ..."},
{"No entries from identity database added",
"No entries from identity database added"},
{"Alias name: alias", "Alias name: {0}"},
{"Creation date: keyStore.getCreationDate(alias)",
"Creation date: {0,date}"},
{"alias, keyStore.getCreationDate(alias), ",
"{0}, {1,date}, "},
{"alias, ", "{0}, "},
{"Entry type: <type>", "Entry type: {0}"},
{"Certificate chain length: ", "Certificate chain length: "},
{"Certificate[(i + 1)]:", "Certificate[{0,number,integer}]:"},
{"Certificate fingerprint (SHA1): ", "Certificate fingerprint (SHA1): "},
{"Entry type: trustedCertEntry\n", "Entry type: trustedCertEntry\n"},
{"trustedCertEntry,", "trustedCertEntry,"},
{"Keystore type: ", "Keystore type: "},
{"Keystore provider: ", "Keystore provider: "},
{"Your keystore contains keyStore.size() entry",
"Your keystore contains {0,number,integer} entry"},
{"Your keystore contains keyStore.size() entries",
"Your keystore contains {0,number,integer} entries"},
{"Failed to parse input", "Failed to parse input"},
{"Empty input", "Empty input"},
{"Not X.509 certificate", "Not X.509 certificate"},
{"Cannot derive signature algorithm",
"Cannot derive signature algorithm"},
{"alias has no public key", "{0} has no public key"},
{"alias has no X.509 certificate", "{0} has no X.509 certificate"},
{"New certificate (self-signed):", "New certificate (self-signed):"},
{"Reply has no certificates", "Reply has no certificates"},
{"Certificate not imported, alias <alias> already exists",
"Certificate not imported, alias <{0}> already exists"},
{"Input not an X.509 certificate", "Input not an X.509 certificate"},
{"Certificate already exists in keystore under alias <trustalias>",
"Certificate already exists in keystore under alias <{0}>"},
{"Do you still want to add it? [no]: ",
"Do you still want to add it? [no]: "},
{"Certificate already exists in system-wide CA keystore under alias <trustalias>",
"Certificate already exists in system-wide CA keystore under alias <{0}>"},
{"Do you still want to add it to your own keystore? [no]: ",
"Do you still want to add it to your own keystore? [no]: "},
{"Trust this certificate? [no]: ", "Trust this certificate? [no]: "},
{"YES", "YES"},
{"New prompt: ", "New {0}: "},
{"Passwords must differ", "Passwords must differ"},
{"Re-enter new prompt: ", "Re-enter new {0}: "},
{"Re-enter new password: ", "Re-enter new password: "},
{"They don't match. Try again", "They don't match. Try again"},
{"Enter prompt alias name: ", "Enter {0} alias name: "},
{"Enter new alias name\t(RETURN to cancel import for this entry): ",
"Enter new alias name\t(RETURN to cancel import for this entry): "},
{"Enter alias name: ", "Enter alias name: "},
{"\t(RETURN if same as for <otherAlias>)",
"\t(RETURN if same as for <{0}>)"},
{"*PATTERN* printX509Cert",
"Owner: {0}\nIssuer: {1}\nSerial number: {2}\nValid from: {3} until: {4}\nCertificate fingerprints:\n\t MD5: {5}\n\t SHA1: {6}\n\t SHA256: {7}\n\t Signature algorithm name: {8}\n\t Version: {9}"},
{"What is your first and last name?",
"What is your first and last name?"},
{"What is the name of your organizational unit?",
"What is the name of your organizational unit?"},
{"What is the name of your organization?",
"What is the name of your organization?"},
{"What is the name of your City or Locality?",
"What is the name of your City or Locality?"},
{"What is the name of your State or Province?",
"What is the name of your State or Province?"},
{"What is the two-letter country code for this unit?",
"What is the two-letter country code for this unit?"},
{"Is <name> correct?", "Is {0} correct?"},
{"no", "no"},
{"yes", "yes"},
{"y", "y"},
{" [defaultValue]: ", " [{0}]: "},
{"Alias <alias> has no key",
"Alias <{0}> has no key"},
{"Alias <alias> references an entry type that is not a private key entry. The -keyclone command only supports cloning of private key entries",
"Alias <{0}> references an entry type that is not a private key entry. The -keyclone command only supports cloning of private key entries"},
{"***************** WARNING WARNING WARNING *****************",
"***************** WARNING WARNING WARNING *****************"},
{"Signer #%d:", "Signer #%d:"},
{"Timestamp:", "Timestamp:"},
{"Signature:", "Signature:"},
{"CRLs:", "CRLs:"},
{"Certificate owner: ", "Certificate owner: "},
{"Not a signed jar file", "Not a signed jar file"},
{"No certificate from the SSL server",
"No certificate from the SSL server"},
// Translators of the following 5 pairs, ATTENTION:
// the next 5 string pairs are meant to be combined into 2 paragraphs,
// 1+3+4 and 2+3+5. make sure your translation also does.
{"* The integrity of the information stored in your keystore *",
"* The integrity of the information stored in your keystore *"},
{"* The integrity of the information stored in the srckeystore*",
"* The integrity of the information stored in the srckeystore*"},
{"* has NOT been verified! In order to verify its integrity, *",
"* has NOT been verified! In order to verify its integrity, *"},
{"* you must provide your keystore password. *",
"* you must provide your keystore password. *"},
{"* you must provide the srckeystore password. *",
"* you must provide the srckeystore password. *"},
{"Certificate reply does not contain public key for <alias>",
"Certificate reply does not contain public key for <{0}>"},
{"Incomplete certificate chain in reply",
"Incomplete certificate chain in reply"},
{"Certificate chain in reply does not verify: ",
"Certificate chain in reply does not verify: "},
{"Top-level certificate in reply:\n",
"Top-level certificate in reply:\n"},
{"... is not trusted. ", "... is not trusted. "},
{"Install reply anyway? [no]: ", "Install reply anyway? [no]: "},
{"NO", "NO"},
{"Public keys in reply and keystore don't match",
"Public keys in reply and keystore don't match"},
{"Certificate reply and certificate in keystore are identical",
"Certificate reply and certificate in keystore are identical"},
{"Failed to establish chain from reply",
"Failed to establish chain from reply"},
{"n", "n"},
{"Wrong answer, try again", "Wrong answer, try again"},
{"Secret key not generated, alias <alias> already exists",
"Secret Key not generated, alias <{0}> already exists"},
{"Please provide -keysize for secret key generation",
"Please provide -keysize for secret key generation"},
{"Extensions: ", "Extensions: "},
{"(Empty value)", "(Empty value)"},
{"Extension Request:", "Extension Request:"},
{"PKCS #10 Certificate Request (Version 1.0)\n" +
"Subject: %s\nPublic Key: %s format %s key\n",
"PKCS #10 Certificate Request (Version 1.0)\n" +
"Subject: %s\nPublic Key: %s format %s key\n"},
{"Unknown keyUsage type: ", "Unknown keyUsage type: "},
{"Unknown extendedkeyUsage type: ", "Unknown extendedkeyUsage type: "},
{"Unknown AccessDescription type: ", "Unknown AccessDescription type: "},
{"Unrecognized GeneralName type: ", "Unrecognized GeneralName type: "},
{"This extension cannot be marked as critical. ",
"This extension cannot be marked as critical. "},
{"Odd number of hex digits found: ", "Odd number of hex digits found: "},
{"Unknown extension type: ", "Unknown extension type: "},
{"command {0} is ambiguous:", "command {0} is ambiguous:"},
// policytool
{"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", "Exit"},
{"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 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.",
"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", " Add Permission"},
{" Edit Permission", " Edit Permission"},
{"Remove Permission", "Remove Permission"},
{"Done", "Done"},
{"KeyStore URL:", "KeyStore URL:"},
{"KeyStore Type:", "KeyStore Type:"},
{"KeyStore Provider:", "KeyStore Provider:"},
{"KeyStore Password URL:", "KeyStore Password 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"},
{"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:"},
// javax.security.auth.PrivateCredentialPermission
{"invalid null input(s)", "invalid null input(s)"},
{"actions can only be 'read'", "actions can only be 'read'"},
{"permission name [name] syntax invalid: ",
"permission name [{0}] syntax invalid: "},
{"Credential Class not followed by a Principal Class and Name",
"Credential Class not followed by a Principal Class and Name"},
{"Principal Class not followed by a Principal Name",
"Principal Class not followed by a Principal Name"},
{"Principal Name must be surrounded by quotes",
"Principal Name must be surrounded by quotes"},
{"Principal Name missing end quote",
"Principal Name missing end quote"},
{"PrivateCredentialPermission Principal Class can not be a wildcard (*) value if Principal Name is not a wildcard (*) value",
"PrivateCredentialPermission Principal Class can not be a wildcard (*) value if Principal Name is not a wildcard (*) value"},
{"CredOwner:\n\tPrincipal Class = class\n\tPrincipal Name = name",
"CredOwner:\n\tPrincipal Class = {0}\n\tPrincipal Name = {1}"},
// javax.security.auth.x500
{"provided null name", "provided null name"},
{"provided null keyword map", "provided null keyword map"},
{"provided null OID map", "provided null OID map"},
// javax.security.auth.Subject
{"invalid null AccessControlContext provided",
"invalid null AccessControlContext provided"},
{"invalid null action provided", "invalid null action provided"},
{"invalid null Class provided", "invalid null Class provided"},
{"Subject:\n", "Subject:\n"},
{"\tPrincipal: ", "\tPrincipal: "},
{"\tPublic Credential: ", "\tPublic Credential: "},
{"\tPrivate Credentials inaccessible\n",
"\tPrivate Credentials inaccessible\n"},
{"\tPrivate Credential: ", "\tPrivate Credential: "},
{"\tPrivate Credential inaccessible\n",
"\tPrivate Credential inaccessible\n"},
{"Subject is read-only", "Subject is read-only"},
{"attempting to add an object which is not an instance of java.security.Principal to a Subject's Principal Set",
"attempting to add an object which is not an instance of java.security.Principal to a Subject's Principal Set"},
{"attempting to add an object which is not an instance of class",
"attempting to add an object which is not an instance of {0}"},
// javax.security.auth.login.AppConfigurationEntry
{"LoginModuleControlFlag: ", "LoginModuleControlFlag: "},
// javax.security.auth.login.LoginContext
{"Invalid null input: name", "Invalid null input: name"},
{"No LoginModules configured for name",
"No LoginModules configured for {0}"},
{"invalid null Subject provided", "invalid null Subject provided"},
{"invalid null CallbackHandler provided",
"invalid null CallbackHandler provided"},
{"null subject - logout called before login",
"null subject - logout called before login"},
{"unable to instantiate LoginModule, module, because it does not provide a no-argument constructor",
"unable to instantiate LoginModule, {0}, because it does not provide a no-argument constructor"},
{"unable to instantiate LoginModule",
"unable to instantiate LoginModule"},
{"unable to instantiate LoginModule: ",
"unable to instantiate LoginModule: "},
{"unable to find LoginModule class: ",
"unable to find LoginModule class: "},
{"unable to access LoginModule: ",
"unable to access LoginModule: "},
{"Login Failure: all modules ignored",
"Login Failure: all modules ignored"},
// sun.security.provider.PolicyFile
{"java.security.policy: error parsing policy:\n\tmessage",
"java.security.policy: error parsing {0}:\n\t{1}"},
{"java.security.policy: error adding Permission, perm:\n\tmessage",
"java.security.policy: error adding Permission, {0}:\n\t{1}"},
{"java.security.policy: error adding Entry:\n\tmessage",
"java.security.policy: error adding Entry:\n\t{0}"},
{"alias name not provided (pe.name)", "alias name not provided ({0})"},
{"unable to perform substitution on alias, suffix",
"unable to perform substitution on alias, {0}"},
{"substitution value, prefix, unsupported",
"substitution value, {0}, unsupported"},
{"(", "("},
{")", ")"},
{"type can't be null","type can't be null"},
// sun.security.provider.PolicyParser
{"keystorePasswordURL can not be specified without also specifying keystore",
"keystorePasswordURL can not be specified without also specifying keystore"},
{"expected keystore type", "expected keystore type"},
{"expected keystore provider", "expected keystore provider"},
{"multiple Codebase expressions",
"multiple Codebase expressions"},
{"multiple SignedBy expressions","multiple SignedBy expressions"},
{"SignedBy has empty alias","SignedBy has empty alias"},
{"can not specify Principal with a wildcard class without a wildcard name",
"can not specify Principal with a wildcard class without a wildcard name"},
{"expected codeBase or SignedBy or Principal",
"expected codeBase or SignedBy or Principal"},
{"expected permission entry", "expected permission entry"},
{"number ", "number "},
{"expected [expect], read [end of file]",
"expected [{0}], read [end of file]"},
{"expected [;], read [end of file]",
"expected [;], read [end of file]"},
{"line number: msg", "line {0}: {1}"},
{"line number: expected [expect], found [actual]",
"line {0}: expected [{1}], found [{2}]"},
{"null principalClass or principalName",
"null principalClass or principalName"},
// sun.security.pkcs11.SunPKCS11
{"PKCS11 Token [providerName] Password: ",
"PKCS11 Token [{0}] Password: "},
/* --- DEPRECATED --- */
// javax.security.auth.Policy
{"unable to instantiate Subject-based policy",
"unable to instantiate Subject-based policy"}
};
/**
* Returns the contents of this <code>ResourceBundle</code>.
*
* <p>
*
* @return the contents of this <code>ResourceBundle</code>.
*/
public Object[][] getContents() {
return contents;
}
}