📄 e495. setting ldap connection request controls.txt
字号:
This example uses the JNDI/LDAP service provider to connect to an LDAP server on the local machine and initializes its connection request controls.
try {
// Create connection controls to use
Control[] connectCtls = new Control[]{new SomeControl()};
LdapContext ctx = new InitialLdapContext(env, connectCtls);
} catch (NamingException e) {
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -