org.openmdx.resource.ldap.spi
Class Connection
java.lang.Object
org.openmdx.resource.ldap.spi.Connection
- All Implemented Interfaces:
- Closeable, netscape.ldap.LDAPv2, netscape.ldap.LDAPv3, Connection
public class Connection
- extends Object
- implements Connection
LDAP Connection
| Fields inherited from interface netscape.ldap.LDAPv3 |
ALL_USER_ATTRS, CLIENTCONTROLS, NO_ATTRS, SERVERCONTROLS |
| Fields inherited from interface netscape.ldap.LDAPv2 |
BATCHSIZE, BIND, DEFAULT_PORT, DEREF, DEREF_ALWAYS, DEREF_FINDING, DEREF_NEVER, DEREF_SEARCHING, PROTOCOL_VERSION, REFERRALS, REFERRALS_HOP_LIMIT, REFERRALS_REBIND_PROC, SCOPE_BASE, SCOPE_ONE, SCOPE_SUB, SERVER_TIMELIMIT, SIZELIMIT, TIMELIMIT |
|
Method Summary |
void |
abandon(netscape.ldap.LDAPSearchResults arg0)
|
void |
add(netscape.ldap.LDAPEntry arg0)
|
void |
add(netscape.ldap.LDAPEntry arg0,
netscape.ldap.LDAPConstraints arg1)
|
void |
authenticate(int arg0,
String arg1,
String arg2)
|
void |
authenticate(String arg0,
String arg1)
|
void |
bind(int arg0,
String arg1,
String arg2)
|
void |
bind(String arg0,
String arg1)
|
void |
close()
|
boolean |
compare(String arg0,
netscape.ldap.LDAPAttribute arg1)
|
boolean |
compare(String arg0,
netscape.ldap.LDAPAttribute arg1,
netscape.ldap.LDAPConstraints arg2)
|
void |
connect(int arg0,
String arg1,
int arg2,
String arg3,
String arg4)
|
void |
connect(String arg0,
int arg1)
|
void |
connect(String arg0,
int arg1,
String arg2,
String arg3)
|
void |
delete(String arg0)
|
void |
delete(String arg0,
netscape.ldap.LDAPConstraints arg1)
|
void |
disconnect()
|
netscape.ldap.LDAPExtendedOperation |
extendedOperation(netscape.ldap.LDAPExtendedOperation arg0)
|
protected netscape.ldap.LDAPv3 |
getDelegate()
|
Object |
getOption(int arg0)
|
netscape.ldap.LDAPControl[] |
getResponseControls()
|
void |
modify(String arg0,
netscape.ldap.LDAPModification arg1)
|
void |
modify(String arg0,
netscape.ldap.LDAPModification arg1,
netscape.ldap.LDAPConstraints arg2)
|
void |
modify(String arg0,
netscape.ldap.LDAPModificationSet arg1)
|
void |
modify(String arg0,
netscape.ldap.LDAPModificationSet arg1,
netscape.ldap.LDAPConstraints arg2)
|
netscape.ldap.LDAPEntry |
read(String arg0)
|
netscape.ldap.LDAPEntry |
read(String arg0,
String[] arg1)
|
netscape.ldap.LDAPEntry |
read(String arg0,
String[] arg1,
netscape.ldap.LDAPSearchConstraints arg2)
|
void |
rename(String arg0,
String arg1,
boolean arg2)
|
void |
rename(String arg0,
String arg1,
boolean arg2,
netscape.ldap.LDAPConstraints arg3)
|
void |
rename(String arg0,
String arg1,
String arg2,
boolean arg3)
|
void |
rename(String arg0,
String arg1,
String arg2,
boolean arg3,
netscape.ldap.LDAPConstraints arg4)
|
netscape.ldap.LDAPSearchResults |
search(String arg0,
int arg1,
String arg2,
String[] arg3,
boolean arg4)
|
netscape.ldap.LDAPSearchResults |
search(String arg0,
int arg1,
String arg2,
String[] arg3,
boolean arg4,
netscape.ldap.LDAPSearchConstraints arg5)
|
void |
setManagedConnection(ManagedConnection managedConnection)
Used by ManagedConnection |
void |
setOption(int arg0,
Object arg1)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Connection
public Connection()
setManagedConnection
public void setManagedConnection(ManagedConnection managedConnection)
- Used by ManagedConnection
getDelegate
protected final netscape.ldap.LDAPv3 getDelegate()
close
public void close()
throws IOException
- Specified by:
close in interface Closeable
- Throws:
IOException
abandon
public void abandon(netscape.ldap.LDAPSearchResults arg0)
throws netscape.ldap.LDAPException
- Specified by:
abandon in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
add
public void add(netscape.ldap.LDAPEntry arg0,
netscape.ldap.LDAPConstraints arg1)
throws netscape.ldap.LDAPException
- Specified by:
add in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
add
public void add(netscape.ldap.LDAPEntry arg0)
throws netscape.ldap.LDAPException
- Specified by:
add in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
authenticate
public void authenticate(int arg0,
String arg1,
String arg2)
throws netscape.ldap.LDAPException
- Specified by:
authenticate in interface netscape.ldap.LDAPv3
- Throws:
netscape.ldap.LDAPException
authenticate
public void authenticate(String arg0,
String arg1)
throws netscape.ldap.LDAPException
- Specified by:
authenticate in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
bind
public void bind(int arg0,
String arg1,
String arg2)
throws netscape.ldap.LDAPException
- Specified by:
bind in interface netscape.ldap.LDAPv3
- Throws:
netscape.ldap.LDAPException
bind
public void bind(String arg0,
String arg1)
throws netscape.ldap.LDAPException
- Specified by:
bind in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
compare
public boolean compare(String arg0,
netscape.ldap.LDAPAttribute arg1,
netscape.ldap.LDAPConstraints arg2)
throws netscape.ldap.LDAPException
- Specified by:
compare in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
compare
public boolean compare(String arg0,
netscape.ldap.LDAPAttribute arg1)
throws netscape.ldap.LDAPException
- Specified by:
compare in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
connect
public void connect(int arg0,
String arg1,
int arg2,
String arg3,
String arg4)
throws netscape.ldap.LDAPException
- Specified by:
connect in interface netscape.ldap.LDAPv3
- Throws:
netscape.ldap.LDAPException
connect
public void connect(String arg0,
int arg1,
String arg2,
String arg3)
throws netscape.ldap.LDAPException
- Specified by:
connect in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
connect
public void connect(String arg0,
int arg1)
throws netscape.ldap.LDAPException
- Specified by:
connect in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
delete
public void delete(String arg0,
netscape.ldap.LDAPConstraints arg1)
throws netscape.ldap.LDAPException
- Specified by:
delete in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
delete
public void delete(String arg0)
throws netscape.ldap.LDAPException
- Specified by:
delete in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
disconnect
public void disconnect()
throws netscape.ldap.LDAPException
- Specified by:
disconnect in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
extendedOperation
public netscape.ldap.LDAPExtendedOperation extendedOperation(netscape.ldap.LDAPExtendedOperation arg0)
throws netscape.ldap.LDAPException
- Specified by:
extendedOperation in interface netscape.ldap.LDAPv3
- Throws:
netscape.ldap.LDAPException
getOption
public Object getOption(int arg0)
throws netscape.ldap.LDAPException
- Specified by:
getOption in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
getResponseControls
public netscape.ldap.LDAPControl[] getResponseControls()
- Specified by:
getResponseControls in interface netscape.ldap.LDAPv3
modify
public void modify(String arg0,
netscape.ldap.LDAPModification arg1,
netscape.ldap.LDAPConstraints arg2)
throws netscape.ldap.LDAPException
- Specified by:
modify in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
modify
public void modify(String arg0,
netscape.ldap.LDAPModification arg1)
throws netscape.ldap.LDAPException
- Specified by:
modify in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
modify
public void modify(String arg0,
netscape.ldap.LDAPModificationSet arg1,
netscape.ldap.LDAPConstraints arg2)
throws netscape.ldap.LDAPException
- Specified by:
modify in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
modify
public void modify(String arg0,
netscape.ldap.LDAPModificationSet arg1)
throws netscape.ldap.LDAPException
- Specified by:
modify in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
read
public netscape.ldap.LDAPEntry read(String arg0,
String[] arg1,
netscape.ldap.LDAPSearchConstraints arg2)
throws netscape.ldap.LDAPException
- Specified by:
read in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
read
public netscape.ldap.LDAPEntry read(String arg0,
String[] arg1)
throws netscape.ldap.LDAPException
- Specified by:
read in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
read
public netscape.ldap.LDAPEntry read(String arg0)
throws netscape.ldap.LDAPException
- Specified by:
read in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
rename
public void rename(String arg0,
String arg1,
boolean arg2,
netscape.ldap.LDAPConstraints arg3)
throws netscape.ldap.LDAPException
- Specified by:
rename in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
rename
public void rename(String arg0,
String arg1,
boolean arg2)
throws netscape.ldap.LDAPException
- Specified by:
rename in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
rename
public void rename(String arg0,
String arg1,
String arg2,
boolean arg3,
netscape.ldap.LDAPConstraints arg4)
throws netscape.ldap.LDAPException
- Specified by:
rename in interface netscape.ldap.LDAPv3
- Throws:
netscape.ldap.LDAPException
rename
public void rename(String arg0,
String arg1,
String arg2,
boolean arg3)
throws netscape.ldap.LDAPException
- Specified by:
rename in interface netscape.ldap.LDAPv3
- Throws:
netscape.ldap.LDAPException
search
public netscape.ldap.LDAPSearchResults search(String arg0,
int arg1,
String arg2,
String[] arg3,
boolean arg4,
netscape.ldap.LDAPSearchConstraints arg5)
throws netscape.ldap.LDAPException
- Specified by:
search in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
search
public netscape.ldap.LDAPSearchResults search(String arg0,
int arg1,
String arg2,
String[] arg3,
boolean arg4)
throws netscape.ldap.LDAPException
- Specified by:
search in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
setOption
public void setOption(int arg0,
Object arg1)
throws netscape.ldap.LDAPException
- Specified by:
setOption in interface netscape.ldap.LDAPv2
- Throws:
netscape.ldap.LDAPException
This software is published under the BSD license. Copyright © 2003-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.