Package org.fcrepo.auth.common
Class ServletContainerAuthenticatingRealm
- java.lang.Object
-
- org.apache.shiro.realm.CachingRealm
-
- org.apache.shiro.realm.AuthenticatingRealm
-
- org.fcrepo.auth.common.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
-
-
Constructor Summary
Constructors Constructor Description ServletContainerAuthenticatingRealm()
-
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
-
-
-
-
Constructor Detail
-
ServletContainerAuthenticatingRealm
public ServletContainerAuthenticatingRealm()
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.apache.shiro.realm.Realm
- Overrides:
getName
in classorg.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 classorg.apache.shiro.realm.AuthenticatingRealm
- Throws:
org.apache.shiro.authc.AuthenticationException
-
supports
public boolean supports(org.apache.shiro.authc.AuthenticationToken token)
- Specified by:
supports
in interfaceorg.apache.shiro.realm.Realm
- Overrides:
supports
in classorg.apache.shiro.realm.AuthenticatingRealm
-
-