|
Oracle Virtual Directory Java API Reference 11g Release 1 (11.1.1) E10688-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
com.octetstring.vde.chain.BasePlugin
public class BasePlugin
Convenience class for only implementing certain parts of the Plugin interface
| Constructor Summary | |
|---|---|
BasePlugin() |
|
| Method Summary | |
|---|---|
void |
add(Chain chain, Credentials creds, Entry entry, com.asn1c.core.Int8 result)Moves Through the "add" operation's chain |
boolean |
available(Chain chain, DirectoryString base)Determines if a plugin is available for the current chain |
void |
bind(Chain chain, Credentials creds, DirectoryString dn, BinarySyntax password, com.asn1c.core.Bool result)Moves through the "bind" operation's chain |
void |
delete(Chain chain, Credentials creds, DirectoryString dn, com.asn1c.core.Int8 results)Moves through the "delete" operation's chain |
void |
destroy()Destroys the current plugin |
void |
get(Chain chain, Credentials creds, DirectoryString base, com.asn1c.core.Int8 scope, Filter filter, com.asn1c.core.Bool typesOnly, java.util.Vector<DirectoryString> attributes, java.util.Vector<EntrySet> result)Moves through the "get" operation's chain |
void |
init(PluginInit initParams, java.lang.String name)Passes initialization information to the Plugin |
void |
modify(Chain chain, Credentials creds, DirectoryString name, java.util.Vector<EntryChange> changeEntries)Moves through the "modify" operation's chain |
void |
postSearchComplete(Chain chain, ChainEntrySet entrySet)Run after all entries are returned |
void |
postSearchEntry(Chain chain, Credentials creds, java.util.Vector<DirectoryString> returnAttribs, Filter filter, com.asn1c.core.Int8 scope, DirectoryString base, Entry entry, ChainEntrySet entrySet)Run on each entry after a "get" is performed |
void |
rename(Chain chain, Credentials creds, DirectoryString oldName, DirectoryString newName, DirectoryString newSuffix, com.asn1c.core.Bool removeOldRdn, com.asn1c.core.Int8 results)Moves through the "rename" operation's chain |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasePlugin()
| Method Detail |
|---|
public void add(Chain chain,
Credentials creds,
Entry entry,
com.asn1c.core.Int8 result)
throws DirectorySchemaViolation,
DirectoryException,
ChainException
Pluginadd in interface Pluginchain - The curren chaincreds - The currently bound user's credentialsentry - The entry being addedresult - The result of the addDirectorySchemaViolationDirectoryExceptionChainException
public void bind(Chain chain,
Credentials creds,
DirectoryString dn,
BinarySyntax password,
com.asn1c.core.Bool result)
throws DirectoryException,
ChainException
Pluginbind in interface Pluginchain - The current chaincreds - The currently bound user's credentialsdn - The DN for the userpassword - The user's passwordresult - The result of the bindDirectoryExceptionChainException
public void delete(Chain chain,
Credentials creds,
DirectoryString dn,
com.asn1c.core.Int8 results)
throws DirectoryException,
ChainException
Plugindelete in interface Pluginchain - The current chaincreds - The current user's credentialsdn - The object to deleteresults - The LDAP result codeDirectoryExceptionChainException
public void get(Chain chain,
Credentials creds,
DirectoryString base,
com.asn1c.core.Int8 scope,
Filter filter,
com.asn1c.core.Bool typesOnly,
java.util.Vector<DirectoryString> attributes,
java.util.Vector<EntrySet> result)
throws DirectoryException,
ChainException
Pluginget in interface Pluginchain - The current chaincreds - The currently bound user's credentialsbase - The base of the searchscope - The scope of the searchfilter - The search's filtertypesOnly - Should entry contain valuesattributes - List of attributesresult - Final resultsDirectoryExceptionChainException
public void modify(Chain chain,
Credentials creds,
DirectoryString name,
java.util.Vector<EntryChange> changeEntries)
throws DirectoryException,
ChainException
Pluginmodify in interface Pluginchain - The current chaincreds - The currnet user's credentialsname - The name of the object being modifiedchangeEntries - The group of EntryChange ObjectsDirectoryExceptionChainException
public void rename(Chain chain,
Credentials creds,
DirectoryString oldName,
DirectoryString newName,
DirectoryString newSuffix,
com.asn1c.core.Bool removeOldRdn,
com.asn1c.core.Int8 results)
throws DirectoryException,
ChainException
Pluginrename in interface Pluginchain - The current Chaincreds - User's credentialsoldName - The old name of the entrynewName - The new name of the entrynewSuffix - The new suffix of the entryremoveOldRdn - Determine if the old RDN is to be removedresults - The results of the renameDirectoryExceptionChainException
public void postSearchEntry(Chain chain,
Credentials creds,
java.util.Vector<DirectoryString> returnAttribs,
Filter filter,
com.asn1c.core.Int8 scope,
DirectoryString base,
Entry entry,
ChainEntrySet entrySet)
throws DirectoryException,
ChainException
PluginpostSearchEntry in interface Pluginchain - The current chaincreds - The current user's credentialsreturnAttribs - The attributes being returnedfilter - The filterscope - The search scopebase - The search baseentry - The current entryentrySet - The complete entry setDirectoryExceptionChainException
public void postSearchComplete(Chain chain,
ChainEntrySet entrySet)
throws DirectoryException,
ChainException
PluginpostSearchComplete in interface Pluginchain - The current ChainentrySet - The complete entry setDirectoryExceptionChainException
public boolean available(Chain chain,
DirectoryString base)
Pluginavailable in interface Pluginchain - The current chainbase - The base DN
public void init(PluginInit initParams,
java.lang.String name)
throws ChainException
Plugininit in interface PlugininitParams - Hashmap of key/value pairs specified in initial configname - The name specified in the config for this PluginChainExceptionpublic void destroy()
Plugindestroy in interface Plugin
|
Oracle Virtual Directory Java API Reference 11g Release 1 (11.1.1) E10688-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||