public class LdapUserAuthenticator
extends org.apache.shiro.realm.AuthenticatingRealm
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.shiro.authc.AuthenticationInfo |
doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken authtoken) |
boolean |
isEnabled() |
protected org.apache.directory.ldap.client.api.LdapNetworkConnection |
openLdapConnection(LdapSettings ldapSettings) |
protected LdapEntry |
searchLdapUser(org.apache.directory.ldap.client.api.LdapNetworkConnection connection,
String principal,
LdapSettings ldapSettings) |
User |
syncLdapUser(String principal) |
afterCacheManagerSet, assertCredentialsMatch, clearCachedAuthenticationInfo, doClearCache, getAuthenticationCache, getAuthenticationCacheKey, getAuthenticationCacheKey, getAuthenticationCacheName, getAuthenticationInfo, getAuthenticationTokenClass, getCredentialsMatcher, init, isAuthenticationCachingEnabled, isAuthenticationCachingEnabled, onInit, setAuthenticationCache, setAuthenticationCacheName, setAuthenticationCachingEnabled, setAuthenticationTokenClass, setCredentialsMatcher, setName, supportspublic static final String NAME
protected org.apache.shiro.authc.AuthenticationInfo doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken authtoken)
throws org.apache.shiro.authc.AuthenticationException
doGetAuthenticationInfo in class org.apache.shiro.realm.AuthenticatingRealmorg.apache.shiro.authc.AuthenticationExceptionprotected org.apache.directory.ldap.client.api.LdapNetworkConnection openLdapConnection(LdapSettings ldapSettings) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionprotected LdapEntry searchLdapUser(org.apache.directory.ldap.client.api.LdapNetworkConnection connection, String principal, LdapSettings ldapSettings) throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException
org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic boolean isEnabled()
Copyright © 2012–2020 Graylog, Inc.. All rights reserved.