public class LdapRealm
extends org.apache.shiro.realm.ldap.AbstractLdapRealm
| Constructor and Description |
|---|
LdapRealm() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.shiro.authc.AuthenticationInfo |
queryForAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken token,
org.apache.shiro.realm.ldap.LdapContextFactory ldapContextFactory) |
protected org.apache.shiro.authz.AuthorizationInfo |
queryForAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection principals,
org.apache.shiro.realm.ldap.LdapContextFactory ldapContextFactory) |
void |
setGroupRequestFilter(String groupRequestFilter)
set the group request filter, defined in shiro.ini
|
void |
setGroupRolesMap(Map<String,String> groupRolesMap)
set the map of group role, defined in shiro.ini
|
void |
setUserDnTemplate(String userDnTemplate)
set Template to convert username to dn, defined in shiro.ini
|
doGetAuthenticationInfo, doGetAuthorizationInfo, onInit, setLdapContextFactory, setPrincipalSuffix, setSearchBase, setSystemPassword, setSystemUsername, setUrlafterCacheManagerSet, checkPermission, checkPermission, checkPermission, checkPermissions, checkPermissions, checkPermissions, checkRole, checkRole, checkRoles, checkRoles, checkRoles, clearCachedAuthorizationInfo, doClearCache, getAuthorizationCache, getAuthorizationCacheKey, getAuthorizationCacheName, getAuthorizationInfo, getPermissionResolver, getPermissions, getRolePermissionResolver, hasAllRoles, hasRole, hasRole, hasRoles, hasRoles, isAuthorizationCachingEnabled, isPermitted, isPermitted, isPermitted, isPermitted, isPermitted, isPermitted, isPermittedAll, isPermittedAll, isPermittedAll, setAuthorizationCache, setAuthorizationCacheName, setAuthorizationCachingEnabled, setName, setPermissionResolver, setRolePermissionResolverassertCredentialsMatch, clearCachedAuthenticationInfo, getAuthenticationCache, getAuthenticationCacheKey, getAuthenticationCacheKey, getAuthenticationCacheName, getAuthenticationInfo, getAuthenticationTokenClass, getCredentialsMatcher, init, isAuthenticationCachingEnabled, isAuthenticationCachingEnabled, setAuthenticationCache, setAuthenticationCacheName, setAuthenticationCachingEnabled, setAuthenticationTokenClass, setCredentialsMatcher, supportsclearCache, getAvailablePrincipal, getCacheManager, getName, isCachingEnabled, onLogout, setCacheManager, setCachingEnabledpublic void setGroupRequestFilter(String groupRequestFilter)
groupRequestFilter - public void setGroupRolesMap(Map<String,String> groupRolesMap)
groupRolesMap - public void setUserDnTemplate(String userDnTemplate)
userDnTemplate - protected org.apache.shiro.authc.AuthenticationInfo queryForAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken token,
org.apache.shiro.realm.ldap.LdapContextFactory ldapContextFactory)
throws NamingException
queryForAuthenticationInfo in class org.apache.shiro.realm.ldap.AbstractLdapRealmNamingExceptionprotected org.apache.shiro.authz.AuthorizationInfo queryForAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection principals,
org.apache.shiro.realm.ldap.LdapContextFactory ldapContextFactory)
throws NamingException
queryForAuthorizationInfo in class org.apache.shiro.realm.ldap.AbstractLdapRealmNamingExceptionCopyright © 2018 Vitam. All rights reserved.