public abstract class AbstractWaffleRealm
extends org.apache.shiro.realm.AuthorizingRealm
Realm that authenticates with Active Directory using WAFFLE. Authorization is left
for subclasses to define by implementing the buildAuthorizationInfo(waffle.shiro.WaffleFqnPrincipal) method.| Constructor and Description |
|---|
AbstractWaffleRealm() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.apache.shiro.authz.AuthorizationInfo |
buildAuthorizationInfo(WaffleFqnPrincipal principal)
Assembles the appropriate authorization information for the specified principal.
|
protected org.apache.shiro.authc.AuthenticationInfo |
doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken authToken) |
protected org.apache.shiro.authz.AuthorizationInfo |
doGetAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection principals) |
afterCacheManagerSet, 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, setCachingEnabledprotected final org.apache.shiro.authc.AuthenticationInfo doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken authToken)
doGetAuthenticationInfo in class org.apache.shiro.realm.AuthenticatingRealmprotected final org.apache.shiro.authz.AuthorizationInfo doGetAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection principals)
doGetAuthorizationInfo in class org.apache.shiro.realm.AuthorizingRealmprotected abstract org.apache.shiro.authz.AuthorizationInfo buildAuthorizationInfo(WaffleFqnPrincipal principal)
principal - the principal for which to assemble authorization informationCopyright © 2010–2017 com.github.waffle. All rights reserved.