|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.idm.connection.Connection
oracle.idm.connection.ldap.LdapConnection
public class LdapConnection
This class represents LDAP connections.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.idm.connection.Connection |
---|
Connection.BusyInfo, Connection.CaptureInfo, Connection.CloseInfo, Connection.CountInfo, Connection.IdleInfo, Connection.InvalidateInfo, Connection.Match, Connection.OpenInfo, Connection.Operation, Connection.OperationInfo, Connection.Parameter, Connection.ProxyInfo, Connection.ReleaseInfo, Connection.RemoveInfo, Connection.ReturnInfo, Connection.Status, Connection.ValidateInfo |
Field Summary | |
---|---|
static java.lang.String |
TYPE Use for LDAP connection type parameter value. |
Fields inherited from class oracle.idm.connection.Connection |
---|
tag |
Constructor Summary | |
---|---|
protected |
LdapConnection(LdapConnectionManager manager, java.util.Map parameters) Creates an LDAP connection. |
Method Summary | |
---|---|
java.lang.Object |
clone() Cloned LDAP connections will not contain a reference to the LDAP context. |
protected void |
cloneEnvironment() This method clones the LDAP context environment of this connection. |
void |
finalize() Finalizes the LDAP connection. |
java.util.Map |
getEnvironment() This method gets the LDAP context environment of this connection. |
javax.naming.ldap.LdapContext |
getLdapContext() Returns the LDAP context of this connection. |
protected java.util.Map |
getRecordedState() Returns recorded state of this connection. |
java.lang.String |
getType() Returns the connection type. |
protected void |
recordState() Records the connection state, called upon capture and remove operations. |
protected void |
setLdapContext(javax.naming.ldap.LdapContext context) Sets the LDAP context for this connection. |
protected void |
unrecordState() Unrecords the connection state, called upon release and return operations. |
protected void |
xprintBody(XmlPrintWriter out) This method prints the connection XML tag body. |
Methods inherited from class oracle.idm.connection.Connection |
---|
check, compareTo, getBusyInfo, getCaptureInfo, getCloseInfo, getConnectionDelegate, getConnectionGroup, getConnectionPool, getIdleInfo, getInvalidateInfo, getLogger, getOpenInfo, getOperationInfo, getProxyInfo, getReleaseInfo, getRemoveInfo, getReturnInfo, getSerialNumber, getValidateInfo, isClone, isMatchingType, recordCapture, recordClose, recordInvalidate, recordOpen, recordProxy, recordRelease, recordRemove, recordReturn, recordValidate, xprint |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TYPE
Constructor Detail |
---|
protected LdapConnection(LdapConnectionManager manager, java.util.Map parameters)
Method Detail |
---|
public void finalize() throws java.lang.Throwable
finalize
in class Connection
java.lang.Throwable
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
Connections are cloned when referenced in connection events and exceptions.
clone
in class Connection
java.lang.CloneNotSupportedException
public java.lang.String getType()
Connection
getType
in class Connection
public javax.naming.ldap.LdapContext getLdapContext()
protected void setLdapContext(javax.naming.ldap.LdapContext context)
public java.util.Map getEnvironment()
It will hide all sensitive parameters.
protected void cloneEnvironment()
It will hide all sensitive parameters.
protected java.util.Map getRecordedState()
protected void recordState() throws ConnectionException
This recorded state is used to check if the LDAP context has been altered by the connection users after the capture and remove operations.
recordState
in class Connection
ConnectionException
protected void unrecordState() throws ConnectionException
unrecordState
in class Connection
ConnectionException
protected void xprintBody(XmlPrintWriter out)
Connection
xprintBody
in class Connection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |