public class IsisLdapContextFactory extends org.apache.shiro.realm.ldap.JndiLdapContextFactory
JndiLdapContextFactory that allows a different authentication mechanism
for system-level authentications (as used by authorization lookups, for example)
compared to regular authentication.
See IsisLdapRealm for typical configuration within shiro.ini.
| Constructor and Description |
|---|
IsisLdapContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected LdapContext |
createLdapContext(Hashtable env) |
String |
getSystemAuthenticationMechanism() |
void |
setSystemAuthenticationMechanism(String systemAuthenticationMechanism) |
getAuthenticationMechanism, getContextFactoryClassName, getEnvironment, getLdapContext, getLdapContext, getReferral, getSystemLdapContext, getSystemPassword, getSystemUsername, getUrl, isPoolingConnections, isPoolingEnabled, setAuthenticationMechanism, setContextFactoryClassName, setEnvironment, setPoolingEnabled, setReferral, setSystemPassword, setSystemUsername, setUrl, validateAuthenticationInfopublic IsisLdapContextFactory()
protected LdapContext createLdapContext(Hashtable env) throws NamingException
createLdapContext in class org.apache.shiro.realm.ldap.JndiLdapContextFactoryNamingExceptionpublic String getSystemAuthenticationMechanism()
public void setSystemAuthenticationMechanism(String systemAuthenticationMechanism)
Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.