public class LDAPSession extends AbstractSession
| Modifier and Type | Field and Description |
|---|---|
protected InputStream |
in |
protected OutputStream |
out |
static int |
SIZE_LIMIT |
PASSWORD_ENCODING_ALGORITHM, segmentName, server, socket, username| Constructor and Description |
|---|
LDAPSession(Socket socket,
AbstractServer server) |
| Modifier and Type | Method and Description |
|---|---|
protected org.openmdx.portal.servlet.Codes |
getCodes(javax.jdo.PersistenceManager pm) |
protected String |
getProviderName() |
protected void |
handleRequest(com.sun.jndi.ldap.BerDecoder reqBer) |
protected boolean |
isLdapV3() |
protected org.opencrx.application.ldap.LDAPSession.LDAPFilter |
parseFilter(com.sun.jndi.ldap.BerDecoder reqBer) |
protected org.opencrx.application.ldap.LDAPSession.LDAPFilter |
parseNestedFilter(com.sun.jndi.ldap.BerDecoder reqBer,
int ldapFilterType,
int end) |
protected org.opencrx.application.ldap.LDAPSession.LDAPQuery |
parseQuery(String dn,
com.sun.jndi.ldap.BerDecoder reqBer,
javax.jdo.PersistenceManager pm) |
protected org.opencrx.application.ldap.LDAPSession.LDAPFilter |
parseSimpleFilter(com.sun.jndi.ldap.BerDecoder reqBer,
int ldapFilterOperator) |
void |
run() |
protected void |
sendClient(int currentMessageId,
int responseOperation,
int status,
String message) |
protected void |
sendEntry(int currentMessageId,
String dn,
Map<String,Object> attributes) |
protected void |
sendErr(int currentMessageId,
int responseOperation,
Exception e) |
protected void |
sendResponse(com.sun.jndi.ldap.BerEncoder berEncoder) |
void |
stop()
Stop session.
|
login, logout, newPersistenceManagerpublic static final int SIZE_LIMIT
protected OutputStream out
protected InputStream in
public LDAPSession(Socket socket, AbstractServer server)
public void stop()
AbstractSessionstop in class AbstractSessionprotected boolean isLdapV3()
public void run()
protected String getProviderName()
protected org.openmdx.portal.servlet.Codes getCodes(javax.jdo.PersistenceManager pm)
protected void handleRequest(com.sun.jndi.ldap.BerDecoder reqBer)
throws IOException
IOExceptionprotected org.opencrx.application.ldap.LDAPSession.LDAPQuery parseQuery(String dn, com.sun.jndi.ldap.BerDecoder reqBer, javax.jdo.PersistenceManager pm) throws IOException
IOExceptionprotected org.opencrx.application.ldap.LDAPSession.LDAPFilter parseFilter(com.sun.jndi.ldap.BerDecoder reqBer)
throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceExceptionprotected org.opencrx.application.ldap.LDAPSession.LDAPFilter parseNestedFilter(com.sun.jndi.ldap.BerDecoder reqBer,
int ldapFilterType,
int end)
throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceExceptionprotected org.opencrx.application.ldap.LDAPSession.LDAPFilter parseSimpleFilter(com.sun.jndi.ldap.BerDecoder reqBer,
int ldapFilterOperator)
throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceExceptionprotected void sendEntry(int currentMessageId,
String dn,
Map<String,Object> attributes)
throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceExceptionprotected void sendErr(int currentMessageId,
int responseOperation,
Exception e)
throws IOException
IOExceptionprotected void sendClient(int currentMessageId,
int responseOperation,
int status,
String message)
throws IOException
IOExceptionprotected void sendResponse(com.sun.jndi.ldap.BerEncoder berEncoder)
throws IOException
IOExceptionThis software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.