ToolConstants.java revision 48caec4536978f20f2f90a44a661f7add63dc5c9
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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 permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at
* trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
* add the following below this CDDL HEADER, with the fields enclosed
* by brackets "[]" replaced with your own identifying information:
* Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*
*
* Portions Copyright 2006-2007 Sun Microsystems, Inc.
*/
/**
* This class defines a number of constants used in one or more Directory Server
* tools.
*/
public class ToolConstants
{
/**
* The name of the SASL property that can be used to provide the
* authentication ID for the bind.
*/
/**
* The name of the SASL property that can be used to provide the authorization
* ID for the bind.
*/
/**
* The name of the SASL property that can be used to provide the digest URI
* for the bind.
*/
/**
* The name of the SASL property that can be used to provide the KDC for use
* in Kerberos authentication.
*/
/**
* The name of the SASL property that can be used to provide the quality of
* protection for the bind.
*/
/**
* The name of the SASL property that can be used to provide the realm for the
* bind.
*/
/**
* The name of the SASL property that can be used to provide trace information
* for a SASL ANONYMOUS request.
*/
/**
* The value for the short option configClass.
*/
public static final char OPTION_SHORT_CONFIG_CLASS = 'C';
/**
* The value for the long option configClass.
*/
/**
* The placeholder value of configClass that will be displayed in usage
* information.
*/
/**
* The value for the short option hostname.
*/
public static final char OPTION_SHORT_HOST = 'h';
/**
* The value for the long option hostname.
*/
/**
* The placeholder value of hostname that will be displayed in usage
* information.
*/
/**
* The value for the short option port.
*/
public static final char OPTION_SHORT_PORT = 'p';
/**
* The value for the long option port.
*/
/**
* The placeholder value of port that will be displayed in usage
* information.
*/
/**
* The value for the short option useSSL.
*/
public static final char OPTION_SHORT_USE_SSL = 'Z';
/**
* The value for the long option useSSL.
*/
/**
* The value for the short option baseDN.
*/
public static final char OPTION_SHORT_BASEDN = 'b';
/**
* The value for the long option baseDN.
*/
/**
* The placeholder value of baseDN that will be displayed in usage
* information.
*/
/**
* The value for the short option rootUserDN.
*/
public static final char OPTION_SHORT_ROOT_USER_DN = 'D';
/**
* The value for the long option rootUserDN.
*/
/**
* The placeholder value of hostname that will be displayed in usage
* information.
*/
/**
* The value for the short option bindDN.
*/
public static final char OPTION_SHORT_BINDDN = 'D';
/**
* The value for the long option bindDN.
*/
/**
* The placeholder value of bindDN that will be displayed in usage
* information.
*/
/**
* The value for the short option bindPassword.
*/
public static final char OPTION_SHORT_BINDPWD = 'w';
/**
* The value for the long option bindPassword.
*/
/**
* The placeholder value of bindPassword that will be displayed in usage
* information.
*/
/**
* The value for the short option bindPasswordFile.
*/
public static final char OPTION_SHORT_BINDPWD_FILE = 'j';
/**
* The value for the long option bindPasswordFile.
*/
/**
* The placeholder value of bindPasswordFile that will be displayed in usage
* information.
*/
/**
* The value for the short option compress.
*/
public static final char OPTION_SHORT_COMPRESS = 'c';
/**
* The value for the long option compress.
*/
/**
* The value for the short option filename.
*/
public static final char OPTION_SHORT_FILENAME = 'f';
/**
* The value for the long option filename.
*/
/**
* The placeholder value of filename that will be displayed in usage
* information.
*/
/**
* The value for the short option ldifFile.
*/
public static final char OPTION_SHORT_LDIF_FILE = 'l';
/**
* The value for the long option ldifFile.
*/
/**
* The placeholder value of ldifFile that will be displayed in usage
* information.
*/
/**
* The value for the short option useStartTLS.
*/
public static final char OPTION_SHORT_START_TLS = 'q';
/**
* The value for the long option useStartTLS.
*/
/**
* The value for the short option randomSeed.
*/
public static final char OPTION_SHORT_RANDOM_SEED = 's';
/**
* The value for the long option randomSeed.
*/
/**
* The placeholder value of randomSeed that will be displayed in usage
* information.
*/
/**
* The value for the short option keyStorePath.
*/
public static final char OPTION_SHORT_KEYSTOREPATH = 'K';
/**
* The value for the long option keyStorePath.
*/
/**
* The placeholder value of keyStorePath that will be displayed in usage
* information.
*/
/**
* The value for the short option trustStorePath.
*/
public static final char OPTION_SHORT_TRUSTSTOREPATH = 'P';
/**
* The value for the long option trustStorePath.
*/
/**
* The placeholder value of trustStorePath that will be displayed in usage
* information.
*/
/**
* The value for the short option keyStorePassword.
*/
public static final char OPTION_SHORT_KEYSTORE_PWD = 'W';
/**
* The value for the long option keyStorePassword.
*/
/**
* The placeholder value of keyStorePassword that will be displayed in usage
* information.
*/
/**
* The value for the long option trustStorePassword.
*/
/**
* The placeholder value of trustStorePassword that will be displayed in usage
* information.
*/
public static final String OPTION_VALUE_TRUSTSTORE_PWD =
"{trustStorePassword}";
/**
* The value for the short option keyStorePasswordFile .
*/
public static final char OPTION_SHORT_KEYSTORE_PWD_FILE = 'u';
/**
* The value for the long option keyStorePasswordFile .
*/
public static final String OPTION_LONG_KEYSTORE_PWD_FILE =
"keyStorePasswordFile ";
/**
* The placeholder value of keyStorePasswordFile that will be
* displayed in usage information.
*/
/**
* The value for the short option keyStorePasswordFile .
*/
public static final char OPTION_SHORT_TRUSTSTORE_PWD_FILE = 'U';
/**
* The value for the long option keyStorePasswordFile .
*/
public static final String OPTION_LONG_TRUSTSTORE_PWD_FILE =
"TrustStorePasswordFile ";
/**
* The placeholder value of keyStorePasswordFile that will be
* displayed in usage information.
*/
/**
* The value for the long option assertionFilter .
*/
/**
* The placeholder value of assertionFilter that will be displayed in usage
* information.
*/
/**
* The value for the short option dry-run.
*/
public static final char OPTION_SHORT_DRYRUN = 'n';
/**
* The value for the long option dry-run.
*/
/**
* The value for the short option help.
*/
public static final char OPTION_SHORT_HELP = 'H';
/**
* The value for the long option help.
*/
/**
* The value for the long option cli.
*/
/**
* The value for the short option proxyAs.
*/
public static final char OPTION_SHORT_PROXYAUTHID = 'Y';
/**
* The value for the long option proxyAs.
*/
/**
* The placeholder value of proxyAs that will be
* displayed in usage information.
*/
/**
* The value for the short option saslOption.
*/
public static final char OPTION_SHORT_SASLOPTION = 'o';
/**
* The value for the long option saslOption.
*/
/**
* The placeholder value of saslOption that will be
* displayed in usage information.
*/
/**
* The value for the short option geteffectiverights control authzid.
*/
public static final char OPTION_SHORT_EFFECTIVERIGHTSUSER = 'g';
/**
* The value for the long option geteffectiverights control authzid.
*/
public static final String OPTION_LONG_EFFECTIVERIGHTSUSER =
"getEffectiveRightsAuthzid";
/**
* The value for the short option geteffectiveights control attributes.
*/
public static final char OPTION_SHORT_EFFECTIVERIGHTSATTR = 'e';
/**
* The value for the long option geteffectiverights control specific
* attribute list.
*/
public static final String OPTION_LONG_EFFECTIVERIGHTSATTR =
"getEffectiveRightsAttribute";
}