📄 generaldefs.java
字号:
/* @copyright module */
/* */
/* DISCLAIMER OF WARRANTIES: */
/* ------------------------- */
/* The following [enclosed] code is sample code created by IBM Corporation. */
/* This sample code is provided to you solely for the purpose of assisting */
/* you in the development of your applications. */
/* The code is provided "AS IS", without warranty of any kind. IBM shall */
/* not be liable for any damages arising out of your use of the sample code, */
/* even if they have been advised of the possibility of such damages. */
package com.ibm.util;
public interface GeneralDefs {
// -------------------------------------------------
// LDAP tree search base
// -------------------------------------------------
public static String BASE_SEARCH = "OU=sz,DC=achievo,DC=com";
// -------------------------------------------------
// Attributes to be fetched from EPerson object.
// -------------------------------------------------
public static final String EPERSON_ATTRIBUTE_LIST[] =
{ "objectClass",
"cn",
"sn",
"givenName",
"distinguishedName",
"instanceType",
"whenCreated",
"whenChanged",
"displayName",
"uSNCreated",
"memberOf",
"uSNChanged",
"homeMTA",
"proxyAddresses",
"proxyAddresses",
"homeMDB",
"mDBUseDefaults",
"mailNickname",
"name",
"objectGUID",
"userAccountControl",
"badPwdCount",
"codePage",
"countryCode",
"badPasswordTime",
"lastLogoff",
"lastLogon",
"userWorkstations",
"pwdLastSet",
"primaryGroupID",
"objectSid",
"accountExpires",
"logonCount",
"sAMAccountName",
"sAMAccountType",
"showInAddressBook",
"showInAddressBook",
"legacyExchangeDN",
"userPrincipalName",
"objectCategory",
"dSCorePropagationDat",
"dSCorePropagationDat",
"lastLogonTimestamp",
"textEncodedORAddress",
"mail",
"msExchPoliciesInclud",
"msExchHomeServerName",
"msExchALObjectVersio",
"msExchMailboxSecurit",
"msExchUserAccountCon",
"msExchMailboxGuid"
};
// Using Sun JNDI..
//
// Initial Context Factory..
public static String LDAP_PROVIDER = "com.sun.jndi.ldap.LdapCtxFactory";
// Processing referrals..
public static String REFERRALS_IGNORE = "ignore";
// -------------------------------------------------
// LDAP root pwd
// -------------------------------------------------
public static String ROOT_PASSWORD = "fly915hx";
// -------------------------------------------------
// LDAP root: this is just cn=root
// -------------------------------------------------
public static String ROOT_USER = "xavier.huang@achievo.com";
// Security level to be used for LDAP connections..
public static String SEARCH_SECURITY_LEVEL = "none";
// security level for updates.
public static String UPDATE_SECURITY_LEVEL = "simple";
// Package Prefix for loading URL context factories..
public static String URL_CONTEXT_PREFIX = "com.sun.jndi.url";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -