Class GuestRealm
java.lang.Object
org.apache.shiro.realm.CachingRealm
org.apache.shiro.realm.AuthenticatingRealm
org.codice.ddf.security.guest.realm.GuestRealm
- 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 GuestRealm
extends org.apache.shiro.realm.AuthenticatingRealm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.shiro.authc.AuthenticationInfodoGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken authenticationToken) voidsetAttributes(List<String> attributes) voidsetSecurityLogger(ddf.security.audit.SecurityLogger securityLogger) booleansupports(org.apache.shiro.authc.AuthenticationToken token) Determine if the supplied token is supported by this realm.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, setNameMethods inherited from class org.apache.shiro.realm.CachingRealm
clearCache, getAvailablePrincipal, getCacheManager, getName, isCachingEnabled, onLogout, setCacheManager, setCachingEnabled
-
Constructor Details
-
GuestRealm
public GuestRealm()
-
-
Method Details
-
supports
public boolean supports(org.apache.shiro.authc.AuthenticationToken token) Determine if the supplied token is supported by this realm.- Specified by:
supportsin interfaceorg.apache.shiro.realm.Realm- Overrides:
supportsin classorg.apache.shiro.realm.AuthenticatingRealm
-
doGetAuthenticationInfo
protected org.apache.shiro.authc.AuthenticationInfo doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken authenticationToken) throws org.apache.shiro.authc.AuthenticationException - Specified by:
doGetAuthenticationInfoin classorg.apache.shiro.realm.AuthenticatingRealm- Throws:
org.apache.shiro.authc.AuthenticationException
-
setAttributes
-
setSecurityLogger
public void setSecurityLogger(ddf.security.audit.SecurityLogger securityLogger)
-