public class AuthenticationHandlerResponse extends Response<Boolean>
Modifier and Type | Field and Description |
---|---|
private Connection |
connection
Connection that authentication occurred on.
|
ENCODE_CNTRL_CHARS, encodeCntrlChars
Constructor and Description |
---|
AuthenticationHandlerResponse(boolean success,
ResultCode rc,
Connection conn)
Creates a new authentication response.
|
AuthenticationHandlerResponse(boolean success,
ResultCode rc,
Connection conn,
String msg)
Creates a new authentication response.
|
AuthenticationHandlerResponse(boolean success,
ResultCode rc,
Connection conn,
String msg,
ResponseControl[] controls,
int msgId)
Creates a new ldap response.
|
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection()
Returns the connection that the ldap operation occurred on.
|
String |
toString() |
getControl, getControls, getMatchedDn, getMessage, getMessageId, getReferralURLs, getResult, getResultCode
private final Connection connection
public AuthenticationHandlerResponse(boolean success, ResultCode rc, Connection conn)
success
- authentication resultrc
- result code from the underlying ldap operationconn
- connection the authentication occurred onpublic AuthenticationHandlerResponse(boolean success, ResultCode rc, Connection conn, String msg)
success
- authentication resultrc
- result code from the underlying ldap operationconn
- connection the authentication occurred onmsg
- authentication messagepublic AuthenticationHandlerResponse(boolean success, ResultCode rc, Connection conn, String msg, ResponseControl[] controls, int msgId)
success
- authentication resultrc
- result code from the underlying ldap operationconn
- connection the authentication occurred onmsg
- authentication messagecontrols
- response controls from the underlying ldap operationmsgId
- message id from the underlying ldap operationpublic Connection getConnection()
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.