Example usage for Java org.apache.shiro.realm.ldap LdapContextFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
LdapContext | getLdapContext(String username, String password) Creates (or retrieves from a pool) a LdapContext connection bound using the username and password specified. |
LdapContext | getLdapContext(Object principal, Object credentials) Creates (or retrieves from a pool) an LdapContext connection bound using the specified principal and credentials. |
LdapContext | getSystemLdapContext() Creates (or retrieves from a pool) a LdapContext connection bound using the system account, or anonymously if no system account is configured. |