public class DirProperties extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static String | attrCnThe name of the 'commonname' attribute. | 
| static String | attrLoginThe name of the 'loginid' attribute. | 
| static String | attrMemberofThe name of the 'memberof' attribute specifying the user attribute
                defining the groups for the user, or blank if user membership is
                determined from the uniquemember attribute on the group. | 
| static String | attrObjectclassThe name of the 'objectclass' attribute. | 
| static String | attrPasswordThe name of the 'password' attribute. | 
| static String | attrUniquememberThe name of the 'uniquemember' attribute of a typeGroup used
        to specify members in a group. | 
| static String | attrUsernameThe name of the 'username' attribute. | 
| static String | baseDNDistinguished name for root to use by default for searching
        and for prepending to names for attribute values that require
        a DN type. | 
| static String | classAttributeName of concrete class to implement interface Attribute | 
| static String | classAttributesName of concrete class to implement Attributes | 
| static String | classIDirName of concrete class to implement interface IDir | 
| static String | classIFactoryName of concrete class to implement interface IFactory | 
| static String | classINameName of concrete class to implement interface IName | 
| static String | classIUserDirName of concrete class to implement interface IUserDir | 
| static String | classJNDINameName of concrete class to implement
        com.openmarket.directory.jndi.NameWrapper. | 
| static String | cleanDNs | 
| static String | defaultGroupAttrsSet of attribute name/value pairs to be set on every
        descendant of groupParent by default. | 
| static String | defaultPeopleAttrsSet of attribute name/value pairs to be set on every
        descendant of peopleParent by default. | 
| static String | defaultReaderACLs | 
| static String | groupParentThe entry to use as the parent of all typeGroup entries. | 
| static String | jndiBaseURLjndiBaseURL+"/"+baseDN=javax.naming.Context.PROVIDER_URL | 
| static String | jndiConnectAsUserTrue to connect to JNDI as the currently logged in user, false to connect with jndi.login as the principal and jndi.password as the credentials. | 
| static String | jndiCustomVariablesOther, SPI-specific variables to pass into the
        javax.naming.Context environment. | 
| static String | jndiLoginIf jndi.ConnectAsUser is set to "false", this is the principal to connect as (leave blank to connect anonymously). | 
| static String | jndiPasswordIf jndi.ConnectAsUser is set to "false", this is the credentials for the jndi.login to connect as. | 
| static String | jndipoolConnections"true" indicates to the system to use pooled DirContexts | 
| static String | jndipoolSizeThis property indicates size of the pool | 
| static String | objectclassGroupThe name of some base object class common to all ContentServer
 groups - e.g., this is used by the 'groupMemberships' command
 to discern group-class entries from other object classes. | 
| static String | objectclassPersonThe name of some base object class common to all ContentServer
 users - e.g., this is used by the 'listUsers' command to discern
 user-class entries from other object classes. | 
| static String | peopleParentThe entry to use as the parent of all ContentServer entries of
        typeUser. | 
| static String | requiredGroupAttrsSet of attributes required by default by every descendant of
        groupParent. | 
| static String | requiredPeopleAttrsSet of attributes required by default by every descendant of
        peopleParent. | 
| static String | searchLimitThe maximum number of entries to return. | 
| static String | searchScopeThe search scope. | 
| static String | searchTimeoutThe number of seconds to wait before returning. | 
| static String | synBeginquoteIf present, specifies the string delimiting start of a quoted
        string. | 
| static String | synBeginquote2Alternative set of begin/end quotes. | 
| static String | synCustomVariablesOther, classJNDIName-specific variables to pass into the
        classIName constructor. | 
| static String | synDirectionDirection for parsing ('right_to_left', 'left_to_right',
        'flat'). | 
| static String | synEndquoteString delimiting end of quoted string. | 
| static String | synEndquote2Alternative set of begin/end quotes. | 
| static String | synEscapeIf present, specifies the escape string for overriding
        separator, escapes and quotes. | 
| static String | synIgnorecaseIf present, 'true' means ignore the case when comparing name
        components. | 
| static String | synSeparatorSeparator between atomic name components. | 
| static String | synSeparatoravaIf present, specifies the string that separates
        attribute-value-assertions when specifying multiple
        attribute/value pairs. | 
| static String | synSeparatortypevalIf present, specifies the string that separators attribute
        from value (e.g. | 
| static String | synTrimblanksIf present, 'true' means trim any leading and trailing
        whitespaces in a name component for comparison purposes. | 
| static String | userDirectory | 
| Constructor and Description | 
|---|
| DirProperties() | 
| Modifier and Type | Method and Description | 
|---|---|
| static String | getDefaultValue(String property)Returns a hard-coded default value for the given property. | 
| static String | getProperty(ICS ics,
           String property)Returns the value of a property. | 
| static String | getProperty(String property) | 
| static String | getRequiredProperty(ICS ics,
                   String property)Returns the value of a property. | 
| static boolean | isIgnoreCaseInLDAP(ICS ics)Returns true if Sites is configured with LDAP and syntax ignore
 case is set to true. | 
| static Hashtable | JNDIEnvironment(ICS ics)Reads all the relevant JNDI variables from the property files
 and returns it in a format suitable for creation of a JNDI
 Context. | 
| static Properties | namingSyntax(ICS ics)Reads all the naming syntax out of the property file | 
public static final String peopleParent
public static final String groupParent
public static final String baseDN
public static final String defaultPeopleAttrs
public static final String defaultGroupAttrs
public static final String requiredPeopleAttrs
public static final String requiredGroupAttrs
public static final String objectclassGroup
public static final String objectclassPerson
public static final String attrCn
public static final String attrUsername
public static final String attrPassword
public static final String attrUniquemember
public static final String attrMemberof
public static final String attrObjectclass
public static final String attrLogin
public static final String synDirection
public static final String synSeparator
public static final String synIgnorecase
public static final String synEscape
public static final String synBeginquote
public static final String synEndquote
public static final String synBeginquote2
public static final String synEndquote2
public static final String synTrimblanks
public static final String synSeparatorava
public static final String synSeparatortypeval
public static final String synCustomVariables
classIName, 
classJNDIName, 
Constant Field Valuespublic static final String classIFactory
public static final String classIName
public static final String classAttributes
public static final String classAttribute
public static final String classIDir
public static final String classIUserDir
public static final String userDirectory
public static final String classJNDIName
DirProperties.classIDir, 
Constant Field Valuespublic static final String searchScope
public static final String searchLimit
public static final String searchTimeout
public static final String jndiConnectAsUser
public static final String jndiLogin
public static final String jndiPassword
public static final String jndiBaseURL
public static final String jndiCustomVariables
public static final String jndipoolConnections
public static final String jndipoolSize
public static final String cleanDNs
public static final String defaultReaderACLs
public static Properties namingSyntax(ICS ics)
public static Hashtable JNDIEnvironment(ICS ics) throws DirectoryException
DirectoryExceptionContext.SECURITY_PRINCIPAL, 
javax.naming.Context#CREDENTIALSpublic static String getDefaultValue(String property)
property - for which to find the default value.public static String getProperty(ICS ics, String property)
ics - a COM.FutureTense.Interfaces.ICS context. This
            param is no longer needed. Retained for legacy code
            compatibility onlyproperty - name of the property to returnpublic static String getRequiredProperty(ICS ics, String property) throws DirectoryException
ics - a COM.FutureTense.Interfaces.ICS context. This
            param is no longer needed. Retained for legacy code
            compatibility onlyproperty - name of the property to returnException - if the property is undefinedDirectoryExceptionpublic static boolean isIgnoreCaseInLDAP(ICS ics)
ics - a COM.FutureTense.Interfaces.ICS context