本文整理了Java中com.novell.ldap.LDAPConnection.getConstraints()
方法的一些代码示例,展示了LDAPConnection.getConstraints()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LDAPConnection.getConstraints()
方法的具体详情如下:
包路径:com.novell.ldap.LDAPConnection
类名称:LDAPConnection
方法名:getConstraints
[英]Returns a copy of the set of constraints associated with this connection. These constraints apply to all operations performed through this connection (unless a different set of constraints is specified when calling an operation method).
[中]返回与此连接关联的约束集的副本。这些约束适用于通过此连接执行的所有操作(除非在调用操作方法时指定了一组不同的约束)。
代码示例来源:origin: glyptodon/guacamole-client
LDAPConstraints ldapConstraints = ldapConnection.getConstraints();
if (ldapConstraints == null)
ldapConstraints = new LDAPConstraints();
代码示例来源:origin: com.xpn.xwiki.platform/xwiki-core
LDAPConstraints constraints = this.connection.getConstraints();
constraints.setTimeLimit(1000);
constraints.setReferralFollowing(true);
代码示例来源:origin: org.xwiki.platform/xwiki-platform-ldap-authenticator
LDAPSearchConstraints constraints = new LDAPSearchConstraints(this.connection.getConstraints());
constraints.setTimeLimit(getTimeout(context));
constraints.setMaxResults(getMaxResults(context));
内容来源于网络,如有侵权,请联系作者删除!