| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv static final int | |
| private static final boolean | |
| private LdapSchemaCtx. | |
| private static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| private int | |
| private static final int | |
| private boolean | |
| pack-priv static final int | |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private final void | |
| public final void | bind(Name name, Object obj, Attributes attrs)
Overrides com. Implements javax. Binds a name to an object, along with associated attributes. |
| public void | close()
Overrides com. Implements javax. Closes this context. |
| protected final HierMemDirCtx | |
| pack-priv static DirContext | createSchemaTree(Hashtable<String, Object> env, String subschemasubentry, LdapCtx schemaEntry, Attributes schemaAttrs, boolean netscapeBug)
|
| private static final Attributes | |
| private final void | deleteServerSchema(Attributes origAttrs)
When we delete an entry, we use the original to make sure that any formatting inconsistencies are eliminated. |
| protected final void | doBind(Name name, Object obj, Attributes attrs, boolean useFactory)
Overrides com.
|
| protected final DirContext | doCreateSubcontext(Name name, Attributes attrs)
Overrides com.
|
| protected final void | |
| protected final void | |
| protected final void | doRebind(Name name, Object obj, Attributes attrs, boolean useFactory)
Overrides com.
|
| protected final void | |
| protected final void | |
| private final void | modifyServerSchema(Attributes origAttrs, Attributes newAttrs)
When we modify an entry, we use the original attribute value in the schema to make sure that any formatting inconsistencies are eliminated. |
| public final void | rebind(Name name, Object obj, Attributes attrs)
Overrides com. Implements javax. Binds a name to an object, along with associated attributes, overwriting any existing binding. |
| pack-priv final LdapSchemaCtx |
| ATTRIBUTE | back to summary |
|---|---|
| pack-priv static final int ATTRIBUTE | |
| ATTRIBUTE_ROOT | back to summary |
|---|---|
| pack-priv static final int ATTRIBUTE_ROOT | |
| debug | back to summary |
|---|---|
| private static final boolean debug | |
| info | back to summary |
|---|---|
| private LdapSchemaCtx. | |
| LEAF | back to summary |
|---|---|
| private static final int LEAF | |
| MATCHRULE | back to summary |
|---|---|
| pack-priv static final int MATCHRULE | |
| MATCHRULE_ROOT | back to summary |
|---|---|
| pack-priv static final int MATCHRULE_ROOT | |
| OBJECTCLASS | back to summary |
|---|---|
| pack-priv static final int OBJECTCLASS | |
| OBJECTCLASS_ROOT | back to summary |
|---|---|
| pack-priv static final int OBJECTCLASS_ROOT | |
| objectType | back to summary |
|---|---|
| private int objectType | |
| SCHEMA_ROOT | back to summary |
|---|---|
| private static final int SCHEMA_ROOT | |
| setupMode | back to summary |
|---|---|
| private boolean setupMode | |
| SYNTAX | back to summary |
|---|---|
| pack-priv static final int SYNTAX | |
| SYNTAX_ROOT | back to summary |
|---|---|
| pack-priv static final int SYNTAX_ROOT | |
| LdapSchemaCtx | back to summary |
|---|---|
| private LdapSchemaCtx(int objectType, Hashtable<String, Object> environment, LdapSchemaCtx. | |
| addServerSchema | back to summary |
|---|---|
| private final void addServerSchema(Attributes attrs) throws NamingException | |
| bind | back to summary |
|---|---|
| public final void bind(Name name, Object obj, Attributes attrs) throws NamingException Overrides com. Implements javax. Doc from javax. Binds a name to an object, along with associated attributes.
If
| |
| close | back to summary |
|---|---|
| public void close() throws NamingException Overrides com. Implements javax. Doc from javax. Closes this context. This method releases this context's resources immediately, instead of waiting for them to be released automatically by the garbage collector. This method is idempotent: invoking it on a context that has already been closed has no effect. Invoking any other method on a closed context is not allowed, and results in undefined behaviour.
| |
| createNewCtx | back to summary |
|---|---|
| protected final HierMemDirCtx createNewCtx() Overrides com. | |
| createSchemaTree | back to summary |
|---|---|
| pack-priv static DirContext createSchemaTree(Hashtable<String, Object> env, String subschemasubentry, LdapCtx schemaEntry, Attributes schemaAttrs, boolean netscapeBug) throws NamingException | |
| deepClone | back to summary |
|---|---|
| private static final Attributes deepClone(Attributes orig) throws NamingException | |
| deleteServerSchema | back to summary |
|---|---|
| private final void deleteServerSchema(Attributes origAttrs) throws NamingException When we delete an entry, we use the original to make sure that any formatting inconsistencies are eliminated. This is because we're just deleting a value from an attribute on the server and there might not be any checks for extra spaces or parens. | |
| doBind | back to summary |
|---|---|
| protected final void doBind(Name name, Object obj, Attributes attrs, boolean useFactory) throws NamingException | |
| doCreateSubcontext | back to summary |
|---|---|
| protected final DirContext doCreateSubcontext(Name name, Attributes attrs) throws NamingException Overrides com. | |
| doDestroySubcontext | back to summary |
|---|---|
| protected final void doDestroySubcontext(Name name) throws NamingException Overrides com. | |
| doModifyAttributes | back to summary |
|---|---|
| protected final void doModifyAttributes(ModificationItem[] mods) throws NamingException Overrides com. | |
| doRebind | back to summary |
|---|---|
| protected final void doRebind(Name name, Object obj, Attributes attrs, boolean useFactory) throws NamingException | |
| doRename | back to summary |
|---|---|
| protected final void doRename(Name oldname, Name newname) throws NamingException | |
| doUnbind | back to summary |
|---|---|
| protected final void doUnbind(Name name) throws NamingException | |
| modifyServerSchema | back to summary |
|---|---|
| private final void modifyServerSchema(Attributes origAttrs, Attributes newAttrs) throws NamingException When we modify an entry, we use the original attribute value in the schema to make sure that any formatting inconsistencies are eliminated. A modification is done by deleting the original value and adding a new value with the modification. | |
| rebind | back to summary |
|---|---|
| public final void rebind(Name name, Object obj, Attributes attrs) throws NamingException Overrides com. Implements javax. Doc from javax. Binds a name to an object, along with associated attributes,
overwriting any existing binding.
If
| |
| setup | back to summary |
|---|---|
| pack-priv final LdapSchemaCtx setup(int objectType, String name, Attributes attrs) throws NamingException | |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private String | |
| private final ReentrantLock | |
| pack-priv LdapSchemaParser | |
| private int | |
| private LdapCtx | |
| private String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| private LdapCtx |
| hasLdapsScheme | back to summary |
|---|---|
| private boolean hasLdapsScheme | |
| host | back to summary |
|---|---|
| private String host | |
| lock | back to summary |
|---|---|
| private final ReentrantLock lock | |
| parser | back to summary |
|---|---|
| pack-priv LdapSchemaParser parser | |
| port | back to summary |
|---|---|
| private int port | |
| schemaEntry | back to summary |
|---|---|
| private LdapCtx schemaEntry | |
| schemaEntryName | back to summary |
|---|---|
| private String schemaEntryName | |
| SchemaInfo | back to summary |
|---|---|
| pack-priv SchemaInfo(String schemaEntryName, LdapCtx schemaEntry, LdapSchemaParser parser) | |
| close | back to summary |
|---|---|
| pack-priv void close() throws NamingException | |
| modifyAttributes | back to summary |
|---|---|
| pack-priv void modifyAttributes(Hashtable<?, ?> env, ModificationItem[] mods) throws NamingException | |
| modifyAttributes | back to summary |
|---|---|
| pack-priv void modifyAttributes(Hashtable<?, ?> env, int mod, Attributes attrs) throws NamingException | |
| reopenEntry | back to summary |
|---|---|
| private LdapCtx reopenEntry(Hashtable<?, ?> env) throws NamingException | |