Class ServletContainerAuthenticatingRealm

  • All Implemented Interfaces:
    org.apache.shiro.authc.LogoutAware, org.apache.shiro.cache.CacheManagerAware, org.apache.shiro.realm.Realm, org.apache.shiro.util.Initializable, org.apache.shiro.util.Nameable

    public class ServletContainerAuthenticatingRealm
    extends org.apache.shiro.realm.AuthenticatingRealm
    Author:
    peichman
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.shiro.authc.AuthenticationInfo doGetAuthenticationInfo​(org.apache.shiro.authc.AuthenticationToken token)  
      String getName()  
      boolean supports​(org.apache.shiro.authc.AuthenticationToken token)  
      • Methods inherited from class org.apache.shiro.realm.AuthenticatingRealm

        afterCacheManagerSet, assertCredentialsMatch, clearCachedAuthenticationInfo, doClearCache, getAuthenticationCache, getAuthenticationCacheKey, getAuthenticationCacheKey, getAuthenticationCacheName, getAuthenticationInfo, getAuthenticationTokenClass, getCredentialsMatcher, init, isAuthenticationCachingEnabled, isAuthenticationCachingEnabled, onInit, setAuthenticationCache, setAuthenticationCacheName, setAuthenticationCachingEnabled, setAuthenticationTokenClass, setCredentialsMatcher, setName
      • Methods inherited from class org.apache.shiro.realm.CachingRealm

        clearCache, getAvailablePrincipal, getCacheManager, isCachingEnabled, onLogout, setCacheManager, setCachingEnabled
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface org.apache.shiro.realm.Realm
        Overrides:
        getName in class org.apache.shiro.realm.CachingRealm
      • doGetAuthenticationInfo

        protected org.apache.shiro.authc.AuthenticationInfo doGetAuthenticationInfo​(org.apache.shiro.authc.AuthenticationToken token)
                                                                             throws org.apache.shiro.authc.AuthenticationException
        Specified by:
        doGetAuthenticationInfo in class org.apache.shiro.realm.AuthenticatingRealm
        Throws:
        org.apache.shiro.authc.AuthenticationException
      • supports

        public boolean supports​(org.apache.shiro.authc.AuthenticationToken token)
        Specified by:
        supports in interface org.apache.shiro.realm.Realm
        Overrides:
        supports in class org.apache.shiro.realm.AuthenticatingRealm