public class KillBillJndiLdapRealm
extends org.apache.shiro.realm.ldap.JndiLdapRealm
| Constructor and Description |
|---|
KillBillJndiLdapRealm(SecurityConfig securityConfig) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> |
getPermissionsByGroup() |
protected java.lang.String |
getUserDn(java.lang.String principal) |
protected org.apache.shiro.authz.AuthorizationInfo |
queryForAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection principals,
org.apache.shiro.realm.ldap.LdapContextFactory ldapContextFactory) |
createAuthenticationInfo, doGetAuthenticationInfo, doGetAuthorizationInfo, getContextFactory, getLdapPrincipal, getUserDnPrefix, getUserDnSuffix, getUserDnTemplate, queryForAuthenticationInfo, setContextFactory, setUserDnTemplateafterCacheManagerSet, 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, onInit, 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, setCachingEnabled@Inject public KillBillJndiLdapRealm(SecurityConfig securityConfig)
protected java.lang.String getUserDn(java.lang.String principal)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException
getUserDn in class org.apache.shiro.realm.ldap.DefaultLdapRealmjava.lang.IllegalArgumentExceptionjava.lang.IllegalStateExceptionprotected org.apache.shiro.authz.AuthorizationInfo queryForAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection principals,
org.apache.shiro.realm.ldap.LdapContextFactory ldapContextFactory)
throws javax.naming.NamingException
queryForAuthorizationInfo in class org.apache.shiro.realm.ldap.DefaultLdapRealmjavax.naming.NamingExceptionpublic java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> getPermissionsByGroup()
Copyright © 2010-2020. All Rights Reserved.