org.apache.directory.ldap.client.api.LdapConnection.anonymousBind()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(142)

本文整理了Java中org.apache.directory.ldap.client.api.LdapConnection.anonymousBind()方法的一些代码示例,展示了LdapConnection.anonymousBind()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LdapConnection.anonymousBind()方法的具体详情如下:
包路径:org.apache.directory.ldap.client.api.LdapConnection
类名称:LdapConnection
方法名:anonymousBind

LdapConnection.anonymousBind介绍

[英]Anonymous bind on a server.
[中]服务器上的匿名绑定。

代码示例

代码示例来源:origin: org.apache.directory.api/api-all

/**
 * {@inheritDoc}
 */
@Override
public void anonymousBind() throws LdapException
{
  connection.anonymousBind();
  bindCalled = true;
}

代码示例来源:origin: org.apache.directory.api/api-ldap-client-all

/**
 * {@inheritDoc}
 */
@Override
public void anonymousBind() throws LdapException
{
  connection.anonymousBind();
  bindCalled = true;
}

代码示例来源:origin: org.apache.directory.api/api-all

/**
 * {@inheritDoc}
 */
@Override
public void anonymousBind() throws LdapException
{
  connection.anonymousBind();
}

代码示例来源:origin: org.apache.directory.api/api-ldap-client-api

/**
 * {@inheritDoc}
 */
@Override
public void anonymousBind() throws LdapException
{
  connection.anonymousBind();
  bindCalled = true;
}

代码示例来源:origin: org.apache.directory.api/api-ldap-client-api

/**
 * {@inheritDoc}
 */
@Override
public void anonymousBind() throws LdapException
{
  connection.anonymousBind();
}

代码示例来源:origin: org.apache.directory.api/api-ldap-client-all

/**
 * {@inheritDoc}
 */
@Override
public void anonymousBind() throws LdapException
{
  connection.anonymousBind();
}

代码示例来源:origin: kamax-matrix/mxisd

protected void bind(LdapConnection conn) throws LdapException {
  if (StringUtils.isBlank(cfg.getConnection().getBindDn()) && StringUtils.isBlank(cfg.getConnection().getBindPassword())) {
    conn.anonymousBind();
  } else {
    conn.bind(cfg.getConnection().getBindDn(), cfg.getConnection().getBindPassword());
  }
}

代码示例来源:origin: com.floragunn/search-guard

ldapConnection.bind(bindDn, settings.get(ConfigConstants.SEARCHGUARD_AUTHENTICATION_LDAP_PASSWORD, null));
} else {
  ldapConnection.anonymousBind();

代码示例来源:origin: com.floragunn/search-guard

ldapConnection.bind(bindDn, settings.get(ConfigConstants.SEARCHGUARD_AUTHENTICATION_LDAP_PASSWORD, null));
} else {
  ldapConnection.anonymousBind();

相关文章