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