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, newPersistenceManagerpublic 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()
AbstractSessionstop in class AbstractSessionprotected 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.IOExceptionprotected 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.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,
                         java.lang.String dn,
                         java.util.Map<java.lang.String,java.lang.Object> attributes)
                  throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceExceptionprotected void sendErr(int currentMessageId,
                       int responseOperation,
                       java.lang.Exception e)
                throws java.io.IOException
java.io.IOExceptionprotected void sendClient(int currentMessageId,
                          int responseOperation,
                          int status,
                          java.lang.String message)
                   throws java.io.IOException
java.io.IOExceptionprotected void sendResponse(com.sun.jndi.ldap.BerEncoder berEncoder)
                     throws java.io.IOException
java.io.IOExceptionThis software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.