public class LdapExample2 extends Object
Constructor and Description |
---|
LdapExample2() |
Modifier and Type | Method and Description |
---|---|
static DirContext |
context(String url,
String user,
String pass) |
static void |
main(String[] args) |
public static DirContext context(String url, String user, String pass) throws NamingException
url
- e.g. ldaps://ldap.school.edu/dc=school,dc=eduuser
- pass
- NamingException
Copyright © 2016 Internet2. All rights reserved.