01: /**
02: * $Id: LdapABConstants.java,v 1.6 2003/06/19 22:45:00 byork Exp $
03: * Copyright 2002 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and iPlanet
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.addressbook.ldap;
14:
15: /**
16: * Ldap constants used in LdapABStore and ldap adapter classes.
17: *
18: */
19: public class LdapABConstants {
20:
21: // Ldap attribute names
22: public static final String ATTR_ln = "sn";
23: public static final String ATTR_cn = "cn";
24: public static final String ATTR_fn = "givenname";
25: public static final String ATTR_description = "description";
26: public static final String ATTR_homeStreet = "street";
27: public static final String ATTR_homeCity = "l";
28: public static final String ATTR_homeState = "st";
29: public static final String ATTR_homeZip = "postalcode";
30: public static final String ATTR_homeCountry = "co";
31: public static final String ATTR_bp = "telephonenumber";
32: public static final String ATTR_fp = "facsimiletelephonenumber";
33: public static final String ATTR_hp = "homephone";
34: public static final String ATTR_mp = "mobile";
35: public static final String ATTR_pp = "pager";
36: public static final String ATTR_dob = "dateofbirth";
37: public static final String ATTR_uri = "labeleduri";
38: public static final String ATTR_memberofpab = "memberofpab";
39: public static final String ATTR_memberofpabgroup = "memberofpabgroup";
40: public static final String ATTR_em = "mail";
41:
42: public static final String ATTR_objectclass = "objectclass";
43:
44: public static final String OBJECTCLASS_ENTRY = "pabperson";
45: public static final String OBJECTCLASS_GROUP = "pabgroup";
46: public static final String OBJECTCLASS_AB = "pab";
47:
48: public static final int CONNPOOL_MIN = 5;
49: public static final int CONNPOOL_MAX = 20;
50: public static final int CONN_TIMEOUT = 10000;
51: public static final String LANG = "en";
52:
53: }
|