javacommons/security/javasrc/com/nokia/mj/impl/security/utils/SecurityPermissionTexts.java
changeset 79 2f468c1958d0
parent 48 e0d6e9bd3ca7
equal deleted inserted replaced
76:4ad59aaee882 79:2f468c1958d0
     1 /*
     1 /*
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    27     private static SecurityPermissionTexts self = null;
    27     private static SecurityPermissionTexts self = null;
    28     /** ResourceLoader for fetching localised texts. */
    28     /** ResourceLoader for fetching localised texts. */
    29     private static ResourceLoader iRes = null;
    29     private static ResourceLoader iRes = null;
    30 
    30 
    31     // identifiers for the security permission texts
    31     // identifiers for the security permission texts
    32     public static final Id CALL_CONTROL = new Id("call_control", "N/A");
    32     public static final Id CALL_CONTROL = new Id("call_control", "setlabel_call_control");
    33     public static final Id NET_ACCESS = new Id("net_access", "N/A");
    33     public static final Id NET_ACCESS = new Id("net_access", "setlabel_net_access");
    34     public static final Id LOW_LEVEL_NET_ACCESS = new Id("low_level_net_access", "N/A");
    34     public static final Id LOW_LEVEL_NET_ACCESS = new Id("low_level_net_access", "setlabel_low_level_net_access");
    35     public static final Id MESSAGING = new Id("messaging", "qt_kalle_test_d");
    35     public static final Id MESSAGING = new Id("messaging", "setlabel_messaging");
    36     public static final Id RESTRICTED_MESSAGING = new Id("restricted_messaging", "N/A");
    36     public static final Id RESTRICTED_MESSAGING = new Id("restricted_messaging", "setlabel_restricted_messaging");
    37     public static final Id APP_AUTO_INVOCAT = new Id("app_auto_invocat", "N/A");
    37     public static final Id APP_AUTO_INVOCAT = new Id("app_auto_invocat", "setlabel_app_auto_invoc");
    38     public static final Id LOCAL_CONN = new Id("local_conn", "N/A");
    38     public static final Id LOCAL_CONN = new Id("local_conn", "setlabel_local_conn");
    39     public static final Id MM_RECORD = new Id("mm_record", "N/A");
    39     public static final Id MM_RECORD = new Id("mm_record", "setlabel_mm_record");
    40     public static final Id READ_DATA = new Id("read_data", "N/A");
    40     public static final Id READ_DATA = new Id("read_data", "setlabel_read_data");
    41     public static final Id WRITE_DATA = new Id("write_data", "N/A");
    41     public static final Id WRITE_DATA = new Id("write_data", "setlabel_write_data");
    42     public static final Id LOCATION = new Id("location", "N/A");
    42     public static final Id LOCATION = new Id("location", "setlabel_location");
    43     public static final Id LANDMARKS = new Id("landmarks", "N/A");
    43     public static final Id LANDMARKS = new Id("landmarks", "setlabel_landmarks");
    44     public static final Id AUTH = new Id("auth", "N/A");
    44     public static final Id AUTH = new Id("auth", "setlabel_auth");
    45     public static final Id BROADCAST = new Id("broadcast", "N/A");
    45     public static final Id BROADCAST = new Id("broadcast", "setlabel_broadcast");
    46 
    46 
    47     private static final String AVKON_LOC_FILE = "javainstallation";
    47     private static final String AVKON_LOC_FILE = "javainstallation";
    48     private static final String AVKON_PREFIX = "qtn_java_inst_perm_";
    48     private static final String AVKON_PREFIX = "qtn_java_inst_perm_";
    49     private static final String QT_LOC_FILE = "N/A";
    49     private static final String QT_LOC_FILE = "javaruntimeapplicationsettings";
    50     private static final String QT_PREFIX = "N/A";
    50     private static final String QT_PREFIX = "txt_java_sett_";
    51 
    51 
    52     /**
    52     /**
    53      * Creates an instance of the SecurityPermissionTexts
    53      * Creates an instance of the SecurityPermissionTexts
    54      *
    54      *
    55      * @return An instance of SecurityPermissionTexts
    55      * @return An instance of SecurityPermissionTexts