Example usage for Java org.apache.shiro.realm.ldap JndiLdapContextFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
JndiLdapContextFactory() Default no-argument constructor that initializes the backing #getEnvironment() environment template with the #setContextFactoryClassName(String) contextFactoryClassName equal to com.sun.jndi.ldap.LdapCtxFactory (the Sun/Oracle default) and the default #setReferral(String) referral behavior to follow . |
Map | getEnvironment() Returns the base JNDI environment template to use when acquiring an LDAP connection (an LdapContext ). |
LdapContext | getSystemLdapContext() This implementation delegates to #getLdapContext(Object,Object) using the #getSystemUsername() systemUsername and #getSystemPassword() systemPassword properties as arguments. |
void | setAuthenticationMechanism(String authenticationMechanism) Sets the type of LDAP authentication mechanism to use when connecting to the LDAP server. |
void | setContextFactoryClassName(String contextFactoryClassName) The name of the ContextFactory class to use. |
void | setPoolingEnabled(boolean poolingEnabled) Sets whether or not connection pooling should be used when possible and appropriate. |
void | setReferral(String referral) Sets the LDAP referral behavior when creating a connection. |
void | setSystemPassword(String systemPassword) Sets the password of the #setSystemUsername(String) systemUsername that will be used when creating an LDAP connection used for authorization queries. |
void | setSystemUsername(String systemUsername) Sets the system username that will be used when creating an LDAP connection used for authorization queries. |
void | setUrl(String url) The LDAP url to connect to. |