jdk/src/share/classes/sun/security/util/AuthResources_it.java
author ohair
Tue, 28 Dec 2010 15:53:50 -0800
changeset 7668 d4a77089c587
parent 5506 202f599c92aa
child 8203 e5debcae2183
permissions -rw-r--r--
6962318: Update copyright year Reviewed-by: xdono
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
7668
d4a77089c587 6962318: Update copyright year
ohair
parents: 5506
diff changeset
     2
 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5307
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5307
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5307
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5307
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5307
diff changeset
    23
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
package sun.security.util;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
/**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
 * <p> This class represents the <code>ResourceBundle</code>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
 * for the following packages:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
 * <ol>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
 * <li> com.sun.security.auth
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
 * <li> com.sun.security.auth.login
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
 * </ol>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
public class AuthResources_it extends java.util.ListResourceBundle {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
    private static final Object[][] contents = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
        // NT principals
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
        {"invalid null input: value", "input nullo non valido: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
        {"NTDomainPrincipal: name", "NTDomainPrincipal: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
        {"NTNumericCredential: name", "NTNumericCredential: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
        {"Invalid NTSid value", "Valore NTSid non valido"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
        {"NTSid: name", "NTSid: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
        {"NTSidDomainPrincipal: name", "NTSidDomainPrincipal: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
        {"NTSidGroupPrincipal: name", "NTSidGroupPrincipal: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
        {"NTSidPrimaryGroupPrincipal: name", "NTSidPrimaryGroupPrincipal: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
        {"NTSidUserPrincipal: name", "NTSidUserPrincipal: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
        {"NTUserPrincipal: name", "NTUserPrincipal: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
        // UnixPrincipals
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
        {"UnixNumericGroupPrincipal [Primary Group]: name",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
    55
                "UnixNumericGroupPrincipal [gruppo primario]: {0}"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
        {"UnixNumericGroupPrincipal [Supplementary Group]: name",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
    57
                "UnixNumericGroupPrincipal [gruppo supplementare]: {0}"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
        {"UnixNumericUserPrincipal: name", "UnixNumericUserPrincipal: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
        {"UnixPrincipal: name", "UnixPrincipal: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
        // com.sun.security.auth.login.ConfigFile
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
        {"Unable to properly expand config", "Impossibile espandere correttamente {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
        {"extra_config (No such file or directory)",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
    64
                "{0} (file o directory inesistente)"},
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
    65
        {"Configuration Error:\n\tNo such file or directory",
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
    66
                "Errore di configurazione:\n\tfile o directory inesistente"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
        {"Configuration Error:\n\tInvalid control flag, flag",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
    68
                "Errore di configurazione:\n\tflag di controllo non valido, {0}"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
        {"Configuration Error:\n\tCan not specify multiple entries for appName",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
    70
            "Errore di configurazione:\n\timpossibile specificare pi\u00f9 valori per {0}"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
        {"Configuration Error:\n\texpected [expect], read [end of file]",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
    72
                "Errore di configurazione:\n\tprevisto [{0}], letto [end of file]"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
        {"Configuration Error:\n\tLine line: expected [expect], found [value]",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
    74
            "Errore di configurazione:\n\triga {0}: previsto [{1}], trovato [{2}]"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
        {"Configuration Error:\n\tLine line: expected [expect]",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
    76
            "Errore di configurazione:\n\triga {0}: previsto [{1}]"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
        {"Configuration Error:\n\tLine line: system property [value] expanded to empty value",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
    78
            "Errore di configurazione:\n\triga {0}: propriet\u00e0 di sistema [{1}] espansa a valore vuoto"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
        // com.sun.security.auth.module.JndiLoginModule
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
        {"username: ","Nome utente: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
        {"password: ","Password: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
        // com.sun.security.auth.module.KeyStoreLoginModule
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
        {"Please enter keystore information",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
                "Inserire le informazioni per il keystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
        {"Keystore alias: ","Alias keystore: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
        {"Keystore password: ","Password keystore: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
        {"Private key password (optional): ",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
    90
            "Password chiave privata (opzionale): "},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
        // com.sun.security.auth.module.Krb5LoginModule
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
        {"Kerberos username [[defUsername]]: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
                "Nome utente Kerberos [{0}]: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
        {"Kerberos password for [username]: ",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
    96
                "Password Kerberos per {0}: "},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
        /***    EVERYTHING BELOW IS DEPRECATED  ***/
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
        // com.sun.security.auth.PolicyFile
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
        {": error parsing ", ": errore nell'analisi "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
        {": ", ": "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
        {": error adding Permission ", ": errore nell'aggiunta del permesso "},
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
   104
        {" ", "  "},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
        {": error adding Entry ", ": errore nell'aggiunta dell'entry "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
        {"(", "("},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
        {")", ")"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
        {"attempt to add a Permission to a readonly PermissionCollection",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
   109
            "tentativo di aggiungere un permesso a una PermissionCollection di sola lettura"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
        // com.sun.security.auth.PolicyParser
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
        {"expected keystore type", "tipo di keystore previsto"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
        {"can not specify Principal with a ",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
   114
                "impossibile specificare Principal con una "},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
        {"wildcard class without a wildcard name",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
   116
                "classe wildcard senza un nome wildcard"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
        {"expected codeBase or SignedBy", "previsto codeBase o SignedBy"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
        {"only Principal-based grant entries permitted",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
   119
                "sono permessi solo valori garantiti basati su Principal"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
        {"expected permission entry", "prevista entry di permesso"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
        {"number ", "numero "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
        {"expected ", "previsto "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
        {", read end of file", ", letto end of file"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
        {"expected ';', read end of file", "previsto ';', letto end of file"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
        {"line ", "riga "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
        {": expected '", ": previsto '"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
        {"', found '", "', trovato '"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
        {"'", "'"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
        // SolarisPrincipals
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
        {"SolarisNumericGroupPrincipal [Primary Group]: ",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
   132
                "SolarisNumericGroupPrincipal [gruppo primario]: "},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
        {"SolarisNumericGroupPrincipal [Supplementary Group]: ",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
   134
                "SolarisNumericGroupPrincipal [gruppo supplementare]: "},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
        {"SolarisNumericUserPrincipal: ",
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
   136
                "SolarisNumericUserPrincipal: "},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
        {"SolarisPrincipal: ", "SolarisPrincipal: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
        {"provided null name", "il nome fornito \u00e8 nullo"}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
    };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
     * Returns the contents of this <code>ResourceBundle</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
     * <p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
     * @return the contents of this <code>ResourceBundle</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
    public Object[][] getContents() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
        return contents;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
}