本文整理了Java中com.unboundid.ldap.sdk.LDAPConnection.getLastBindRequest()
方法的一些代码示例,展示了LDAPConnection.getLastBindRequest()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LDAPConnection.getLastBindRequest()
方法的具体详情如下:
包路径:com.unboundid.ldap.sdk.LDAPConnection
类名称:LDAPConnection
方法名:getLastBindRequest
[英]Retrieves the last successful bind request processed on this connection.
[中]检索上次在此连接上成功处理的绑定请求。
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
/**
* Retrieves the last successful bind request processed on the provided
* connection.
*
* @param connection The LDAP connection for which to obtain the last
* successful bind request.
*
* @return The last successful bind request processed on the provided
* connection. It may be {@code null} if no bind has been performed
* on the connection, or if the last bind attempt was not successful.
*/
@InternalUseOnly()
public static BindRequest getLastBindRequest(final LDAPConnection connection)
{
return connection.getLastBindRequest();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
/**
* Retrieves the last successful bind request processed on the provided
* connection.
*
* @param connection The LDAP connection for which to obtain the last
* successful bind request.
*
* @return The last successful bind request processed on the provided
* connection. It may be {@code null} if no bind has been performed
* on the connection, or if the last bind attempt was not successful.
*/
@InternalUseOnly()
public static BindRequest getLastBindRequest(final LDAPConnection connection)
{
return connection.getLastBindRequest();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
connection.getLastUsedSocketFactory(),
connection.getConnectionOptions());
bindRequest = connection.getLastBindRequest();
代码示例来源:origin: org.esbtools.auth/cert-ldap-login-module-common
bindResult = ldapConnection.bind(
ldapConfiguration.getBindDn(), ldapConfiguration.getBindDNPwd());
} else if (ldapConnection.getLastBindRequest() == null) {
bindResult = ldapConnection.bind(
ldapConfiguration.getBindDn(), ldapConfiguration.getBindDNPwd());
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
connection.getLastUsedSocketFactory(),
connection.getConnectionOptions());
bindRequest = connection.getLastBindRequest();
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
connection.getLastUsedSocketFactory(),
connection.getConnectionOptions());
bindRequest = connection.getLastBindRequest();
内容来源于网络,如有侵权,请联系作者删除!