public class LdapRealm extends org.apache.shiro.realm.ldap.DefaultLdapRealm implements RealmLifecycle, ShiroAuthorizationInfoProvider
RealmLifecycle.Adapter| Modifier and Type | Field and Description |
|---|---|
static String |
LDAP_AUTHORIZATION_FAILURE_CLIENT_MESSAGE |
static String |
LDAP_CONNECTION_REFUSED_CLIENT_MESSAGE |
static String |
LDAP_CONNECTION_TIMEOUT_CLIENT_MESSAGE |
static String |
LDAP_READ_TIMEOUT_CLIENT_MESSAGE |
static String |
LDAP_REALM |
| Constructor and Description |
|---|
LdapRealm(org.neo4j.kernel.configuration.Config config,
SecurityLog securityLog,
SecureHasher secureHasher) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.shiro.authz.AuthorizationInfo |
getAuthorizationInfoSnapshot(org.apache.shiro.subject.PrincipalCollection principalCollection) |
void |
initialize() |
void |
shutdown() |
void |
start() |
void |
stop() |
boolean |
supports(org.apache.shiro.authc.AuthenticationToken token) |
getContextFactory, getUserDnTemplate, setContextFactory, setUserDnTemplatecheckPermission, checkPermission, checkPermissions, checkPermissions, checkRole, checkRoles, checkRoles, getAuthorizationCache, getAuthorizationCacheName, getPermissionResolver, getRolePermissionResolver, hasAllRoles, hasRole, hasRoles, isAuthorizationCachingEnabled, isPermitted, isPermitted, isPermitted, isPermitted, isPermittedAll, isPermittedAll, setAuthorizationCache, setAuthorizationCacheName, setAuthorizationCachingEnabled, setName, setPermissionResolver, setRolePermissionResolvergetAuthenticationCache, getAuthenticationCacheName, getAuthenticationInfo, getAuthenticationTokenClass, getCredentialsMatcher, init, isAuthenticationCachingEnabled, setAuthenticationCache, setAuthenticationCacheName, setAuthenticationCachingEnabled, setAuthenticationTokenClass, setCredentialsMatchergetCacheManager, getName, isCachingEnabled, onLogout, setCacheManager, setCachingEnabledpublic static final String LDAP_REALM
public static final String LDAP_CONNECTION_TIMEOUT_CLIENT_MESSAGE
public static final String LDAP_READ_TIMEOUT_CLIENT_MESSAGE
public static final String LDAP_AUTHORIZATION_FAILURE_CLIENT_MESSAGE
public static final String LDAP_CONNECTION_REFUSED_CLIENT_MESSAGE
public LdapRealm(org.neo4j.kernel.configuration.Config config,
SecurityLog securityLog,
SecureHasher secureHasher)
public boolean supports(org.apache.shiro.authc.AuthenticationToken token)
supports in interface org.apache.shiro.realm.Realmsupports in class org.apache.shiro.realm.AuthenticatingRealmpublic void initialize()
throws Throwable
initialize in interface RealmLifecycleThrowablepublic void start()
throws Throwable
start in interface RealmLifecycleThrowablepublic void stop()
throws Throwable
stop in interface RealmLifecycleThrowablepublic void shutdown()
throws Throwable
shutdown in interface RealmLifecycleThrowablepublic org.apache.shiro.authz.AuthorizationInfo getAuthorizationInfoSnapshot(org.apache.shiro.subject.PrincipalCollection principalCollection)
getAuthorizationInfoSnapshot in interface ShiroAuthorizationInfoProviderCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.