IConstants.java revision 871b417a57cab3336793a845810383ceae4233cb
/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2008 Sun Microsystems, Inc. All Rights Reserved.
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: IConstants.java,v 1.1 2009/01/21 18:43:56 kanduls Exp $
*/
/**
* Portions Copyrighted 2013 ForgeRock, Inc.
*/
public interface IConstants {
//Localized resource file name
public static final String STR_CONFIG_DIR_WINDOWS =
"c:\\jetty-7.6.11\\etc";
public static final String STR_CONFIG_DIR_SOLARIS =
"/opt/jetty-7.6.11/etc";
public static final String STR_CONFIG_DIR_LINUX =
"/opt/jetty-7.6.11/etc";
public static final String JETTY_ERR_IN_VALID_HOME_DIR =
"JETTY_ERR_IN_VALID_HOME_DIR";
public static final String VA_MSG_JETTY_VAL_HOME =
"VA_MSG_JETTY_VAL_HOME";
public static final String VA_WRN_JETTY_IN_VAL_HOME =
"VA_WRN_JETTY_IN_VAL_HOME";
public static final String VA_MSG_JETTY_VAL_CONFIG_DIR =
"VA_MSG_JETTY_VAL_CONFIG_DIR";
public static final String VA_WRN_JETTY_IN_VAL_CONFIG_DIR =
"VA_WRN_JETTY_IN_VAL_CONFIG_DIR";
public static final String VA_WRN_JETTY_IN_VAL_VERSION =
"VA_WRN_JETTY_IN_VAL_VERSION";
public static final String VA_MSG_JETTY_VAL_VERSION =
"VA_MSG_JETTY_VAL_VERSION";
public static final String VN_WRN_JAVA_HOME_NOT_FOUND =
"VN_WRN_JAVA_HOME_NOT_FOUND";
public static final String TSK_MSG_UPDATE_SET_CLASSPATH_EXECUTE =
"TSK_MSG_UPDATE_SET_CLASSPATH_EXECUTE";
public static final String TSK_MSG_UPDATE_SET_CLASSPATH_ROLLBACK =
"TSK_MSG_UPDATE_SET_CLASSPATH_ROLLBACK";
public static final String TSK_MSG_CONFIGURE_AGENT_APP_EXECUTE =
"TSK_MSG_CONFIGURE_AGENT_APP_EXECUTE";
public static final String TSK_MSG_CONFIGURE_AGENT_APP_ROLLBACK =
"TSK_MSG_CONFIGURE_AGENT_APP_ROLLBACK";
public static final String TSK_MSG_CONFIGURE_JETTY_LOGIN_CONF_FILE_EXECUTE =
"TSK_MSG_CONFIGURE_JETTY_LOGIN_CONF_FILE_EXECUTE";
public static final String
"TSK_MSG_CONFIGURE_JETTY_LOGIN_CONF_FILE_ROLLBACK";
public static final String
"TSK_MSG_UNCONFIGURE_JETTY_LOGIN_CONF_FILE_EXECUTE";
public static final String TSK_MSG_UNCONFIGURE_AGENT_CLASSPATH_EXECUTE =
"TSK_MSG_UNCONFIGURE_AGENT_CLASSPATH_EXECUTE";
public static final String TSK_MSG_UNCONFIGURE_AGENT_APP_EXECUTE =
"TSK_MSG_UNCONFIGURE_AGENT_APP_EXECUTE";
public static final String[] LOGIN_REALM_CONF = {
" ",
"# ===========================================================",
"# Enable Policy Agent Realm",
"# -----------------------------------------------------------",
"OPTIONS=plus",
"etc/amlogin.xml"};
// Indicates which of the lines above should be used when looking for this config entry on uninstall.
public static final int LOGIN_REALM_CONF_UNIQUE = 2;
public static final int BUFF_SIZE = 2048;
}