Skip navigation links
com.octetstring.vde.backend
Class Adapter
java.lang.Object
com.octetstring.vde.backend.Adapter
-
public abstract class Adapter
- extends java.lang.Object
Method Summary |
abstract com.asn1c.core.Int8 |
add(Credentials creds, Entry entry, Chain chain)
|
boolean |
bind(DirectoryString dn, BinarySyntax password, Credentials creds, Chain chain)
|
abstract void |
configureAdapter(AdapterConfig cfg, java.lang.String msg)
|
abstract com.asn1c.core.Int8 |
delete(Credentials creds, DirectoryString name, Chain chain)
|
void |
filterUnRetrievableAttributes(Entry entry)
|
abstract EntrySet |
get(Credentials creds, DirectoryString base, int scope, Filter filter, boolean typesOnly, java.util.Vector<DirectoryString> attributes, Chain chain)
|
AdapterConfig |
getAdapterConfig()
|
AdapterInfo |
getAdapterInfo()
|
abstract java.lang.String |
getAdapterNum()
|
abstract Entry |
getByID(java.lang.Integer id)
|
java.lang.ClassLoader |
getClassLoader()
|
java.lang.String |
getName()
|
java.lang.String |
getParentLoggerName()
|
PluginManager |
getPluginManager()
|
abstract java.util.HashMap<java.lang.Object,java.lang.Object> |
getStatus()
|
void |
initializeAdapter(AdapterConfig adapterConfig, java.lang.String msg)
|
static boolean |
isCompareOperation(int scope, Filter filter, java.util.List<DirectoryString> attributes)
This method returns true if the LDAP search request satisfies LDAP compare request. |
boolean |
isSASLDigestMD5(Credentials creds)
|
abstract void |
modify(Credentials creds, DirectoryString name, java.util.Vector<EntryChange> changeEntries, Chain chain)
|
abstract com.asn1c.core.Int8 |
rename(Credentials creds, DirectoryString oldname, DirectoryString newname, DirectoryString newsuffix, boolean removeoldrdn, Chain chain)
|
void |
setAdapterConfig(AdapterConfig adapterConfig)
|
abstract void |
setAdapterNumText(java.lang.String msg)
|
abstract void |
stopAdapter()
Called AFTER a backend is de-registered |
void |
stopAdapter(boolean nice)
|
abstract void |
unbind(DirectoryString bounddn)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Adapter
public Adapter()
getParentLoggerName
public java.lang.String getParentLoggerName()
getClassLoader
public java.lang.ClassLoader getClassLoader()
initializeAdapter
public final void initializeAdapter(AdapterConfig adapterConfig,
java.lang.String msg)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
bind
public boolean bind(DirectoryString dn,
BinarySyntax password,
Credentials creds,
Chain chain)
throws DirectoryException,
ChainException
-
- Throws:
DirectoryException
ChainException
configureAdapter
public abstract void configureAdapter(AdapterConfig cfg,
java.lang.String msg)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
add
public abstract com.asn1c.core.Int8 add(Credentials creds,
Entry entry,
Chain chain)
throws DirectoryException,
ChainException
-
- Throws:
DirectoryException
ChainException
delete
public abstract com.asn1c.core.Int8 delete(Credentials creds,
DirectoryString name,
Chain chain)
throws DirectoryException,
ChainException
-
- Throws:
DirectoryException
ChainException
get
public abstract EntrySet get(Credentials creds,
DirectoryString base,
int scope,
Filter filter,
boolean typesOnly,
java.util.Vector<DirectoryString> attributes,
Chain chain)
throws DirectoryException,
ChainException
-
- Throws:
DirectoryException
ChainException
getByID
public abstract Entry getByID(java.lang.Integer id)
modify
public abstract void modify(Credentials creds,
DirectoryString name,
java.util.Vector<EntryChange> changeEntries,
Chain chain)
throws DirectoryException,
ChainException
-
- Throws:
DirectoryException
ChainException
rename
public abstract com.asn1c.core.Int8 rename(Credentials creds,
DirectoryString oldname,
DirectoryString newname,
DirectoryString newsuffix,
boolean removeoldrdn,
Chain chain)
throws DirectoryException,
ChainException
-
- Throws:
DirectoryException
ChainException
unbind
public abstract void unbind(DirectoryString bounddn)
setAdapterNumText
public abstract void setAdapterNumText(java.lang.String msg)
getAdapterNum
public abstract java.lang.String getAdapterNum()
getStatus
public abstract java.util.HashMap<java.lang.Object,java.lang.Object> getStatus()
getName
public java.lang.String getName()
isSASLDigestMD5
public boolean isSASLDigestMD5(Credentials creds)
stopAdapter
public abstract void stopAdapter()
- Called AFTER a backend is de-registered
stopAdapter
public final void stopAdapter(boolean nice)
getAdapterConfig
public AdapterConfig getAdapterConfig()
setAdapterConfig
public void setAdapterConfig(AdapterConfig adapterConfig)
getAdapterInfo
public final AdapterInfo getAdapterInfo()
filterUnRetrievableAttributes
public void filterUnRetrievableAttributes(Entry entry)
getPluginManager
public final PluginManager getPluginManager()
isCompareOperation
public static boolean isCompareOperation(int scope,
Filter filter,
java.util.List<DirectoryString> attributes)
- This method returns true if the LDAP search request satisfies LDAP compare request. The request is treated as compare iff: - the scope is set to BASEOBJECT - the filter string contains a simple assertion: "<type>=<value>" - the returning attributes list is present but empty.
Skip navigation links
Copyright © 2000-2015 Oracle and/or its affiliates. All Rights Reserved.