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