public class DirProperties
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
attrCn
The name of the 'commonname' attribute.
|
static java.lang.String |
attrLogin
The name of the 'loginid' attribute.
|
static java.lang.String |
attrMemberof
The 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 java.lang.String |
attrObjectclass
The name of the 'objectclass' attribute.
|
static java.lang.String |
attrPassword
The name of the 'password' attribute.
|
static java.lang.String |
attrUniquemember
The name of the 'uniquemember' attribute of a typeGroup used
to specify members in a group.
|
static java.lang.String |
attrUsername
The name of the 'username' attribute.
|
static java.lang.String |
baseDN
Distinguished name for root to use by default for searching
and for prepending to names for attribute values that require
a DN type.
|
static java.lang.String |
classAttribute
Name of concrete class to implement interface Attribute
|
static java.lang.String |
classAttributes
Name of concrete class to implement Attributes
|
static java.lang.String |
classIDir
Name of concrete class to implement interface IDir
|
static java.lang.String |
classIFactory
Name of concrete class to implement interface IFactory
|
static java.lang.String |
classIName
Name of concrete class to implement interface IName
|
static java.lang.String |
classIUserDir
Name of concrete class to implement interface IUserDir
|
static java.lang.String |
classJNDIName
Name of concrete class to implement
com.openmarket.directory.jndi.NameWrapper.
|
static java.lang.String |
cleanDNs |
static java.lang.String |
defaultGroupAttrs
Set of attribute name/value pairs to be set on every
descendant of groupParent by default.
|
static java.lang.String |
defaultPeopleAttrs
Set of attribute name/value pairs to be set on every
descendant of peopleParent by default.
|
static java.lang.String |
defaultReaderACLs |
static java.lang.String |
groupParent
The entry to use as the parent of all typeGroup entries.
|
static java.lang.String |
jndiBaseURL
jndiBaseURL+"/"+baseDN=javax.naming.Context.PROVIDER_URL
|
static java.lang.String |
jndiConnectAsUser
True 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 java.lang.String |
jndiCustomVariables
Other, SPI-specific variables to pass into the
javax.naming.Context environment.
|
static java.lang.String |
jndiLogin
If jndi.ConnectAsUser is set to "false", this is the principal to connect as (leave blank to connect anonymously).
|
static java.lang.String |
jndiPassword
If jndi.ConnectAsUser is set to "false", this is the credentials for the jndi.login to connect as.
|
static java.lang.String |
jndipoolConnections
"true" indicates to the system to use pooled DirContexts
|
static java.lang.String |
jndipoolSize
This property indicates size of the pool
|
static java.lang.String |
objectclassGroup
The 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 java.lang.String |
objectclassPerson
The 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 java.lang.String |
peopleParent
The entry to use as the parent of all ContentServer entries of
typeUser.
|
static java.lang.String |
requiredGroupAttrs
Set of attributes required by default by every descendant of
groupParent.
|
static java.lang.String |
requiredPeopleAttrs
Set of attributes required by default by every descendant of
peopleParent.
|
static java.lang.String |
searchLimit
The maximum number of entries to return.
|
static java.lang.String |
searchScope
The search scope.
|
static java.lang.String |
searchTimeout
The number of seconds to wait before returning.
|
static java.lang.String |
synBeginquote
If present, specifies the string delimiting start of a quoted
string.
|
static java.lang.String |
synBeginquote2
Alternative set of begin/end quotes.
|
static java.lang.String |
synCustomVariables
Other, classJNDIName-specific variables to pass into the
classIName constructor.
|
static java.lang.String |
synDirection
Direction for parsing ('right_to_left', 'left_to_right',
'flat').
|
static java.lang.String |
synEndquote
String delimiting end of quoted string.
|
static java.lang.String |
synEndquote2
Alternative set of begin/end quotes.
|
static java.lang.String |
synEscape
If present, specifies the escape string for overriding
separator, escapes and quotes.
|
static java.lang.String |
synIgnorecase
If present, 'true' means ignore the case when comparing name
components.
|
static java.lang.String |
synSeparator
Separator between atomic name components.
|
static java.lang.String |
synSeparatorava
If present, specifies the string that separates
attribute-value-assertions when specifying multiple
attribute/value pairs.
|
static java.lang.String |
synSeparatortypeval
If present, specifies the string that separators attribute
from value (e.g.
|
static java.lang.String |
synTrimblanks
If present, 'true' means trim any leading and trailing
whitespaces in a name component for comparison purposes.
|
static java.lang.String |
userDirectory |
Constructor and Description |
---|
DirProperties() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getDefaultValue(java.lang.String property)
Returns a hard-coded default value for the given property.
|
static java.lang.String |
getProperty(COM.FutureTense.Interfaces.ICS ics,
java.lang.String property)
Returns the value of a property.
|
static java.lang.String |
getProperty(java.lang.String property) |
static java.lang.String |
getRequiredProperty(COM.FutureTense.Interfaces.ICS ics,
java.lang.String property)
Returns the value of a property.
|
static boolean |
isIgnoreCaseInLDAP(COM.FutureTense.Interfaces.ICS ics)
Returns true if Sites is configured with LDAP and syntax ignore
case is set to true.
|
static java.util.Hashtable |
JNDIEnvironment(COM.FutureTense.Interfaces.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 java.util.Properties |
namingSyntax(COM.FutureTense.Interfaces.ICS ics)
Reads all the naming syntax out of the property file
|
public static final java.lang.String peopleParent
public static final java.lang.String groupParent
public static final java.lang.String baseDN
public static final java.lang.String defaultPeopleAttrs
public static final java.lang.String defaultGroupAttrs
public static final java.lang.String requiredPeopleAttrs
public static final java.lang.String requiredGroupAttrs
public static final java.lang.String objectclassGroup
public static final java.lang.String objectclassPerson
public static final java.lang.String attrCn
public static final java.lang.String attrUsername
public static final java.lang.String attrPassword
public static final java.lang.String attrUniquemember
public static final java.lang.String attrMemberof
public static final java.lang.String attrObjectclass
public static final java.lang.String attrLogin
public static final java.lang.String synDirection
public static final java.lang.String synSeparator
public static final java.lang.String synIgnorecase
public static final java.lang.String synEscape
public static final java.lang.String synBeginquote
public static final java.lang.String synEndquote
public static final java.lang.String synBeginquote2
public static final java.lang.String synEndquote2
public static final java.lang.String synTrimblanks
public static final java.lang.String synSeparatorava
public static final java.lang.String synSeparatortypeval
public static final java.lang.String synCustomVariables
classIName
,
classJNDIName
,
Constant Field Valuespublic static final java.lang.String classIFactory
public static final java.lang.String classIName
public static final java.lang.String classAttributes
public static final java.lang.String classAttribute
public static final java.lang.String classIDir
public static final java.lang.String classIUserDir
public static final java.lang.String userDirectory
public static final java.lang.String classJNDIName
classIDir
,
Constant Field Valuespublic static final java.lang.String searchScope
public static final java.lang.String searchLimit
public static final java.lang.String searchTimeout
public static final java.lang.String jndiConnectAsUser
public static final java.lang.String jndiLogin
public static final java.lang.String jndiPassword
public static final java.lang.String jndiBaseURL
public static final java.lang.String jndiCustomVariables
public static final java.lang.String jndipoolConnections
public static final java.lang.String jndipoolSize
public static final java.lang.String cleanDNs
public static final java.lang.String defaultReaderACLs
public static java.util.Properties namingSyntax(COM.FutureTense.Interfaces.ICS ics)
public static java.util.Hashtable JNDIEnvironment(COM.FutureTense.Interfaces.ICS ics) throws DirectoryException
DirectoryException
Context.SECURITY_PRINCIPAL
,
javax.naming.Context#CREDENTIALS
public static java.lang.String getDefaultValue(java.lang.String property)
property
- for which to find the default value.public static java.lang.String getProperty(COM.FutureTense.Interfaces.ICS ics, java.lang.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 java.lang.String getProperty(java.lang.String property)
public static java.lang.String getRequiredProperty(COM.FutureTense.Interfaces.ICS ics, java.lang.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 returnjava.lang.Exception
- if the property is undefinedDirectoryException
public static boolean isIgnoreCaseInLDAP(COM.FutureTense.Interfaces.ICS ics)
ics
- a COM.FutureTense.Interfaces.ICS
context