Package io.milton.ldap
Class LdapResponseHandler
java.lang.Object
io.milton.ldap.LdapResponseHandler
- Author:
- brad
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoiddumpBer(byte[] inbuf, int offset) protected Stringprotected StringbooleanisLdapV3()voidsendBaseContext(int currentMessageId) Send Base ContextvoidsendBindResponse(int currentMessageId, int status, byte[] serverResponse) voidsendClient(int currentMessageId, int responseOperation, int status, String message) voidsendComputerContext(int currentMessageId, Set<String> returningAttributes) Send ComputerContextvoidvoidvoidvoidsendRootDSE(int currentMessageId) Send Root DSE
-
Constructor Details
-
LdapResponseHandler
-
-
Method Details
-
isLdapV3
public boolean isLdapV3() -
sendRootDSE
Send Root DSE- Parameters:
currentMessageId- current message id- Throws:
IOException- on error
-
sendEntry
public void sendEntry(int currentMessageId, String dn, Map<String, Object> attributes) throws IOException- Throws:
IOException
-
sendErr
- Throws:
IOException
-
sendClient
public void sendClient(int currentMessageId, int responseOperation, int status, String message) throws IOException - Throws:
IOException
-
sendResponse
- Throws:
IOException
-
sendBaseContext
Send Base Context- Parameters:
currentMessageId- current message id- Throws:
IOException- on error
-
sendComputerContext
public void sendComputerContext(int currentMessageId, Set<String> returningAttributes) throws IOException Send ComputerContext- Parameters:
currentMessageId- current message idreturningAttributes- attributes to return- Throws:
IOException- on error
-
getServiceInfo
-
getCurrentHostName
- Throws:
UnknownHostException
-
dumpBer
public void dumpBer(byte[] inbuf, int offset) -
addIf
-
sendBindResponse
public void sendBindResponse(int currentMessageId, int status, byte[] serverResponse) throws IOException - Throws:
IOException
-