|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shiro.realm.CachingRealm
org.apache.shiro.realm.AuthenticatingRealm
org.apache.shiro.realm.AuthorizingRealm
org.apache.shiro.realm.ldap.JndiLdapRealm
com.adaptrex.core.security.realm.BasicLdapRealm
public class BasicLdapRealm
The BasicLdapRealm provides authorization information from a very simple LDAP layout. It retrieves the names list of groupOfNames nodes that contain the current user as a member.
| Field Summary | |
|---|---|
protected org.apache.shiro.cache.CacheManager |
cacheManager
|
protected String |
searchBase
|
| Constructor Summary | |
|---|---|
BasicLdapRealm()
|
|
| Method Summary | |
|---|---|
org.apache.shiro.authz.AuthorizationInfo |
queryForAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection principals,
org.apache.shiro.realm.ldap.LdapContextFactory ldapContextFactory)
|
void |
setSearchBase(String searchBase)
|
| Methods inherited from class org.apache.shiro.realm.ldap.JndiLdapRealm |
|---|
createAuthenticationInfo, doGetAuthenticationInfo, doGetAuthorizationInfo, getContextFactory, getLdapPrincipal, getUserDn, getUserDnPrefix, getUserDnSuffix, getUserDnTemplate, queryForAuthenticationInfo, setContextFactory, setUserDnTemplate |
| Methods inherited from class org.apache.shiro.realm.AuthorizingRealm |
|---|
afterCacheManagerSet, checkPermission, checkPermission, checkPermission, checkPermissions, checkPermissions, checkPermissions, checkRole, checkRole, checkRoles, checkRoles, checkRoles, clearCachedAuthorizationInfo, doClearCache, getAuthorizationCache, getAuthorizationCacheKey, getAuthorizationCacheName, getAuthorizationInfo, getPermissionResolver, getRolePermissionResolver, hasAllRoles, hasRole, hasRole, hasRoles, hasRoles, isAuthorizationCachingEnabled, isPermitted, isPermitted, isPermitted, isPermitted, isPermitted, isPermittedAll, isPermittedAll, isPermittedAll, onInit, setAuthorizationCache, setAuthorizationCacheName, setAuthorizationCachingEnabled, setName, setPermissionResolver, setRolePermissionResolver |
| Methods inherited from class org.apache.shiro.realm.AuthenticatingRealm |
|---|
assertCredentialsMatch, clearCachedAuthenticationInfo, getAuthenticationCache, getAuthenticationCacheKey, getAuthenticationCacheKey, getAuthenticationCacheName, getAuthenticationInfo, getAuthenticationTokenClass, getCredentialsMatcher, init, isAuthenticationCachingEnabled, isAuthenticationCachingEnabled, setAuthenticationCache, setAuthenticationCacheName, setAuthenticationCachingEnabled, setAuthenticationTokenClass, setCredentialsMatcher, supports |
| Methods inherited from class org.apache.shiro.realm.CachingRealm |
|---|
clearCache, getAvailablePrincipal, getCacheManager, getName, isCachingEnabled, onLogout, setCacheManager, setCachingEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.shiro.util.Initializable |
|---|
init |
| Field Detail |
|---|
protected org.apache.shiro.cache.CacheManager cacheManager
protected String searchBase
| Constructor Detail |
|---|
public BasicLdapRealm()
| Method Detail |
|---|
public 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.JndiLdapRealmNamingExceptionpublic void setSearchBase(String searchBase)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||