A B C D E F G H I J K L M N O P Q R S T U V W X _
All Classes All Packages
All Classes All Packages
A
- AbstractAuthenticationStrategy - Class in org.apache.shiro.authc.pam
-
Abstract base implementation for Shiro's concrete
AuthenticationStrategy
implementations. - AbstractAuthenticationStrategy() - Constructor for class org.apache.shiro.authc.pam.AbstractAuthenticationStrategy
- AbstractAuthenticator - Class in org.apache.shiro.authc
-
Superclass for almost all
Authenticator
implementations that performs the common work around authentication attempts. - AbstractAuthenticator() - Constructor for class org.apache.shiro.authc.AbstractAuthenticator
-
Default no-argument constructor.
- AbstractCacheManager - Class in org.apache.shiro.cache
-
Very simple abstract
CacheManager
implementation that retains all createdCache
instances in an in-memoryConcurrentMap
. - AbstractCacheManager() - Constructor for class org.apache.shiro.cache.AbstractCacheManager
-
Default no-arg constructor that instantiates an internal name-to-cache
ConcurrentMap
. - AbstractContainerIT - Class in org.apache.shiro.testing.web
- AbstractContainerIT() - Constructor for class org.apache.shiro.testing.web.AbstractContainerIT
- AbstractFactory<T> - Class in org.apache.shiro.util
-
TODO - Class JavaDoc
- AbstractFactory() - Constructor for class org.apache.shiro.util.AbstractFactory
- AbstractFilter - Class in org.apache.shiro.web.servlet
-
Base abstract Filter simplifying Filter initialization and
access
to init parameters. - AbstractFilter() - Constructor for class org.apache.shiro.web.servlet.AbstractFilter
- AbstractHash - Class in org.apache.shiro.crypto.hash
-
Deprecated.in Shiro 1.1 in favor of using the concrete
SimpleHash
implementation directly. - AbstractHash() - Constructor for class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Creates an new instance without any of its properties set (no hashing is performed).
- AbstractHash(Object) - Constructor for class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Creates a hash of the specified
source
with nosalt
using a single hash iteration. - AbstractHash(Object, Object) - Constructor for class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Creates a hash of the specified
source
using the givensalt
using a single hash iteration. - AbstractHash(Object, Object, int) - Constructor for class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Creates a hash of the specified
source
using the givensalt
a total ofhashIterations
times. - AbstractLdapRealm - Class in org.apache.shiro.realm.ldap
-
A
Realm
that authenticates with an LDAP server to build the Subject for a user. - AbstractLdapRealm() - Constructor for class org.apache.shiro.realm.ldap.AbstractLdapRealm
- AbstractNativeSessionManager - Class in org.apache.shiro.session.mgt
-
Abstract implementation supporting the
NativeSessionManager
interface, supportingSessionListener
s and application of theglobalSessionTimeout
. - AbstractNativeSessionManager() - Constructor for class org.apache.shiro.session.mgt.AbstractNativeSessionManager
- AbstractRememberMeManager - Class in org.apache.shiro.mgt
-
Abstract implementation of the
RememberMeManager
interface that handlesserialization
andencryption
of the remembered user identity. - AbstractRememberMeManager() - Constructor for class org.apache.shiro.mgt.AbstractRememberMeManager
-
Default constructor that initializes a
DefaultSerializer
as theserializer
and anAesCipherService
as thecipherService
. - AbstractSessionDAO - Class in org.apache.shiro.session.mgt.eis
-
An abstract
SessionDAO
implementation that performs some sanity checks on session creation and reading and allows for pluggable Session ID generation strategies if desired. - AbstractSessionDAO() - Constructor for class org.apache.shiro.session.mgt.eis.AbstractSessionDAO
-
Default no-arg constructor that defaults the
sessionIdGenerator
to be aJavaUuidSessionIdGenerator
. - AbstractSessionManager - Class in org.apache.shiro.session.mgt
-
Base abstract class of the
SessionManager
interface, enabling configuration of an application-wideglobalSessionTimeout
. - AbstractSessionManager() - Constructor for class org.apache.shiro.session.mgt.AbstractSessionManager
- AbstractShiroAnnotationProcessorConfiguration - Class in org.apache.shiro.spring.config
- AbstractShiroAnnotationProcessorConfiguration() - Constructor for class org.apache.shiro.spring.config.AbstractShiroAnnotationProcessorConfiguration
- AbstractShiroBeanConfiguration - Class in org.apache.shiro.spring.config
- AbstractShiroBeanConfiguration() - Constructor for class org.apache.shiro.spring.config.AbstractShiroBeanConfiguration
- AbstractShiroConfiguration - Class in org.apache.shiro.spring.config
- AbstractShiroConfiguration() - Constructor for class org.apache.shiro.spring.config.AbstractShiroConfiguration
- AbstractShiroFilter - Class in org.apache.shiro.web.servlet
-
Abstract base class that provides all standard Shiro request filtering behavior and expects subclasses to implement configuration-specific logic (INI, XML, .properties, etc).
- AbstractShiroFilter() - Constructor for class org.apache.shiro.web.servlet.AbstractShiroFilter
- AbstractShiroWebConfiguration - Class in org.apache.shiro.spring.web.config
- AbstractShiroWebConfiguration() - Constructor for class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
- AbstractShiroWebFilterConfiguration - Class in org.apache.shiro.spring.web.config
- AbstractShiroWebFilterConfiguration() - Constructor for class org.apache.shiro.spring.web.config.AbstractShiroWebFilterConfiguration
- AbstractSymmetricCipherService - Class in org.apache.shiro.crypto
-
Base abstract class for supporting symmetric key cipher algorithms.
- AbstractSymmetricCipherService(String) - Constructor for class org.apache.shiro.crypto.AbstractSymmetricCipherService
- AbstractValidatingSessionManager - Class in org.apache.shiro.session.mgt
-
Default business-tier implementation of the
ValidatingSessionManager
interface. - AbstractValidatingSessionManager() - Constructor for class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
- accepts(Object) - Method in interface org.apache.shiro.event.support.EventListener
-
Returns
true
if the listener instance can process the specified event object,false
otherwise. - accepts(Object) - Method in class org.apache.shiro.event.support.SingleArgumentMethodEventListener
- AccessControlFilter - Class in org.apache.shiro.web.filter
-
Superclass for any filter that controls access to a resource and may redirect the user to the login page if they are not authenticated.
- AccessControlFilter() - Constructor for class org.apache.shiro.web.filter.AccessControlFilter
- Account - Interface in org.apache.shiro.authc
-
An Account is a convenience interface that extends both
AuthenticationInfo
andAuthorizationInfo
and represents authentication and authorization for a single account in a single Realm. - AccountException - Exception in org.apache.shiro.authc
-
Exception thrown due to a problem with the account under which an authentication attempt is being executed.
- AccountException() - Constructor for exception org.apache.shiro.authc.AccountException
-
Creates a new AccountException.
- AccountException(String) - Constructor for exception org.apache.shiro.authc.AccountException
-
Constructs a new AccountException.
- AccountException(String, Throwable) - Constructor for exception org.apache.shiro.authc.AccountException
-
Constructs a new AccountException.
- AccountException(Throwable) - Constructor for exception org.apache.shiro.authc.AccountException
-
Constructs a new AccountException.
- accountExists(String) - Method in class org.apache.shiro.realm.SimpleAccountRealm
- AccountInfoController - Class in org.apache.shiro.samples
- AccountInfoController() - Constructor for class org.apache.shiro.samples.AccountInfoController
- ACTIVE_SESSION_CACHE_NAME - Static variable in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
The default active sessions cache name, equal to
shiro-activeSessionCache
. - ActiveDirectoryRealm - Class in org.apache.shiro.realm.activedirectory
-
A
Realm
that authenticates with an active directory LDAP server to determine the roles for a particular user. - ActiveDirectoryRealm() - Constructor for class org.apache.shiro.realm.activedirectory.ActiveDirectoryRealm
- add(int, Filter) - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
- add(Object, String) - Method in interface org.apache.shiro.subject.MutablePrincipalCollection
-
Adds the given principal to this collection.
- add(Object, String) - Method in class org.apache.shiro.subject.SimplePrincipalCollection
- add(Filter) - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
- add(SimpleAccount) - Method in class org.apache.shiro.realm.SimpleAccountRealm
- add(Permission) - Method in class org.apache.shiro.authz.SimpleRole
- add(SimpleRole) - Method in class org.apache.shiro.realm.SimpleAccountRealm
- add(Destroyable) - Method in class org.apache.shiro.guice.ShiroModule
- addAccount(String, String) - Method in class org.apache.shiro.realm.SimpleAccountRealm
- addAccount(String, String, String...) - Method in class org.apache.shiro.realm.SimpleAccountRealm
- addAll(int, Collection<? extends Filter>) - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
- addAll(Collection<? extends Filter>) - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
- addAll(Collection<Permission>) - Method in class org.apache.shiro.authz.SimpleRole
- addAll(Collection, String) - Method in interface org.apache.shiro.subject.MutablePrincipalCollection
-
Adds all of the principals in the given collection to this collection.
- addAll(Collection, String) - Method in class org.apache.shiro.subject.SimplePrincipalCollection
- addAll(PrincipalCollection) - Method in interface org.apache.shiro.subject.MutablePrincipalCollection
-
Adds all of the principals from the given principal collection to this collection.
- addAll(PrincipalCollection) - Method in class org.apache.shiro.subject.SimplePrincipalCollection
- addDefaultFilters(boolean) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- addFilter(String, Filter) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- addFilter(String, Filter) - Method in interface org.apache.shiro.web.filter.mgt.FilterChainManager
-
Adds a filter to the 'pool' of available filters that can be used when
creating filter chains
. - addFilter(String, Filter, boolean) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- addFilter(String, Filter, boolean) - Method in interface org.apache.shiro.web.filter.mgt.FilterChainManager
-
Adds a filter to the 'pool' of available filters that can be used when
creating filter chains
. - addFilter(String, Filter, boolean, boolean) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- addFilterChain(String, Key<? extends Filter>) - Method in class org.apache.shiro.guice.web.ShiroWebModule
- addFilterChain(String, Key<? extends Filter>...) - Method in class org.apache.shiro.guice.web.ShiroWebModule
-
Deprecated.
- addFilterChain(String, ShiroWebModule.FilterConfig<? extends Filter>...) - Method in class org.apache.shiro.guice.web.ShiroWebModule
-
Maps 'n' number of
filterConfig
s to a specific path pattern.
For example, a path of '/my_private_resource/**' to 'filterConfig(AUTHC)' would require any resource under the path '/my_private_resource' would be processed through theFormAuthenticationFilter
. - addObjectPermission(Permission) - Method in class org.apache.shiro.authc.SimpleAccount
-
Assigns an object-based permission directly to this Account (not any of its realms).
- addObjectPermission(Permission) - Method in class org.apache.shiro.authz.SimpleAuthorizationInfo
-
Adds (assigns) a permission to those directly associated with the account.
- addObjectPermissions(Collection<Permission>) - Method in class org.apache.shiro.authc.SimpleAccount
-
Assigns one or more object-based permissions directly to this Account (not any of its realms).
- addObjectPermissions(Collection<Permission>) - Method in class org.apache.shiro.authz.SimpleAuthorizationInfo
-
Adds (assigns) multiple permissions to those associated directly with the account.
- addPathDefinition(String, String) - Method in class org.apache.shiro.spring.web.config.DefaultShiroFilterChainDefinition
- addPathDefinitions(Map<String, String>) - Method in class org.apache.shiro.spring.web.config.DefaultShiroFilterChainDefinition
- addRole(String) - Method in class org.apache.shiro.authc.SimpleAccount
-
Adds a role to this Account's set of assigned roles.
- addRole(String) - Method in class org.apache.shiro.authz.SimpleAuthorizationInfo
-
Adds (assigns) a role to those associated with the account.
- addRole(String) - Method in class org.apache.shiro.realm.SimpleAccountRealm
- addRole(Collection<String>) - Method in class org.apache.shiro.authc.SimpleAccount
-
Adds one or more roles to this Account's set of assigned roles.
- addRoles(Collection<String>) - Method in class org.apache.shiro.authz.SimpleAuthorizationInfo
-
Adds (assigns) multiple roles to those associated with the account.
- addSection(String) - Method in class org.apache.shiro.config.Ini
-
Ensures a section with the specified name exists, adding a new one if it does not yet exist.
- addStringPermission(String) - Method in class org.apache.shiro.authc.SimpleAccount
-
Assigns a String-based permission directly to this Account (not to any of its realms).
- addStringPermission(String) - Method in class org.apache.shiro.authz.SimpleAuthorizationInfo
-
Adds (assigns) a permission to those directly associated with the account.
- addStringPermissions(Collection<String>) - Method in class org.apache.shiro.authc.SimpleAccount
-
Assigns one or more string-based permissions directly to this Account (not to any of its realms).
- addStringPermissions(Collection<String>) - Method in class org.apache.shiro.authz.SimpleAuthorizationInfo
-
Adds (assigns) multiple permissions to those associated directly with the account.
- addToChain(String, String) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- addToChain(String, String) - Method in interface org.apache.shiro.web.filter.mgt.FilterChainManager
-
Adds (appends) a filter to the filter chain identified by the given
chainName
. - addToChain(String, String, String) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- addToChain(String, String, String) - Method in interface org.apache.shiro.web.filter.mgt.FilterChainManager
-
Adds (appends) a filter to the filter chain identified by the given
chainName
. - AdviceFilter - Class in org.apache.shiro.web.servlet
-
A Servlet Filter that enables AOP-style "around" advice for a ServletRequest via
preHandle
,postHandle
, andafterCompletion
hooks. - AdviceFilter() - Constructor for class org.apache.shiro.web.servlet.AdviceFilter
- AesCipherService - Class in org.apache.shiro.crypto
-
CipherService
using theAES
cipher algorithm for all encryption, decryption, and key operations. - AesCipherService() - Constructor for class org.apache.shiro.crypto.AesCipherService
-
Creates a new
CipherService
instance using theAES
cipher algorithm with the following important cipher default attributes: Attribute ValuekeySize
128
bitsblockSize
128
bits (required forAES
mode
GCM
*paddingScheme
NoPadding
***initializationVectorSize
128
bitsgenerateInitializationVectors
true
** - afterAllAttempts(AuthenticationToken, AuthenticationInfo) - Method in class org.apache.shiro.authc.pam.AbstractAuthenticationStrategy
-
Simply returns the
aggregate
argument without modification. - afterAllAttempts(AuthenticationToken, AuthenticationInfo) - Method in class org.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategy
-
Ensures that the
aggregate
method argument is notnull
andaggregate.
is notgetPrincipals()
null
, and if either isnull
, throws an AuthenticationException to indicate that none of the realms authenticated successfully. - afterAllAttempts(AuthenticationToken, AuthenticationInfo) - Method in interface org.apache.shiro.authc.pam.AuthenticationStrategy
-
Method invoked by the ModularAuthenticator signifying that all of its configured Realms have been consulted for account data, allowing post-processing after all realms have completed.
- afterAttempt(Realm, AuthenticationToken, AuthenticationInfo, AuthenticationInfo, Throwable) - Method in class org.apache.shiro.authc.pam.AbstractAuthenticationStrategy
-
Base implementation that will aggregate the specified
singleRealmInfo
into theaggregateInfo
and then returns the aggregate. - afterAttempt(Realm, AuthenticationToken, AuthenticationInfo, AuthenticationInfo, Throwable) - Method in class org.apache.shiro.authc.pam.AllSuccessfulStrategy
-
Merges the specified
info
into theaggregate
argument and returns it (just as the parent implementation does), but additionally ensures the following: if theThrowable
argument is notnull
, re-throws it to immediately cancel the authentication process, since this strategy requires all realms to authenticate successfully. neither theinfo
oraggregate
argument isnull
to ensure that each realm did in fact authenticate successfully - afterAttempt(Realm, AuthenticationToken, AuthenticationInfo, AuthenticationInfo, Throwable) - Method in interface org.apache.shiro.authc.pam.AuthenticationStrategy
-
Method invoked by the ModularAuthenticator just after the given realm has been consulted for authentication, allowing post-authentication-attempt logic for that realm only.
- afterBound(String, Object) - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
- afterCacheManagerSet() - Method in class org.apache.shiro.mgt.CachingSecurityManager
-
Template callback to notify subclasses that a
CacheManager
has been set and is available for use via thegetCacheManager()
method. - afterCacheManagerSet() - Method in class org.apache.shiro.mgt.RealmSecurityManager
-
Simply calls
applyCacheManagerToRealms()
to allow the newly setCacheManager
to be propagated to the internal collection ofRealm
that would need to use it. - afterCacheManagerSet() - Method in class org.apache.shiro.mgt.SessionsSecurityManager
-
Calls
super.afterCacheManagerSet()
and then immediately callsapplyCacheManagerToSessionManager()
to ensure theCacheManager
is applied to the SessionManager as necessary. - afterCacheManagerSet() - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
This implementation attempts to acquire an authentication cache if one is not already configured.
- afterCacheManagerSet() - Method in class org.apache.shiro.realm.AuthorizingRealm
- afterCacheManagerSet() - Method in class org.apache.shiro.realm.CachingRealm
-
Template method that may be implemented by subclasses should they wish to react to a
CacheManager
instance being set on the realm instance via theCachingRealm.setCacheManager(org.apache.shiro.cache.CacheManager)
mutator. - afterCompletion(ServletRequest, ServletResponse, Exception) - Method in class org.apache.shiro.web.servlet.AdviceFilter
-
Called in all cases in a
finally
block even ifpreHandle
returnsfalse
or if an exception is thrown during filter chain processing. - afterEventBusSet() - Method in class org.apache.shiro.mgt.CachingSecurityManager
-
Template callback to notify subclasses that an
EventBus
has been set and is available for use via thegetEventBus()
method. - afterEventBusSet() - Method in class org.apache.shiro.mgt.RealmSecurityManager
- afterEventBusSet() - Method in class org.apache.shiro.mgt.SessionsSecurityManager
-
Sets any configured EventBus on the SessionManager if necessary.
- afterExpired(Session) - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
- afterExpired(Session) - Method in class org.apache.shiro.session.mgt.DefaultSessionManager
- afterRealmsSet() - Method in class org.apache.shiro.mgt.AuthenticatingSecurityManager
-
Passes on the
realms
to the internal delegateAuthenticator
instance so that it may use them during authentication attempts. - afterRealmsSet() - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
-
First calls
super.afterRealmsSet()
and then sets these sameRealm
objects on this instance's wrappedAuthorizer
. - afterRealmsSet() - Method in class org.apache.shiro.mgt.RealmSecurityManager
- afterRoleCacheSet() - Method in class org.apache.shiro.realm.text.PropertiesRealm
- afterSessionManagerSet() - Method in class org.apache.shiro.mgt.SessionsSecurityManager
- afterSessionManagerSet() - Method in class org.apache.shiro.web.mgt.DefaultWebSecurityManager
- afterSessionValidationEnabled() - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
- afterStopped(Session) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
- afterStopped(Session) - Method in class org.apache.shiro.session.mgt.DefaultSessionManager
- afterUnbound(String, Object) - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
- ALGORITHM_NAME - Static variable in class org.apache.shiro.crypto.hash.Md2Hash
- ALGORITHM_NAME - Static variable in class org.apache.shiro.crypto.hash.Md5Hash
- ALGORITHM_NAME - Static variable in class org.apache.shiro.crypto.hash.Sha1Hash
- ALGORITHM_NAME - Static variable in class org.apache.shiro.crypto.hash.Sha256Hash
- ALGORITHM_NAME - Static variable in class org.apache.shiro.crypto.hash.Sha384Hash
- ALGORITHM_NAME - Static variable in class org.apache.shiro.crypto.hash.Sha512Hash
- ALLOW_BACKSLASH - Static variable in class org.apache.shiro.web.util.WebUtils
- AllowAllCredentialsMatcher - Class in org.apache.shiro.authc.credential
-
A credentials matcher that always returns
true
when matching credentials no matter what arguments are passed in. - AllowAllCredentialsMatcher() - Constructor for class org.apache.shiro.authc.credential.AllowAllCredentialsMatcher
- AllPermission - Class in org.apache.shiro.authz.permission
-
An all AllPermission instance is one that always implies any other permission; that is, its
implies
method always returns true. - AllPermission() - Constructor for class org.apache.shiro.authz.permission.AllPermission
- AllSuccessfulStrategy - Class in org.apache.shiro.authc.pam
-
AuthenticationStrategy implementation that requires all configured realms to successfully process the submitted AuthenticationToken during the log-in attempt.
- AllSuccessfulStrategy() - Constructor for class org.apache.shiro.authc.pam.AllSuccessfulStrategy
- ALREADY_FILTERED_SUFFIX - Static variable in class org.apache.shiro.web.servlet.OncePerRequestFilter
-
Suffix that gets appended to the filter name for the "already filtered" request attribute.
- analyze(Throwable, NoRealmBeanConfiguredException) - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroNoRealmConfiguredFailureAnalyzer
- AND - org.apache.shiro.authz.annotation.Logical
- AnnotationAuthorizationFilter - Class in org.apache.shiro.web.jaxrs
-
A filter that grants or denies access to a JAX-RS resource based on the Shiro annotations on it.
- AnnotationAuthorizationFilter(Collection<Annotation>) - Constructor for class org.apache.shiro.web.jaxrs.AnnotationAuthorizationFilter
- annotationClass - Variable in class org.apache.shiro.aop.AnnotationHandler
-
The type of annotation this handler will process.
- AnnotationEventListenerResolver - Class in org.apache.shiro.event.support
-
Inspects an object for annotated methods of interest and creates an
EventListener
instance for each method discovered. - AnnotationEventListenerResolver() - Constructor for class org.apache.shiro.event.support.AnnotationEventListenerResolver
- AnnotationHandler - Class in org.apache.shiro.aop
-
Base support class for implementations that reads and processes JSR-175 annotations.
- AnnotationHandler(Class<? extends Annotation>) - Constructor for class org.apache.shiro.aop.AnnotationHandler
-
Constructs an
AnnotationHandler
who processes annotations of the specified type. - AnnotationMethodInterceptor - Class in org.apache.shiro.aop
-
MethodInterceptor that inspects a specific annotation on the method invocation before continuing its execution.
- AnnotationMethodInterceptor(AnnotationHandler) - Constructor for class org.apache.shiro.aop.AnnotationMethodInterceptor
-
Constructs an
AnnotationMethodInterceptor
with theAnnotationHandler
that will be used to process annotations of a corresponding type. - AnnotationMethodInterceptor(AnnotationHandler, AnnotationResolver) - Constructor for class org.apache.shiro.aop.AnnotationMethodInterceptor
-
Constructs an
AnnotationMethodInterceptor
with theAnnotationHandler
that will be used to process annotations of a corresponding type, using the specifiedAnnotationResolver
to acquire annotations at runtime. - AnnotationResolver - Interface in org.apache.shiro.aop
-
Defines an AOP-framework-independent way of determining if an Annotation exists on a Method.
- AnnotationsAuthorizingMethodInterceptor - Class in org.apache.shiro.authz.aop
-
An AnnotationsAuthorizingMethodInterceptor is a MethodInterceptor that asserts a given method is authorized to execute based on one or more configured AuthorizingAnnotationMethodInterceptors.
- AnnotationsAuthorizingMethodInterceptor() - Constructor for class org.apache.shiro.authz.aop.AnnotationsAuthorizingMethodInterceptor
-
Default no-argument constructor that defaults the
methodInterceptors
attribute to contain two interceptors by default - theRoleAnnotationMethodInterceptor
and thePermissionAnnotationMethodInterceptor
to support role and permission annotations. - anon - org.apache.shiro.web.filter.mgt.DefaultFilter
- ANON - Static variable in class org.apache.shiro.guice.web.ShiroWebModule
- AnonymousFilter - Class in org.apache.shiro.web.filter.authc
-
Filter that allows access to a path immeidately without performing security checks of any kind.
- AnonymousFilter() - Constructor for class org.apache.shiro.web.filter.authc.AnonymousFilter
- AntPathMatcher - Class in org.apache.shiro.util
-
PathMatcher implementation for Ant-style path patterns.
- AntPathMatcher() - Constructor for class org.apache.shiro.util.AntPathMatcher
- anyShiroAnnotatedMethod() - Method in class org.apache.shiro.aspectj.ShiroAnnotationAuthorizingAspect
- AopAllianceAnnotationsAuthorizingMethodInterceptor - Class in org.apache.shiro.spring.security.interceptor
-
Allows Shiro Annotations to work in any AOP Alliance specific implementation environment (for example, Spring).
- AopAllianceAnnotationsAuthorizingMethodInterceptor() - Constructor for class org.apache.shiro.spring.security.interceptor.AopAllianceAnnotationsAuthorizingMethodInterceptor
- appendQueryProperties(StringBuilder, Map, String) - Method in class org.apache.shiro.web.util.RedirectView
-
Append query properties to the redirect URL.
- appliedPaths - Variable in class org.apache.shiro.web.filter.PathMatchingFilter
-
A collection of path-to-config entries where the key is a path which this filter should process and the value is the (possibly null) configuration element specific to this Filter for that specific path.
- applyCacheManagerToRealms() - Method in class org.apache.shiro.mgt.RealmSecurityManager
-
Sets the internal
CacheManager
on any internal configuredRealms
that implement theCacheManagerAware
interface. - applyCacheManagerToSessionManager() - Method in class org.apache.shiro.mgt.SessionsSecurityManager
-
Ensures the internal delegate
SessionManager
is injected with the newly setCacheManager
so it may use it for its internal caching needs. - applyChainConfig(String, Filter, String) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- applyEventBusToCacheManager() - Method in class org.apache.shiro.mgt.CachingSecurityManager
- applyEventBusToRealms() - Method in class org.apache.shiro.mgt.RealmSecurityManager
-
Sets the internal
EventBus
on any internal configuredRealms
that implement theEventBusAware
interface. - applyEventBusToSessionManager() - Method in class org.apache.shiro.mgt.SessionsSecurityManager
-
Ensures the internal delegate
SessionManager
is injected with the newly setEventBus
so it may use it for its internal event needs. - applyFilterChainResolver(Ini, Map<String, ?>) - Method in class org.apache.shiro.web.servlet.IniShiroFilter
-
Deprecated.
- applyGlobalProperty(Map, String, String) - Method in class org.apache.shiro.config.ReflectionBuilder
- applyGlobalSessionTimeout(Session) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
- applyInitParams() - Method in class org.apache.shiro.web.servlet.IniShiroFilter
-
Deprecated.
- applyPermissionResolverToRealms() - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
Sets the internal
ModularRealmAuthorizer.getPermissionResolver()
on any internal configuredRealms
that implement thePermissionResolverAware
interface. - applyProperty(Object, String, Object) - Method in class org.apache.shiro.config.ReflectionBuilder
- applyProperty(Object, String, String) - Method in class org.apache.shiro.config.ReflectionBuilder
- applyProperty(String, String, Map) - Method in class org.apache.shiro.config.ReflectionBuilder
- applyRealmsToSecurityManager(Collection<Realm>, SecurityManager) - Method in class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.
- applyRolePermissionResolverToRealms() - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
Sets the internal
ModularRealmAuthorizer.getRolePermissionResolver()
on any internal configuredRealms
that implement theRolePermissionResolverAware
interface. - applySecurityManager(Ini) - Method in class org.apache.shiro.web.servlet.IniShiroFilter
-
Deprecated.
- applySingleProperty(Map, String, String, String) - Method in class org.apache.shiro.config.ReflectionBuilder
- asList() - Method in interface org.apache.shiro.subject.PrincipalCollection
-
Returns a single Subject's principals retrieved from all configured Realms as a List, or an empty List if there are not any principals.
- asList() - Method in class org.apache.shiro.subject.SimplePrincipalCollection
- asList() - Method in class org.apache.shiro.subject.SimplePrincipalMap
- asList(E...) - Static method in class org.apache.shiro.util.CollectionUtils
- AspectjAnnotationsAuthorizingMethodInterceptor - Class in org.apache.shiro.aspectj
-
Extends the annotations authorizing method interceptor class hierarchie to adapt an aspectj
JoinPoint
into aMethodInvocation
amd to perform the authorization of method invocations. - AspectjAnnotationsAuthorizingMethodInterceptor() - Constructor for class org.apache.shiro.aspectj.AspectjAnnotationsAuthorizingMethodInterceptor
- Assert - Class in org.apache.shiro.util
-
Assertion utility class that assists in validating arguments.
- Assert() - Constructor for class org.apache.shiro.util.Assert
- assertAuthorized(Annotation) - Method in class org.apache.shiro.authz.aop.AuthenticatedAnnotationHandler
-
Ensures that the calling
Subject
is authenticated, and if not, throws anUnauthenticatedException
indicating the method is not allowed to be executed. - assertAuthorized(Annotation) - Method in class org.apache.shiro.authz.aop.AuthorizingAnnotationHandler
-
Ensures the calling Subject is authorized to execute based on the directive(s) found in the given annotation.
- assertAuthorized(Annotation) - Method in class org.apache.shiro.authz.aop.GuestAnnotationHandler
-
Ensures that the calling
Subject
is NOT a user, that is, they do not have anidentity
before continuing. - assertAuthorized(Annotation) - Method in class org.apache.shiro.authz.aop.PermissionAnnotationHandler
-
Ensures that the calling
Subject
has the Annotation's specified permissions, and if not, throws anAuthorizingException
indicating access is denied. - assertAuthorized(Annotation) - Method in class org.apache.shiro.authz.aop.RoleAnnotationHandler
-
Ensures that the calling
Subject
has the Annotation's specified roles, and if not, throws anAuthorizingException
indicating that access is denied. - assertAuthorized(Annotation) - Method in class org.apache.shiro.authz.aop.UserAnnotationHandler
-
Ensures that the calling
Subject
is a user, that is, they are eitherauthenticated
or remembered via remember me services before allowing access, and if not, throws anAuthorizingException
indicating access is not allowed. - assertAuthorized(MethodInvocation) - Method in class org.apache.shiro.authz.aop.AnnotationsAuthorizingMethodInterceptor
-
Iterates over the internal
methodInterceptors
collection, and for each one, ensures that if the interceptorsupports
the invocation, that the interceptorasserts
that the invocation is authorized to proceed. - assertAuthorized(MethodInvocation) - Method in class org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor
-
Ensures the calling Subject is authorized to execute the specified
MethodInvocation
. - assertAuthorized(MethodInvocation) - Method in class org.apache.shiro.authz.aop.AuthorizingMethodInterceptor
-
Asserts that the specified MethodInvocation is allowed to continue by performing any necessary authorization (access control) checks first.
- assertAuthzCheckPossible() - Method in class org.apache.shiro.subject.support.DelegatingSubject
- assertCredentialsMatch(AuthenticationToken, AuthenticationInfo) - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Asserts that the submitted
AuthenticationToken
's credentials match the stored accountAuthenticationInfo
's credentials, and if not, throws anAuthenticationException
. - assertHashFormatImpl(Class) - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
- assertRealmsConfigured() - Method in class org.apache.shiro.authc.pam.ModularRealmAuthenticator
- assertRealmsConfigured() - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
Used by the
Authorizer
implementation methods to ensure that therealms
has been set. - asSet() - Method in interface org.apache.shiro.subject.PrincipalCollection
-
Returns a single Subject's principals retrieved from all configured Realms as a Set, or an empty Set if there are not any principals.
- asSet() - Method in class org.apache.shiro.subject.SimplePrincipalCollection
- asSet() - Method in class org.apache.shiro.subject.SimplePrincipalMap
- asSet(E...) - Static method in class org.apache.shiro.util.CollectionUtils
- assignSessionId(Session, Serializable) - Method in class org.apache.shiro.session.mgt.eis.AbstractSessionDAO
-
Utility method available to subclasses that wish to assign a generated session ID to the session instance directly.
- associateWith(Runnable) - Method in interface org.apache.shiro.subject.Subject
-
Returns a
Runnable
instance matching the given argument while additionally ensuring that it will retain and execute under this Subject's identity. - associateWith(Runnable) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- associateWith(Callable<V>) - Method in interface org.apache.shiro.subject.Subject
-
Returns a
Callable
instance matching the given argument while additionally ensuring that it will retain and execute under this Subject's identity. - associateWith(Callable<V>) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- associateWithSubject(Runnable) - Method in class org.apache.shiro.concurrent.SubjectAwareExecutor
-
Utility method for subclasses to associate the argument
Runnable
with the currently executing subject and then return the associated Runnable. - associateWithSubject(Collection<? extends Callable<T>>) - Method in class org.apache.shiro.concurrent.SubjectAwareExecutorService
- associateWithSubject(Callable<T>) - Method in class org.apache.shiro.concurrent.SubjectAwareExecutorService
- AtLeastOneSuccessfulStrategy - Class in org.apache.shiro.authc.pam
-
AuthenticationStrategy implementation that requires at least one configured realm to successfully process the submitted AuthenticationToken during the log-in attempt.
- AtLeastOneSuccessfulStrategy() - Constructor for class org.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategy
- ATTRIBUTE_DELIMITER - Static variable in class org.apache.shiro.web.servlet.SimpleCookie
- authc - org.apache.shiro.web.filter.mgt.DefaultFilter
- AUTHC - Static variable in class org.apache.shiro.guice.web.ShiroWebModule
- AUTHC_BASIC - Static variable in class org.apache.shiro.guice.web.ShiroWebModule
- AUTHC_BEARER - Static variable in class org.apache.shiro.guice.web.ShiroWebModule
- authcBasic - org.apache.shiro.web.filter.mgt.DefaultFilter
- authcBearer - org.apache.shiro.web.filter.mgt.DefaultFilter
- authenticate(AuthenticationToken) - Method in class org.apache.shiro.authc.AbstractAuthenticator
-
Implementation of the
Authenticator
interface that functions in the following manner: Calls templatedoAuthenticate
method for subclass execution of the actual authentication behavior. If anAuthenticationException
is thrown duringdoAuthenticate
,notify
any registeredAuthenticationListener
s of the exception and then propagate the exception for the caller to handle. If no exception is thrown (indicating a successful login),notify
any registeredAuthenticationListener
s of the successful attempt. Return theAuthenticationInfo
- authenticate(AuthenticationToken) - Method in interface org.apache.shiro.authc.Authenticator
-
Authenticates a user based on the submitted
AuthenticationToken
. - authenticate(AuthenticationToken) - Method in class org.apache.shiro.mgt.AuthenticatingSecurityManager
-
Delegates to the wrapped
Authenticator
for authentication. - authenticated - Variable in class org.apache.shiro.subject.support.DelegatingSubject
- authenticated(boolean) - Method in class org.apache.shiro.subject.Subject.Builder
-
Ensures the
Subject
being built will be consideredauthenticated
. - AUTHENTICATED_SESSION_KEY - Static variable in class org.apache.shiro.subject.support.DefaultSubjectContext
-
The session key that is used to store whether or not the user is authenticated.
- AuthenticatedAnnotationHandler - Class in org.apache.shiro.authz.aop
-
Handles
RequiresAuthentication
annotations and ensures the calling subject is authenticated before allowing access. - AuthenticatedAnnotationHandler() - Constructor for class org.apache.shiro.authz.aop.AuthenticatedAnnotationHandler
-
Default no-argument constructor that ensures this handler to process
RequiresAuthentication
annotations. - AuthenticatedAnnotationMethodInterceptor - Class in org.apache.shiro.authz.aop
-
Checks to see if a @
RequiresAuthenticated
annotation is declared, and if so, ensures the callingSubject
.isAuthenticated()
before invoking the method. - AuthenticatedAnnotationMethodInterceptor() - Constructor for class org.apache.shiro.authz.aop.AuthenticatedAnnotationMethodInterceptor
-
Default no-argument constructor that ensures this interceptor looks for
RequiresAuthentication
annotations in a method declaration. - AuthenticatedAnnotationMethodInterceptor(AnnotationResolver) - Constructor for class org.apache.shiro.authz.aop.AuthenticatedAnnotationMethodInterceptor
- AuthenticatedTag - Class in org.apache.shiro.web.tags
-
JSP tag that renders the tag body only if the current user has executed a successful authentication attempt during their current session.
- AuthenticatedTag() - Constructor for class org.apache.shiro.web.tags.AuthenticatedTag
- AuthenticatingFilter - Class in org.apache.shiro.web.filter.authc
-
An
AuthenticationFilter
that is capable of automatically performing an authentication attempt based on the incoming request. - AuthenticatingFilter() - Constructor for class org.apache.shiro.web.filter.authc.AuthenticatingFilter
- AuthenticatingRealm - Class in org.apache.shiro.realm
-
A top-level abstract implementation of the Realm interface that only implements authentication support (log-in) operations and leaves authorization (access control) behavior to subclasses.
- AuthenticatingRealm() - Constructor for class org.apache.shiro.realm.AuthenticatingRealm
- AuthenticatingRealm(CredentialsMatcher) - Constructor for class org.apache.shiro.realm.AuthenticatingRealm
- AuthenticatingRealm(CacheManager) - Constructor for class org.apache.shiro.realm.AuthenticatingRealm
- AuthenticatingRealm(CacheManager, CredentialsMatcher) - Constructor for class org.apache.shiro.realm.AuthenticatingRealm
- AuthenticatingSecurityManager - Class in org.apache.shiro.mgt
-
Shiro support of a
SecurityManager
class hierarchy that delegates all authentication operations to a wrappedAuthenticator
instance. - AuthenticatingSecurityManager() - Constructor for class org.apache.shiro.mgt.AuthenticatingSecurityManager
-
Default no-arg constructor that initializes its internal
authenticator
instance to aModularRealmAuthenticator
. - authentication - Variable in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
- AuthenticationException - Exception in org.apache.shiro.authc
-
General exception thrown due to an error during the Authentication process.
- AuthenticationException() - Constructor for exception org.apache.shiro.authc.AuthenticationException
-
Creates a new AuthenticationException.
- AuthenticationException(String) - Constructor for exception org.apache.shiro.authc.AuthenticationException
-
Constructs a new AuthenticationException.
- AuthenticationException(String, Throwable) - Constructor for exception org.apache.shiro.authc.AuthenticationException
-
Constructs a new AuthenticationException.
- AuthenticationException(Throwable) - Constructor for exception org.apache.shiro.authc.AuthenticationException
-
Constructs a new AuthenticationException.
- AuthenticationFilter - Class in org.apache.shiro.web.filter.authc
-
Base class for all Filters that require the current user to be authenticated.
- AuthenticationFilter() - Constructor for class org.apache.shiro.web.filter.authc.AuthenticationFilter
- AuthenticationInfo - Interface in org.apache.shiro.authc
-
AuthenticationInfo
represents a Subject's (aka user's) stored account information relevant to the authentication/log-in process only. - AuthenticationListener - Interface in org.apache.shiro.authc
-
An
AuthenticationListener
listens for notifications whileSubject
s authenticate with the system. - authenticationQuery - Variable in class org.apache.shiro.realm.jdbc.JdbcRealm
- authenticationStrategy() - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration
- authenticationStrategy() - Method in class org.apache.shiro.spring.config.AbstractShiroConfiguration
- authenticationStrategy() - Method in class org.apache.shiro.spring.config.ShiroConfiguration
- authenticationStrategy() - Method in class org.apache.shiro.spring.config.web.autoconfigure.ShiroWebAutoConfiguration
- authenticationStrategy() - Method in class org.apache.shiro.spring.web.config.ShiroWebConfiguration
- AuthenticationStrategy - Interface in org.apache.shiro.authc.pam
-
A
AuthenticationStrategy
implementation assists theModularRealmAuthenticator
during the log-in process in a pluggable realm (PAM) environment. - AuthenticationToken - Interface in org.apache.shiro.authc
-
An AuthenticationToken is a consolidation of an account's principals and supporting credentials submitted by a user during an authentication attempt.
- authenticator() - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration
- authenticator() - Method in class org.apache.shiro.spring.config.AbstractShiroConfiguration
- authenticator() - Method in class org.apache.shiro.spring.config.ShiroConfiguration
- authenticator() - Method in class org.apache.shiro.spring.config.web.autoconfigure.ShiroWebAutoConfiguration
- authenticator() - Method in class org.apache.shiro.spring.web.config.ShiroWebConfiguration
- Authenticator - Interface in org.apache.shiro.authc
-
An Authenticator is responsible for authenticating accounts in an application.
- authorizationAttributeSourceAdvisor(SecurityManager) - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroAnnotationProcessorAutoConfiguration
- authorizationAttributeSourceAdvisor(SecurityManager) - Method in class org.apache.shiro.spring.config.AbstractShiroAnnotationProcessorConfiguration
- authorizationAttributeSourceAdvisor(SecurityManager) - Method in class org.apache.shiro.spring.config.ShiroAnnotationProcessorConfiguration
- AuthorizationAttributeSourceAdvisor - Class in org.apache.shiro.spring.security.interceptor
-
TODO - complete JavaDoc
- AuthorizationAttributeSourceAdvisor() - Constructor for class org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor
-
Create a new AuthorizationAttributeSourceAdvisor.
- AuthorizationException - Exception in org.apache.shiro.authz
-
Exception thrown if there is a problem during authorization (access control check).
- AuthorizationException() - Constructor for exception org.apache.shiro.authz.AuthorizationException
-
Creates a new AuthorizationException.
- AuthorizationException(String) - Constructor for exception org.apache.shiro.authz.AuthorizationException
-
Constructs a new AuthorizationException.
- AuthorizationException(String, Throwable) - Constructor for exception org.apache.shiro.authz.AuthorizationException
-
Constructs a new AuthorizationException.
- AuthorizationException(Throwable) - Constructor for exception org.apache.shiro.authz.AuthorizationException
-
Constructs a new AuthorizationException.
- AuthorizationFilter - Class in org.apache.shiro.web.filter.authz
-
Superclass for authorization-related filters.
- AuthorizationFilter() - Constructor for class org.apache.shiro.web.filter.authz.AuthorizationFilter
- AuthorizationInfo - Interface in org.apache.shiro.authz
-
AuthorizationInfo
represents a single Subject's stored authorization data (roles, permissions, etc) used during authorization (access control) checks only. - authorizer() - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration
- authorizer() - Method in class org.apache.shiro.spring.config.AbstractShiroConfiguration
- authorizer() - Method in class org.apache.shiro.spring.config.ShiroConfiguration
- authorizer() - Method in class org.apache.shiro.spring.config.web.autoconfigure.ShiroWebAutoConfiguration
- authorizer() - Method in class org.apache.shiro.spring.web.config.ShiroWebConfiguration
- Authorizer - Interface in org.apache.shiro.authz
-
An Authorizer performs authorization (access control) operations for any given Subject (aka 'application user').
- AuthorizingAnnotationHandler - Class in org.apache.shiro.authz.aop
-
An AnnotationHandler that executes authorization (access control) behavior based on directive(s) found in a JSR-175 Annotation.
- AuthorizingAnnotationHandler(Class<? extends Annotation>) - Constructor for class org.apache.shiro.authz.aop.AuthorizingAnnotationHandler
-
Constructs an
AuthorizingAnnotationHandler
who processes annotations of the specified type. - AuthorizingAnnotationMethodInterceptor - Class in org.apache.shiro.authz.aop
-
An AnnotationMethodInterceptor that asserts the calling code is authorized to execute the method before allowing the invocation to continue by inspecting code annotations to perform an access control check.
- AuthorizingAnnotationMethodInterceptor(AuthorizingAnnotationHandler) - Constructor for class org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor
-
Constructor that ensures the internal
handler
is set which will be used to perform the authorization assertion checks when a supported annotation is encountered. - AuthorizingAnnotationMethodInterceptor(AuthorizingAnnotationHandler, AnnotationResolver) - Constructor for class org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor
- AuthorizingMethodInterceptor - Class in org.apache.shiro.authz.aop
-
Basic abstract class to support intercepting methods that perform authorization (access control) checks.
- AuthorizingMethodInterceptor() - Constructor for class org.apache.shiro.authz.aop.AuthorizingMethodInterceptor
- AuthorizingRealm - Class in org.apache.shiro.realm
-
An
AuthorizingRealm
extends theAuthenticatingRealm
's capabilities by adding Authorization (access control) support. - AuthorizingRealm() - Constructor for class org.apache.shiro.realm.AuthorizingRealm
- AuthorizingRealm(CredentialsMatcher) - Constructor for class org.apache.shiro.realm.AuthorizingRealm
- AuthorizingRealm(CacheManager) - Constructor for class org.apache.shiro.realm.AuthorizingRealm
- AuthorizingRealm(CacheManager, CredentialsMatcher) - Constructor for class org.apache.shiro.realm.AuthorizingRealm
- AuthorizingSecurityManager - Class in org.apache.shiro.mgt
-
Shiro support of a
SecurityManager
class hierarchy that delegates all authorization (access control) operations to a wrappedAuthorizer
instance. - AuthorizingSecurityManager() - Constructor for class org.apache.shiro.mgt.AuthorizingSecurityManager
-
Default no-arg constructor that initializes an internal default
ModularRealmAuthorizer
. - awaitTermination(long, TimeUnit) - Method in class org.apache.shiro.concurrent.SubjectAwareExecutorService
B
- Base64 - Class in org.apache.shiro.codec
- Base64() - Constructor for class org.apache.shiro.codec.Base64
- BASE64 - org.apache.shiro.crypto.hash.format.ProvidedHashFormat
-
Value representing the
Base64Format
implementation. - Base64Format - Class in org.apache.shiro.crypto.hash.format
-
HashFormat
that outputs only the hash's digest bytes in Base64 format. - Base64Format() - Constructor for class org.apache.shiro.crypto.hash.format.Base64Format
- BasicHttpAuthenticationFilter - Class in org.apache.shiro.web.filter.authc
-
Requires the requesting user to be
authenticated
for the request to continue, and if they're not, requires the user to login via the HTTP Basic protocol-specific challenge. - BasicHttpAuthenticationFilter() - Constructor for class org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
- BasicIniEnvironment - Class in org.apache.shiro.env
-
Basic usage:
- BasicIniEnvironment(String) - Constructor for class org.apache.shiro.env.BasicIniEnvironment
- BasicIniEnvironment(Ini) - Constructor for class org.apache.shiro.env.BasicIniEnvironment
- BeanEvent - Class in org.apache.shiro.config.event
- BeanEvent(String, Object, Map<String, Object>) - Constructor for class org.apache.shiro.config.event.BeanEvent
- BearerHttpAuthenticationFilter - Class in org.apache.shiro.web.filter.authc
-
Requires the requesting user to be
authenticated
for the request to continue, and if they're not, requires the user to login via the HTTP Bearer protocol-specific challenge. - BearerHttpAuthenticationFilter() - Constructor for class org.apache.shiro.web.filter.authc.BearerHttpAuthenticationFilter
- BearerToken - Class in org.apache.shiro.authc
-
A
AuthenticationToken
that contains an a Bearer token or API key, typically received via an HTTPAuthorization
header. - BearerToken(String) - Constructor for class org.apache.shiro.authc.BearerToken
- BearerToken(String, String) - Constructor for class org.apache.shiro.authc.BearerToken
- BeforeAdviceMethodInvocationAdapter - Class in org.apache.shiro.aspectj
-
Helper class that adapts an AspectJ
JoinPoint
. - BeforeAdviceMethodInvocationAdapter(Object, Method, Object[]) - Constructor for class org.apache.shiro.aspectj.BeforeAdviceMethodInvocationAdapter
-
Creates a new
BeforeAdviceMethodInvocationAdapter
instance. - beforeAllAttempts(Collection<? extends Realm>, AuthenticationToken) - Method in class org.apache.shiro.authc.pam.AbstractAuthenticationStrategy
-
Simply returns
new
, which supports aggregating account data across realms.SimpleAuthenticationInfo
(); - beforeAllAttempts(Collection<? extends Realm>, AuthenticationToken) - Method in interface org.apache.shiro.authc.pam.AuthenticationStrategy
-
Method invoked by the ModularAuthenticator signifying that the authentication process is about to begin for the specified
token
- called before anyRealm
is actually invoked. - beforeAllAttempts(Collection<? extends Realm>, AuthenticationToken) - Method in class org.apache.shiro.authc.pam.FirstSuccessfulStrategy
-
Returns
null
immediately, relying on this class'smerge
implementation to return only the firstinfo
object it encounters, ignoring all subsequent ones. - beforeAttempt(Realm, AuthenticationToken, AuthenticationInfo) - Method in class org.apache.shiro.authc.pam.AbstractAuthenticationStrategy
-
Simply returns the
aggregate
method argument, without modification. - beforeAttempt(Realm, AuthenticationToken, AuthenticationInfo) - Method in class org.apache.shiro.authc.pam.AllSuccessfulStrategy
-
Because all realms in this strategy must complete successfully, this implementation ensures that the given
Realm
supports
the giventoken
argument. - beforeAttempt(Realm, AuthenticationToken, AuthenticationInfo) - Method in interface org.apache.shiro.authc.pam.AuthenticationStrategy
-
Method invoked by the ModularAuthenticator just prior to the realm being consulted for account data, allowing pre-authentication-attempt logic for that realm only.
- beforeAttempt(Realm, AuthenticationToken, AuthenticationInfo) - Method in class org.apache.shiro.authc.pam.FirstSuccessfulStrategy
-
Throws ShortCircuitIterationException if stopAfterFirstSuccess is set and authentication is successful with a previously consulted realm.
- beforeInvalidNotification(Session) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
-
Returns the session instance to use to pass to registered
SessionListener
s for notification that the session has been invalidated (stopped or expired). - beforeLogout(Subject) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
- beforeLogout(Subject) - Method in class org.apache.shiro.web.mgt.DefaultWebSecurityManager
- beforeSessionValidationDisabled() - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
- beforeTest() - Method in class org.apache.shiro.testing.web.AbstractContainerIT
- bind() - Method in class org.apache.shiro.subject.support.SubjectThreadState
-
Binds a
Subject
andSecurityManager
to theThreadContext
so they can be retrieved later by anySecurityUtils.
getSubject()
calls that might occur during the thread's execution. - bind() - Method in interface org.apache.shiro.util.ThreadState
-
Binds any state that should be made accessible during a thread's execution.
- bind(String, Object) - Method in class org.apache.shiro.jndi.JndiTemplate
-
Bind the given object to the current JNDI context, using the given name.
- bind(SecurityManager) - Static method in class org.apache.shiro.util.ThreadContext
-
Convenience method that simplifies binding the application's SecurityManager instance to the ThreadContext.
- bind(Subject) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
-
Deprecated.in favor of
save(subject)
. - bind(Subject) - Static method in class org.apache.shiro.util.ThreadContext
-
Convenience method that simplifies binding a Subject to the ThreadContext.
- bindBeanType(TypeLiteral<T>, Key<? extends T>) - Method in class org.apache.shiro.guice.ShiroModule
-
Binds a key to use for injecting setters in shiro classes.
- bindEnvironment(AnnotatedBindingBuilder<Environment>) - Method in class org.apache.shiro.guice.ShiroModule
-
Binds the environment.
- bindEnvironment(AnnotatedBindingBuilder<Environment>) - Method in class org.apache.shiro.guice.web.ShiroWebModule
- bindEventBus(AnnotatedBindingBuilder<EventBus>) - Method in class org.apache.shiro.guice.ShiroModule
-
Binds the EventBus.
- bindGuiceFilter(Binder) - Static method in class org.apache.shiro.guice.web.ShiroWebModule
- bindGuiceFilter(String, Binder) - Static method in class org.apache.shiro.guice.web.ShiroWebModule
- bindRealm() - Method in class org.apache.shiro.guice.ShiroModule
-
This is the preferred manner to bind a realm.
- bindSecurityManager(AnnotatedBindingBuilder<? super SecurityManager>) - Method in class org.apache.shiro.guice.ShiroModule
-
Binds the security manager.
- bindSecurityManager(AnnotatedBindingBuilder<? super SecurityManager>) - Method in class org.apache.shiro.guice.web.ShiroWebModule
- bindSessionManager(AnnotatedBindingBuilder<SessionManager>) - Method in class org.apache.shiro.guice.ShiroModule
-
Binds the session manager.
- bindSessionManager(AnnotatedBindingBuilder<SessionManager>) - Method in class org.apache.shiro.guice.web.ShiroWebModule
-
Binds the session manager.
- bindShiroFilterConfiguration(AnnotatedBindingBuilder<? super ShiroFilterConfiguration>) - Method in class org.apache.shiro.guice.web.ShiroWebModule
-
Binds the Shiro Filter Configuration.
- bindShiroInterceptor(AnnotationMethodInterceptor) - Method in class org.apache.shiro.guice.aop.ShiroAopModule
- bindWebEnvironment(AnnotatedBindingBuilder<? super WebEnvironment>) - Method in class org.apache.shiro.guice.web.ShiroWebModule
- bindWebSecurityManager(AnnotatedBindingBuilder<? super WebSecurityManager>) - Method in class org.apache.shiro.guice.web.ShiroWebModule
-
Binds the security manager.
- BlowfishCipherService - Class in org.apache.shiro.crypto
-
CipherService
using theBlowfish
cipher algorithm for all encryption, decryption, and key operations. - BlowfishCipherService() - Constructor for class org.apache.shiro.crypto.BlowfishCipherService
-
Creates a new
CipherService
instance using theBlowfish
cipher algorithm with the following important cipher default attributes: Attribute ValuekeySize
128
bitsblockSize
64
bits (required forBlowfish
)mode
CBC
*paddingScheme
PKCS5
initializationVectorSize
64
bitsgenerateInitializationVectors
true
** - build() - Method in class org.apache.shiro.crypto.hash.HashRequest.Builder
-
Builds a
HashRequest
instance reflecting the specified configuration. - buildAuthenticationInfo(String, char[]) - Method in class org.apache.shiro.realm.activedirectory.ActiveDirectoryRealm
- buildAuthorizationInfo(Set<String>) - Method in class org.apache.shiro.realm.activedirectory.ActiveDirectoryRealm
- buildChains(FilterChainManager, Ini) - Method in class org.apache.shiro.web.config.IniFilterChainResolverFactory
- buildCookie(String, int, String, String, boolean) - Method in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
- buildCookie(String, int, String, String, boolean, Cookie.SameSiteOptions) - Method in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
- Builder() - Constructor for class org.apache.shiro.crypto.hash.HashRequest.Builder
-
Default no-arg constructor.
- Builder() - Constructor for class org.apache.shiro.subject.Subject.Builder
-
Constructs a new
Subject.Builder
instance, using theSecurityManager
instance available to the calling code as determined by a call toSecurityUtils.getSecurityManager()
to build theSubject
instance. - Builder(ServletRequest, ServletResponse) - Constructor for class org.apache.shiro.web.subject.WebSubject.Builder
-
Constructs a new
Web.Builder
instance using theSecurityManager
obtained by callingSecurityUtils.
getSecurityManager()
. - Builder(SecurityManager) - Constructor for class org.apache.shiro.subject.Subject.Builder
-
Constructs a new
Subject.Builder
instance which will use the specifiedSecurityManager
when building theSubject
instance. - Builder(SecurityManager, ServletRequest, ServletResponse) - Constructor for class org.apache.shiro.web.subject.WebSubject.Builder
-
Constructs a new
Web.Builder
instance using the specifiedSecurityManager
instance to create theWebSubject
instance. - buildHashRequest(ByteSource, Hash) - Method in class org.apache.shiro.authc.credential.DefaultPasswordService
- buildHeaderValue(String, String, String, String, String, int, int, boolean, boolean) - Method in class org.apache.shiro.web.servlet.SimpleCookie
- buildHeaderValue(String, String, String, String, String, int, int, boolean, boolean, Cookie.SameSiteOptions) - Method in class org.apache.shiro.web.servlet.SimpleCookie
- buildObjects(Map<String, String>) - Method in class org.apache.shiro.config.ReflectionBuilder
- buildPermissions(String[], String) - Method in class org.apache.shiro.web.filter.authz.HttpMethodPermissionFilter
-
Builds a new array of permission strings based on the original argument, appending the specified action verb to each one per
WildcardPermission
conventions. - buildPermissions(HttpServletRequest, String[], String) - Method in class org.apache.shiro.web.filter.authz.HttpMethodPermissionFilter
-
Returns a collection of String permissions with which to perform a permission check to determine if the filter will allow the request to continue.
- buildSubject() - Method in class org.apache.shiro.subject.Subject.Builder
-
Creates and returns a new
Subject
instance reflecting the cumulative state acquired by the other methods in this class. - buildWebSubject() - Method in class org.apache.shiro.web.subject.WebSubject.Builder
-
Returns
super.buildSubject()
, but additionally ensures that the returned instance is aninstanceof
WebSubject
and to support a type-safe method so a caller does not have to cast. - byId(String) - Static method in enum org.apache.shiro.crypto.hash.format.ProvidedHashFormat
- bytes(byte[]) - Static method in class org.apache.shiro.util.ByteSource.Util
-
Returns a new
ByteSource
instance representing the specified byte array. - bytes(char[]) - Static method in class org.apache.shiro.util.ByteSource.Util
-
Returns a new
ByteSource
instance representing the specified character array's bytes. - bytes(File) - Static method in class org.apache.shiro.util.ByteSource.Util
-
Returns a new
ByteSource
instance representing the specified File's bytes. - bytes(InputStream) - Static method in class org.apache.shiro.util.ByteSource.Util
-
Returns a new
ByteSource
instance representing the specified InputStream's bytes. - bytes(Object) - Static method in class org.apache.shiro.util.ByteSource.Util
-
Returns a
ByteSource
instance representing the specified byte source argument. - bytes(String) - Static method in class org.apache.shiro.util.ByteSource.Util
-
Returns a new
ByteSource
instance representing the specified string's bytes. - bytes(ByteSource) - Static method in class org.apache.shiro.util.ByteSource.Util
-
Returns a new
ByteSource
instance representing the specified ByteSource. - ByteSource - Interface in org.apache.shiro.util
-
A
ByteSource
wraps a byte array and provides additional encoding operations. - ByteSource.Util - Class in org.apache.shiro.util
-
Utility class that can construct ByteSource instances.
- byType(Class<T>) - Method in interface org.apache.shiro.subject.PrincipalCollection
-
Returns all principals assignable from the specified type, or an empty Collection if no principals of that type are contained.
- byType(Class<T>) - Method in class org.apache.shiro.subject.SimplePrincipalCollection
- byType(Class<T>) - Method in class org.apache.shiro.subject.SimplePrincipalMap
C
- cache(Session, Serializable) - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
Caches the specified session under the cache entry key of
sessionId
. - cache(Session, Serializable, Cache<Serializable, Session>) - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
Caches the specified session in the given cache under the key of
sessionId
. - Cache<K,V> - Interface in org.apache.shiro.cache
-
A Cache efficiently stores temporary objects primarily to improve an application's performance.
- CacheException - Exception in org.apache.shiro.cache
-
Root class of all Shiro exceptions related to caching operations.
- CacheException() - Constructor for exception org.apache.shiro.cache.CacheException
-
Creates a new
CacheException
. - CacheException(String) - Constructor for exception org.apache.shiro.cache.CacheException
-
Creates a new
CacheException
. - CacheException(String, Throwable) - Constructor for exception org.apache.shiro.cache.CacheException
-
Creates a new
CacheException
. - CacheException(Throwable) - Constructor for exception org.apache.shiro.cache.CacheException
-
Creates a new
CacheException
. - cacheManager - Variable in class org.apache.shiro.spring.config.AbstractShiroConfiguration
- CacheManager - Interface in org.apache.shiro.cache
-
A CacheManager provides and maintains the lifecycles of
Cache
instances. - CacheManagerAware - Interface in org.apache.shiro.cache
-
Interface implemented by components that utilize a CacheManager and wish that CacheManager to be supplied if one is available.
- CachingRealm - Class in org.apache.shiro.realm
-
A very basic abstract extension point for the
Realm
interface that provides caching support for subclasses. - CachingRealm() - Constructor for class org.apache.shiro.realm.CachingRealm
-
Default no-argument constructor that defaults
cachingEnabled
(for general caching) totrue
and sets a defaultname
based on the class name. - CachingSecurityManager - Class in org.apache.shiro.mgt
-
A very basic starting point for the SecurityManager interface that merely provides logging and caching support.
- CachingSecurityManager() - Constructor for class org.apache.shiro.mgt.CachingSecurityManager
-
Default no-arg constructor that will automatically attempt to initialize a default cacheManager
- CachingSessionDAO - Class in org.apache.shiro.session.mgt.eis
-
An CachingSessionDAO is a SessionDAO that provides a transparent caching layer between the components that use it and the underlying EIS (Enterprise Information System) session backing store (for example, filesystem, database, enterprise grid/cloud, etc).
- CachingSessionDAO() - Constructor for class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
Default no-arg constructor.
- call() - Method in class org.apache.shiro.subject.support.SubjectCallable
- CasAuthenticationException - Exception in org.apache.shiro.cas
-
Deprecated.replaced with Shiro integration in buji-pac4j.
- CasAuthenticationException() - Constructor for exception org.apache.shiro.cas.CasAuthenticationException
-
Deprecated.
- CasAuthenticationException(String) - Constructor for exception org.apache.shiro.cas.CasAuthenticationException
-
Deprecated.
- CasAuthenticationException(String, Throwable) - Constructor for exception org.apache.shiro.cas.CasAuthenticationException
-
Deprecated.
- CasAuthenticationException(Throwable) - Constructor for exception org.apache.shiro.cas.CasAuthenticationException
-
Deprecated.
- CasFilter - Class in org.apache.shiro.cas
-
Deprecated.replaced with Shiro integration in buji-pac4j.
- CasFilter() - Constructor for class org.apache.shiro.cas.CasFilter
-
Deprecated.
- CasRealm - Class in org.apache.shiro.cas
-
Deprecated.replaced with Shiro integration in buji-pac4j.
- CasRealm() - Constructor for class org.apache.shiro.cas.CasRealm
-
Deprecated.
- CasSubjectFactory - Class in org.apache.shiro.cas
-
Deprecated.replaced with Shiro integration in buji-pac4j.
- CasSubjectFactory() - Constructor for class org.apache.shiro.cas.CasSubjectFactory
-
Deprecated.
- CasToken - Class in org.apache.shiro.cas
-
Deprecated.replaced with Shiro integration in buji-pac4j.
- CasToken(String) - Constructor for class org.apache.shiro.cas.CasToken
-
Deprecated.
- CBC - org.apache.shiro.crypto.OperationMode
-
Cipher-block Chaining mode, defined in FIPS PUB 81.
- CCM - org.apache.shiro.crypto.OperationMode
-
Counter with CBC-MAC mode* - for block ciphers with 128 bit block-size only.
- CFB - org.apache.shiro.crypto.OperationMode
- checkForNullOrEmptyLiteral(String) - Method in class org.apache.shiro.config.ReflectionBuilder
- checkHashFormatDurability() - Method in class org.apache.shiro.authc.credential.DefaultPasswordService
- checkPermission(String) - Method in interface org.apache.shiro.subject.Subject
-
Ensures this Subject implies the specified permission String.
- checkPermission(String) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- checkPermission(Permission) - Method in interface org.apache.shiro.subject.Subject
-
Ensures this Subject
implies
the specifiedPermission
. - checkPermission(Permission) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- checkPermission(Permission, AuthorizationInfo) - Method in class org.apache.shiro.realm.AuthorizingRealm
- checkPermission(PrincipalCollection, String) - Method in interface org.apache.shiro.authz.Authorizer
-
Ensures the corresponding Subject/user implies the specified permission String.
- checkPermission(PrincipalCollection, String) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
If !
isPermitted(permission)
, throws anUnauthorizedException
otherwise returns quietly. - checkPermission(PrincipalCollection, String) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
- checkPermission(PrincipalCollection, String) - Method in class org.apache.shiro.realm.AuthorizingRealm
- checkPermission(PrincipalCollection, Permission) - Method in interface org.apache.shiro.authz.Authorizer
-
Ensures a subject/user
Permission.implies(Permission)
implies} the specified Permission. - checkPermission(PrincipalCollection, Permission) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
If !
isPermitted(permission)
, throws anUnauthorizedException
otherwise returns quietly. - checkPermission(PrincipalCollection, Permission) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
- checkPermission(PrincipalCollection, Permission) - Method in class org.apache.shiro.realm.AuthorizingRealm
- checkPermissions(String...) - Method in interface org.apache.shiro.subject.Subject
-
Ensures this Subject
implies
all of the specified permission strings. - checkPermissions(String...) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- checkPermissions(Collection<Permission>) - Method in interface org.apache.shiro.subject.Subject
-
Ensures this Subject
implies
all of the specified permission strings. - checkPermissions(Collection<Permission>) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- checkPermissions(Collection<Permission>, AuthorizationInfo) - Method in class org.apache.shiro.realm.AuthorizingRealm
- checkPermissions(PrincipalCollection, String...) - Method in interface org.apache.shiro.authz.Authorizer
-
Ensures the corresponding Subject/user
implies
all of the specified permission strings. - checkPermissions(PrincipalCollection, String...) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
If !
isPermitted(permission)
, throws anUnauthorizedException
otherwise returns quietly. - checkPermissions(PrincipalCollection, String...) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
- checkPermissions(PrincipalCollection, String...) - Method in class org.apache.shiro.realm.AuthorizingRealm
- checkPermissions(PrincipalCollection, Collection<Permission>) - Method in interface org.apache.shiro.authz.Authorizer
-
Ensures the corresponding Subject/user
implies
all of the specified permission strings. - checkPermissions(PrincipalCollection, Collection<Permission>) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
If !
isPermitted(permission)
for all the given Permissions, throws anUnauthorizedException
otherwise returns quietly. - checkPermissions(PrincipalCollection, Collection<Permission>) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
- checkPermissions(PrincipalCollection, Collection<Permission>) - Method in class org.apache.shiro.realm.AuthorizingRealm
- checkRole(String) - Method in interface org.apache.shiro.subject.Subject
-
Asserts this Subject has the specified role by returning quietly if they do or throwing an
AuthorizationException
if they do not. - checkRole(String) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- checkRole(String, AuthorizationInfo) - Method in class org.apache.shiro.realm.AuthorizingRealm
- checkRole(PrincipalCollection, String) - Method in interface org.apache.shiro.authz.Authorizer
-
Asserts the corresponding Subject/user has the specified role by returning quietly if they do or throwing an
AuthorizationException
if they do not. - checkRole(PrincipalCollection, String) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
If !
hasRole(role)
, throws anUnauthorizedException
otherwise returns quietly. - checkRole(PrincipalCollection, String) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
- checkRole(PrincipalCollection, String) - Method in class org.apache.shiro.realm.AuthorizingRealm
- checkRoles(String...) - Method in interface org.apache.shiro.subject.Subject
-
Same as
checkRoles(Collection
but doesn't require a collection as a an argument.roleIdentifiers) - checkRoles(String...) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- checkRoles(Collection<String>) - Method in interface org.apache.shiro.subject.Subject
-
Asserts this Subject has all of the specified roles by returning quietly if they do or throwing an
AuthorizationException
if they do not. - checkRoles(Collection<String>) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- checkRoles(Collection<String>, AuthorizationInfo) - Method in class org.apache.shiro.realm.AuthorizingRealm
- checkRoles(PrincipalCollection, String...) - Method in interface org.apache.shiro.authz.Authorizer
-
Same as
checkRoles(PrincipalCollection subjectPrincipal, Collection<String> roleIdentifiers)
but doesn't require a collection as an argument. - checkRoles(PrincipalCollection, String...) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
Calls
checkRole
for each role specified. - checkRoles(PrincipalCollection, String...) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
- checkRoles(PrincipalCollection, String...) - Method in class org.apache.shiro.realm.AuthorizingRealm
- checkRoles(PrincipalCollection, Collection<String>) - Method in interface org.apache.shiro.authz.Authorizer
-
Asserts the corresponding Subject/user has all of the specified roles by returning quietly if they do or throwing an
AuthorizationException
if they do not. - checkRoles(PrincipalCollection, Collection<String>) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
- checkRoles(PrincipalCollection, Collection<String>) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
- checkRoles(PrincipalCollection, Collection<String>) - Method in class org.apache.shiro.realm.AuthorizingRealm
- checkValid(SessionKey) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
- checkValid(SessionKey) - Method in interface org.apache.shiro.session.mgt.NativeSessionManager
-
Returns quietly if the associated session is valid (it exists and is not stopped or expired) or throws an
InvalidSessionException
indicating that the session id is invalid. - CipherService - Interface in org.apache.shiro.crypto
-
A
CipherService
uses a cryptographic algorithm called a Cipher to convert an original input source using akey
to an uninterpretable format. - CLASSPATH_PREFIX - Static variable in class org.apache.shiro.io.ResourceUtils
-
Resource path prefix that specifies to load from a classpath location, value is
classpath:
- ClassResolvingObjectInputStream - Class in org.apache.shiro.io
-
Enables correct ClassLoader lookup in various environments (e.g.
- ClassResolvingObjectInputStream(InputStream) - Constructor for class org.apache.shiro.io.ClassResolvingObjectInputStream
- ClassUtils - Class in org.apache.shiro.util
-
Utility method library used to conveniently interact with
Class
es, such as acquiring them from the applicationClassLoader
s and instantiating Objects from them. - ClassUtils() - Constructor for class org.apache.shiro.util.ClassUtils
- clean(String) - Static method in class org.apache.shiro.util.StringUtils
-
Returns a 'cleaned' representation of the specified argument.
- clean(String, boolean) - Static method in class org.apache.shiro.util.StringUtils
-
Returns a 'cleaned' representation of the specified argument.
- cleanup(ServletRequest, ServletResponse, Exception) - Method in class org.apache.shiro.web.filter.authc.AuthenticatingFilter
-
Overrides the default behavior to call
AccessControlFilter.onAccessDenied(javax.servlet.ServletRequest, javax.servlet.ServletResponse, java.lang.Object)
and swallow the exception if the exception isUnauthenticatedException
. - cleanup(ServletRequest, ServletResponse, Exception) - Method in class org.apache.shiro.web.servlet.AdviceFilter
-
Executes cleanup logic in the
finally
code block in thedoFilterInternal
implementation. - clear() - Method in class org.apache.shiro.authc.UsernamePasswordToken
-
Clears out (nulls) the username, password, rememberMe, and inetAddress.
- clear() - Method in interface org.apache.shiro.cache.Cache
-
Clear all entries from the cache.
- clear() - Method in class org.apache.shiro.cache.ehcache.EhCache
-
Removes all elements in the cache, but leaves the cache in a useable state.
- clear() - Method in class org.apache.shiro.cache.MapCache
- clear() - Method in class org.apache.shiro.config.Ini
- clear() - Method in class org.apache.shiro.config.Ini.Section
- clear() - Method in interface org.apache.shiro.subject.MutablePrincipalCollection
-
Removes all Principals in this collection.
- clear() - Method in class org.apache.shiro.subject.SimplePrincipalCollection
- clear() - Method in class org.apache.shiro.subject.SimplePrincipalMap
- clear() - Method in class org.apache.shiro.subject.support.SubjectThreadState
-
Completely
removes
theThreadContext
state. - clear() - Method in class org.apache.shiro.util.MapContext
- clear() - Method in class org.apache.shiro.util.SoftHashMap
- clear() - Method in interface org.apache.shiro.util.ThreadState
-
Completely clears/removes the
ThreadContext
state. - clear() - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
- clearCache(PrincipalCollection) - Method in class org.apache.shiro.realm.CachingRealm
-
Clears out any cached data associated with the specified account identity/identities.
- clearCachedAuthenticationInfo(PrincipalCollection) - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Clears out the AuthenticationInfo cache entry for the specified account.
- clearCachedAuthorizationInfo(PrincipalCollection) - Method in class org.apache.shiro.realm.AuthorizingRealm
-
Clears out the AuthorizationInfo cache entry for the specified account.
- CliApp - Class in org.apache.shiro.samples
-
Spring Boot Application that show the usage of a user login, checking permissions, and annotation protected methods.
- CliApp() - Constructor for class org.apache.shiro.samples.CliApp
- close(InputStream) - Static method in class org.apache.shiro.io.ResourceUtils
-
Convenience method that closes the specified
InputStream
, logging anyIOException
that might occur. - closeConnection(Connection) - Static method in class org.apache.shiro.util.JdbcUtils
-
Close the given JDBC Connection and ignore any thrown exception.
- closeContext(LdapContext) - Static method in class org.apache.shiro.realm.ldap.LdapUtils
-
Closes an LDAP context, logging any errors, but not throwing an exception if there is a failure.
- closeEnumeration(NamingEnumeration) - Static method in class org.apache.shiro.realm.ldap.LdapUtils
- closeResultSet(ResultSet) - Static method in class org.apache.shiro.util.JdbcUtils
-
Close the given JDBC ResultSet and ignore any thrown exception.
- closeStatement(Statement) - Static method in class org.apache.shiro.util.JdbcUtils
-
Close the given JDBC Statement and ignore any thrown exception.
- CodecException - Exception in org.apache.shiro.codec
-
Root exception related to issues during encoding or decoding.
- CodecException() - Constructor for exception org.apache.shiro.codec.CodecException
-
Creates a new
CodecException
. - CodecException(String) - Constructor for exception org.apache.shiro.codec.CodecException
-
Creates a new
CodecException
. - CodecException(String, Throwable) - Constructor for exception org.apache.shiro.codec.CodecException
-
Creates a new
CodecException
. - CodecException(Throwable) - Constructor for exception org.apache.shiro.codec.CodecException
-
Creates a new
CodecException
. - CodecSupport - Class in org.apache.shiro.codec
-
Base abstract class that provides useful encoding and decoding operations, especially for character data.
- CodecSupport() - Constructor for class org.apache.shiro.codec.CodecSupport
- CollectionUtils - Class in org.apache.shiro.util
-
Static helper class for use dealing with Collections.
- CollectionUtils() - Constructor for class org.apache.shiro.util.CollectionUtils
- COLUMN - org.apache.shiro.realm.jdbc.JdbcRealm.SaltStyle
- combine(ByteSource, ByteSource) - Method in class org.apache.shiro.crypto.hash.DefaultHashService
-
Combines the specified 'private' salt bytes with the specified additional extra bytes to use as the total salt during hash computation.
- COMMENT_ATTRIBUTE_NAME - Static variable in class org.apache.shiro.web.servlet.SimpleCookie
- COMMENT_POUND - Static variable in class org.apache.shiro.config.Ini
- COMMENT_SEMICOLON - Static variable in class org.apache.shiro.config.Ini
- CommonsInterpolator - Class in org.apache.shiro.config
-
Commons-Config interpolation wrapper.
- CommonsInterpolator() - Constructor for class org.apache.shiro.config.CommonsInterpolator
- compare(Class, Class) - Method in class org.apache.shiro.event.support.EventClassComparator
- compare(EventListener, EventListener) - Method in class org.apache.shiro.event.support.EventListenerComparator
- computeHash(HashRequest) - Method in class org.apache.shiro.crypto.hash.DefaultHashService
-
Computes and responds with a hash based on the specified request.
- computeHash(HashRequest) - Method in interface org.apache.shiro.crypto.hash.HashService
-
Computes a hash based on the given request.
- ConcurrentAccessException - Exception in org.apache.shiro.authc
-
Thrown when an authentication attempt has been received for an account that has already been authenticated (i.e.
- ConcurrentAccessException() - Constructor for exception org.apache.shiro.authc.ConcurrentAccessException
-
Creates a new ConcurrentAccessException.
- ConcurrentAccessException(String) - Constructor for exception org.apache.shiro.authc.ConcurrentAccessException
-
Constructs a new ConcurrentAccessException.
- ConcurrentAccessException(String, Throwable) - Constructor for exception org.apache.shiro.authc.ConcurrentAccessException
-
Constructs a new ConcurrentAccessException.
- ConcurrentAccessException(Throwable) - Constructor for exception org.apache.shiro.authc.ConcurrentAccessException
-
Constructs a new ConcurrentAccessException.
- config(Key<T>, String) - Static method in class org.apache.shiro.guice.web.ShiroWebModule
-
Deprecated.
- config(TypeLiteral<T>, String) - Static method in class org.apache.shiro.guice.web.ShiroWebModule
-
Deprecated.
- config(Class<T>, String) - Static method in class org.apache.shiro.guice.web.ShiroWebModule
-
Deprecated.
- CONFIG_INIT_PARAM_NAME - Static variable in class org.apache.shiro.web.servlet.IniShiroFilter
-
Deprecated.
- CONFIG_LOCATIONS_PARAM - Static variable in class org.apache.shiro.web.env.EnvironmentLoader
-
Servlet Context config param for the resource path to use for configuring the
WebEnvironment
instance:shiroConfigLocations
- CONFIG_PATH_INIT_PARAM_NAME - Static variable in class org.apache.shiro.web.servlet.IniShiroFilter
-
Deprecated.
- ConfigurableHashService - Interface in org.apache.shiro.crypto.hash
-
A
HashService
that allows configuration of its strategy via JavaBeans-compatible setter methods. - ConfigurationException - Exception in org.apache.shiro.config
-
Root exception indicating there was a problem parsing or processing the Shiro configuration.
- ConfigurationException() - Constructor for exception org.apache.shiro.config.ConfigurationException
-
Creates a new ConfigurationException.
- ConfigurationException(String) - Constructor for exception org.apache.shiro.config.ConfigurationException
-
Constructs a new ConfigurationException.
- ConfigurationException(String, Throwable) - Constructor for exception org.apache.shiro.config.ConfigurationException
-
Constructs a new ConfigurationException.
- ConfigurationException(Throwable) - Constructor for exception org.apache.shiro.config.ConfigurationException
-
Constructs a new ConfigurationException.
- configure() - Method in class org.apache.shiro.guice.aop.ShiroAopModule
- configure() - Method in class org.apache.shiro.guice.ShiroModule
- configure() - Method in class org.apache.shiro.web.env.IniWebEnvironment
- configure() - Method in class org.apache.shiro.web.servlet.IniShiroFilter
-
Deprecated.
- configure(ResourceInfo, FeatureContext) - Method in class org.apache.shiro.web.jaxrs.ShiroAnnotationFilterFeature
- configure(FeatureContext) - Method in class org.apache.shiro.web.jaxrs.ShiroFeature
- ConfiguredBeanEvent - Class in org.apache.shiro.config.event
-
Event triggered when a configured bean has been instantiated and fully configured but right before the bean has been initialized.
- ConfiguredBeanEvent(String, Object, Map<String, Object>) - Constructor for class org.apache.shiro.config.event.ConfiguredBeanEvent
- configureDefaultInterceptors(AnnotationResolver) - Method in class org.apache.shiro.guice.aop.ShiroAopModule
- configureInterceptors(AnnotationResolver) - Method in class org.apache.shiro.guice.aop.ShiroAopModule
- configureShiro() - Method in class org.apache.shiro.guice.ShiroModule
-
Implement this method in order to configure your realms and any other Shiro customization you may need.
- configureShiro() - Method in class org.apache.shiro.guice.web.ShiroWebModule
- configureShiro() - Method in class QuickstartShiroModule
- configureShiroWeb() - Method in class org.apache.shiro.guice.web.ShiroWebModule
- CONTAINER_PREFIX - Static variable in class org.apache.shiro.jndi.JndiLocator
-
JNDI prefix used in a J2EE container
- contains(Object) - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
- containsAll(Collection<?>) - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
- containsKey(Object) - Method in class org.apache.shiro.config.Ini
- containsKey(Object) - Method in class org.apache.shiro.config.Ini.Section
- containsKey(Object) - Method in class org.apache.shiro.subject.SimplePrincipalMap
- containsKey(Object) - Method in class org.apache.shiro.util.MapContext
- containsKey(Object) - Method in class org.apache.shiro.util.SoftHashMap
- containsValue(Object) - Method in class org.apache.shiro.config.Ini
- containsValue(Object) - Method in class org.apache.shiro.config.Ini.Section
- containsValue(Object) - Method in class org.apache.shiro.subject.SimplePrincipalMap
- containsValue(Object) - Method in class org.apache.shiro.util.MapContext
- containsValue(Object) - Method in class org.apache.shiro.util.SoftHashMap
- contextAttribute(String, Object) - Method in class org.apache.shiro.subject.Subject.Builder
-
Allows custom attributes to be added to the underlying context
Map
used to construct theSubject
instance. - contextDestroyed(ServletContextEvent) - Method in class org.apache.shiro.web.env.EnvironmentLoaderListener
-
Destroys any previously created/bound
WebEnvironment
instance created by theEnvironmentLoaderListener.contextInitialized(javax.servlet.ServletContextEvent)
method. - contextFactoryClassName - Variable in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
- contextInitialized(ServletContextEvent) - Method in class org.apache.shiro.web.env.EnvironmentLoaderListener
-
Initializes the Shiro
WebEnvironment
and binds it to theServletContext
at application startup for future reference. - continueInvocation(Object) - Method in class org.apache.shiro.spring.security.interceptor.AopAllianceAnnotationsAuthorizingMethodInterceptor
-
Simply casts the method argument to an
org.aopalliance.intercept.MethodInvocation
and then callsmethodInvocation.
proceed
() - convertBytesToPrincipals(byte[], SubjectContext) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
If a
cipherService
is available, it will be used to first decrypt the byte array. - convertConfigToIni(String) - Method in class org.apache.shiro.web.servlet.IniShiroFilter
-
Deprecated.
- convertJndiName(String) - Method in class org.apache.shiro.jndi.JndiLocator
-
Convert the given JNDI name into the actual JNDI name to use.
- convertPathToIni(String) - Method in class org.apache.shiro.web.servlet.IniShiroFilter
-
Deprecated.Converts the specified file path to an
Ini
instance. - convertPrincipalsToBytes(PrincipalCollection) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Converts the given principal collection the byte array that will be persisted to be 'remembered' later.
- convertSaltToBytes(Object) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Acquires the specified
salt
argument's bytes and returns them in the form of aByteSource
instance. - convertSourceToBytes(Object) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Acquires the specified
source
argument's bytes and returns them in the form of aByteSource
instance. - Cookie - Interface in org.apache.shiro.web.servlet
-
Interface representing HTTP cookie operations, supporting pojo-style getters and setters for all attributes which includes HttpOnly support.
- COOKIE_DATE_FORMAT_STRING - Static variable in class org.apache.shiro.web.servlet.SimpleCookie
- COOKIE_HEADER_NAME - Static variable in class org.apache.shiro.web.servlet.SimpleCookie
- COOKIE_SESSION_ID_SOURCE - Static variable in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
- Cookie.SameSiteOptions - Enum in org.apache.shiro.web.servlet
-
The SameSite attribute of the Set-Cookie HTTP response header allows you to declare if your cookie should be restricted to a first-party or same-site context.
- CookieRememberMeManager - Class in org.apache.shiro.web.mgt
-
Remembers a Subject's identity by saving the Subject's
principals
to aCookie
for later retrieval. - CookieRememberMeManager() - Constructor for class org.apache.shiro.web.mgt.CookieRememberMeManager
-
Constructs a new
CookieRememberMeManager
with a defaultrememberMe
cookie template. - copy(SubjectContext) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
- copy(SubjectContext) - Method in class org.apache.shiro.web.mgt.DefaultWebSecurityManager
- create(Session) - Method in class org.apache.shiro.session.mgt.DefaultSessionManager
-
Persists the given session instance to an underlying EIS (Enterprise Information System).
- create(Session) - Method in class org.apache.shiro.session.mgt.eis.AbstractSessionDAO
-
Creates the session by delegating EIS creation to subclasses via the
AbstractSessionDAO.doCreate(org.apache.shiro.session.Session)
method, and then asserting that the returned sessionId is not null. - create(Session) - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
Calls
super.create(session)
, then caches the session keyed by the returnedsessionId
, and then returns thissessionId
. - create(Session) - Method in interface org.apache.shiro.session.mgt.eis.SessionDAO
-
Inserts a new Session record into the underling EIS (e.g.
- createActiveSessionsCache() - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
Creates a cache instance used to store active sessions.
- createAnnotationResolver() - Method in class org.apache.shiro.guice.aop.ShiroAopModule
- createAuthenticationInfo(AuthenticationToken, Object, Object, LdapContext) - Method in class org.apache.shiro.realm.ldap.DefaultLdapRealm
-
Returns the
AuthenticationInfo
resulting from a Subject's successful LDAP authentication attempt. - createBearerToken(String, ServletRequest) - Method in class org.apache.shiro.web.filter.authc.BearerHttpAuthenticationFilter
- createByteSource(Object) - Method in class org.apache.shiro.authc.credential.DefaultPasswordService
- createCache(String) - Method in class org.apache.shiro.cache.AbstractCacheManager
-
Creates a new
Cache
instance associated with the specifiedname
. - createCache(String) - Method in class org.apache.shiro.cache.MemoryConstrainedCacheManager
-
Returns a new
MapCache
instance backed by aSoftHashMap
. - createChain(String, String) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- createChain(String, String) - Method in interface org.apache.shiro.web.filter.mgt.FilterChainManager
-
Creates a filter chain for the given
chainName
with the specifiedchainDefinition
String. - createChains(Map<String, String>, FilterChainManager) - Method in class org.apache.shiro.web.config.IniFilterChainResolverFactory
- createDefaultChain(String) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- createDefaultChain(String) - Method in interface org.apache.shiro.web.filter.mgt.FilterChainManager
-
Creates a chain that should match any non-matched request paths, typically
/**
assuming anAntPathMatcher
I used. - createDefaultInstance() - Method in class org.apache.shiro.config.IniFactorySupport
-
Deprecated.
- createDefaultInstance() - Method in class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.
- createDefaultInstance() - Method in class org.apache.shiro.web.config.IniFilterChainResolverFactory
- createDefaultInstance() - Method in class org.apache.shiro.web.config.WebIniSecurityManagerFactory
-
Deprecated.Simply returns
new
to ensure a web-capableDefaultWebSecurityManager
();SecurityManager
is available by default. - createDefaults(Ini, Ini.Section) - Method in class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.
- createDefaults(Ini, Ini.Section) - Method in class org.apache.shiro.web.config.WebIniSecurityManagerFactory
-
Deprecated.
- createDefaultSecurityManager() - Method in class org.apache.shiro.web.servlet.AbstractShiroFilter
- createEnvironment(ServletContext) - Method in class org.apache.shiro.web.env.EnvironmentLoader
-
Instantiates a
WebEnvironment
based on the specified ServletContext. - createExposedSession(Session, SessionContext) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
- createExposedSession(Session, SessionContext) - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionManager
- createExposedSession(Session, SessionKey) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
- createExposedSession(Session, SessionKey) - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionManager
- createFilterChainManager() - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
- createFilterChainResolver() - Method in class org.apache.shiro.web.env.IniWebEnvironment
- createFilterConfiguration() - Method in class org.apache.shiro.web.env.IniWebEnvironment
- createFrom(JoinPoint) - Static method in class org.apache.shiro.aspectj.BeforeAdviceMethodInvocationAdapter
-
Factory method that creates a new
BeforeAdviceMethodInvocationAdapter
instance using the AspectJJoinPoint
provided. - createHashRequest(ByteSource) - Method in class org.apache.shiro.authc.credential.DefaultPasswordService
- createHazelcastInstance() - Method in class org.apache.shiro.hazelcast.cache.HazelcastCacheManager
-
Implicitly creates and returns a new
HazelcastInstance
that will be used to back this implementation. - createIni(String, boolean) - Method in class org.apache.shiro.web.env.IniWebEnvironment
-
Creates an
Ini
instance reflecting the specified path, ornull
if the path does not exist and is not required. - createInitialContext() - Method in class org.apache.shiro.jndi.JndiTemplate
-
Create a new JNDI initial context.
- createInstance() - Method in class org.apache.shiro.config.IniFactorySupport
-
Deprecated.Creates a new object instance by using a configured INI source.
- createInstance() - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
-
This implementation: Ensures the required
securityManager
property has been setCreates
aFilterChainManager
instance that reflects the configuredfilters
andfilter chain definitions
Wraps the FilterChainManager with a suitableFilterChainResolver
since the Shiro Filter implementations do not know ofFilterChainManager
s Sets both theSecurityManager
andFilterChainResolver
instances on a new Shiro Filter instance and returns that filter instance. - createInstance() - Method in class org.apache.shiro.util.AbstractFactory
- createInstance(Ini) - Method in class org.apache.shiro.config.IniFactorySupport
-
Deprecated.
- createInstance(Ini) - Method in class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.
- createInstance(Ini) - Method in class org.apache.shiro.web.config.IniFilterChainResolverFactory
- createInstanceMap(FilterConfig) - Static method in enum org.apache.shiro.web.filter.mgt.DefaultFilter
- createLdapContext(Hashtable) - Method in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.Creates and returns a new
InitialLdapContext
instance. - createLdapContext(Hashtable) - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
Creates and returns a new
InitialLdapContext
instance. - createMethodInvocation(Object) - Method in class org.apache.shiro.spring.security.interceptor.AopAllianceAnnotationsAuthorizingMethodInterceptor
-
Creates a
MethodInvocation
that wraps anorg.aopalliance.intercept.MethodInvocation
instance, enabling Shiro Annotations in AOP Alliance environments (Spring, etc). - createNewInstance(Map<String, Object>, String, String) - Method in class org.apache.shiro.config.ReflectionBuilder
- createParameterSpec(byte[], boolean) - Method in class org.apache.shiro.crypto.AesCipherService
- createParameterSpec(byte[], boolean) - Method in class org.apache.shiro.crypto.JcaCipherService
- createRealm(Ini) - Method in class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.Creates a
Realm
from the Ini instance containing account data. - createRemoteInvocation(MethodInvocation) - Method in class org.apache.shiro.spring.remoting.SecureRemoteInvocationFactory
-
Creates a
RemoteInvocation
with the current session ID as anattribute
. - createSecurityManager() - Method in class org.apache.shiro.spring.config.AbstractShiroConfiguration
- createSecurityManager() - Method in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
- createSession(HttpSession, String) - Method in class org.apache.shiro.web.session.mgt.ServletContainerSessionManager
- createSession(SessionContext) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
-
Creates a new
Session Session
instance based on the specified (possiblynull
) initialization data. - createSession(SessionContext) - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
- createSession(SessionContext) - Method in interface org.apache.shiro.session.mgt.SessionFactory
-
Creates a new
Session
instance based on the specified contextual initialization data. - createSession(SessionContext) - Method in class org.apache.shiro.session.mgt.SimpleSessionFactory
-
Creates a new
SimpleSession
instance retaining the context'shost
if one can be found. - createSession(SessionContext) - Method in class org.apache.shiro.web.session.mgt.ServletContainerSessionManager
- createSessionContext() - Method in class org.apache.shiro.subject.support.DelegatingSubject
- createSessionContext() - Method in class org.apache.shiro.web.subject.support.WebDelegatingSubject
- createSessionContext(SubjectContext) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
- createSessionContext(SubjectContext) - Method in class org.apache.shiro.web.mgt.DefaultWebSecurityManager
- createSessionManager(String) - Method in class org.apache.shiro.web.mgt.DefaultWebSecurityManager
- createSessionValidationScheduler() - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
- createSubject(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.servlet.AbstractShiroFilter
-
Creates a
WebSubject
instance to associate with the incoming request/response pair which will be used throughout the request/response execution. - createSubject(AuthenticationToken, AuthenticationInfo, Subject) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
-
Creates a
Subject
instance for the user represented by the given method arguments. - createSubject(SubjectContext) - Method in class org.apache.shiro.cas.CasSubjectFactory
-
Deprecated.
- createSubject(SubjectContext) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
-
This implementation functions as follows:
- createSubject(SubjectContext) - Method in class org.apache.shiro.mgt.DefaultSubjectFactory
- createSubject(SubjectContext) - Method in interface org.apache.shiro.mgt.SecurityManager
-
Creates a
Subject
instance reflecting the specified contextual data. - createSubject(SubjectContext) - Method in interface org.apache.shiro.mgt.SubjectFactory
-
Creates a new Subject instance reflecting the state of the specified contextual data.
- createSubject(SubjectContext) - Method in class org.apache.shiro.web.mgt.DefaultWebSubjectFactory
- createSubjectContext() - Method in class org.apache.shiro.mgt.DefaultSecurityManager
- createSubjectContext() - Method in class org.apache.shiro.web.mgt.DefaultWebSecurityManager
- createTicketValidator() - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- createToken(String, String, boolean, String) - Method in class org.apache.shiro.web.filter.authc.AuthenticatingFilter
- createToken(String, String, ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.AuthenticatingFilter
- createToken(ServletRequest, ServletResponse) - Method in class org.apache.shiro.cas.CasFilter
-
Deprecated.The token created for this authentication is a CasToken containing the CAS service ticket received on the CAS service url (on which the filter must be configured).
- createToken(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.AuthenticatingFilter
- createToken(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
-
Creates an AuthenticationToken for use during login attempt with the provided credentials in the http header.
- createToken(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.BearerHttpAuthenticationFilter
-
Creates an AuthenticationToken for use during login attempt with the provided credentials in the http header.
- createToken(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
- createWebSecurityManager() - Method in class org.apache.shiro.web.env.IniWebEnvironment
- credentials - Variable in class org.apache.shiro.authc.SimpleAuthenticationInfo
-
The credentials verifying the account principals.
- CredentialsException - Exception in org.apache.shiro.authc
-
Exception thrown due to a problem with the credential(s) submitted for an account during the authentication process.
- CredentialsException() - Constructor for exception org.apache.shiro.authc.CredentialsException
-
Creates a new CredentialsException.
- CredentialsException(String) - Constructor for exception org.apache.shiro.authc.CredentialsException
-
Constructs a new CredentialsException.
- CredentialsException(String, Throwable) - Constructor for exception org.apache.shiro.authc.CredentialsException
-
Constructs a new CredentialsException.
- CredentialsException(Throwable) - Constructor for exception org.apache.shiro.authc.CredentialsException
-
Constructs a new CredentialsException.
- CredentialsMatcher - Interface in org.apache.shiro.authc.credential
-
Interface implemented by classes that can determine if an AuthenticationToken's provided credentials matches a corresponding account's credentials stored in the system.
- credentialsSalt - Variable in class org.apache.shiro.authc.SimpleAuthenticationInfo
-
Any salt used in hashing the credentials.
- CRYPT - org.apache.shiro.realm.jdbc.JdbcRealm.SaltStyle
- CryptoException - Exception in org.apache.shiro.crypto
-
Base Shiro exception for problems encountered during cryptographic operations.
- CryptoException(String) - Constructor for exception org.apache.shiro.crypto.CryptoException
- CryptoException(String, Throwable) - Constructor for exception org.apache.shiro.crypto.CryptoException
- CryptoException(Throwable) - Constructor for exception org.apache.shiro.crypto.CryptoException
- CTR - org.apache.shiro.crypto.OperationMode
-
Counter Mode, aka Integer Counter Mode (ICM) and Segmented Integer Counter (SIC).
- currentRequest - Variable in class org.apache.shiro.web.servlet.ShiroHttpSession
- customizeEnvironment(WebEnvironment) - Method in class org.apache.shiro.web.env.EnvironmentLoader
-
Any additional customization of the Environment can be by overriding this method.
D
- DataAccessException - Exception in org.apache.shiro.dao
-
Generic exception representing a problem when attempting to access data.
- DataAccessException(String) - Constructor for exception org.apache.shiro.dao.DataAccessException
-
Constructs a DataAccessException with a message explaining the cause of the exception.
- DataAccessException(String, Throwable) - Constructor for exception org.apache.shiro.dao.DataAccessException
-
Constructs a DataAccessException with a message explaining the cause of the exception.
- dataSource - Variable in class org.apache.shiro.realm.jdbc.JdbcRealm
- DAY_MILLIS - Static variable in class org.apache.shiro.web.servlet.SimpleCookie
- decode(byte[]) - Static method in class org.apache.shiro.codec.Base64
-
Decodes Base64 data into octets
- decode(byte[]) - Static method in class org.apache.shiro.codec.Hex
-
Converts an array of character bytes representing hexadecimal values into an array of bytes of those same values.
- decode(char[]) - Static method in class org.apache.shiro.codec.Hex
-
Converts an array of characters representing hexadecimal values into an array of bytes of those same values.
- decode(String) - Static method in class org.apache.shiro.codec.Base64
-
Converts the specified UTF-8 Base64 encoded String and decodes it to a raw Base64 decoded byte array.
- decode(String) - Static method in class org.apache.shiro.codec.Hex
-
Converts the specified Hex-encoded String into a raw byte array.
- decodeRequestString(HttpServletRequest, String) - Static method in class org.apache.shiro.web.util.WebUtils
-
Decode the given source string with a URLDecoder.
- decodeToString(byte[]) - Static method in class org.apache.shiro.codec.Base64
-
Decodes the specified Base64 encoded byte array and returns the decoded result as a UTF-8 encoded.
- decodeToString(String) - Static method in class org.apache.shiro.codec.Base64
-
Converts the specified UTF-8 Base64 encoded String and decodes it to a resultant UTF-8 encoded string.
- decorate(Session) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- decrypt(byte[]) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Decrypts the byte array using the configured
cipherService
. - decrypt(byte[], byte[]) - Method in interface org.apache.shiro.crypto.CipherService
-
Decrypts encrypted data via the specified cipher key and returns the original (pre-encrypted) data.
- decrypt(byte[], byte[]) - Method in class org.apache.shiro.crypto.JcaCipherService
- decrypt(InputStream, OutputStream, byte[]) - Method in interface org.apache.shiro.crypto.CipherService
-
Receives encrypted data from the given
InputStream
, decrypts it, and sends the resulting decrypted data to the givenOutputStream
. - decrypt(InputStream, OutputStream, byte[]) - Method in class org.apache.shiro.crypto.JcaCipherService
- DEFAULT_AUTHENTICATION_QUERY - Static variable in class org.apache.shiro.realm.jdbc.JdbcRealm
-
The default query used to retrieve account data for the user.
- DEFAULT_CASE_SENSITIVE - Static variable in class org.apache.shiro.authz.permission.WildcardPermission
- DEFAULT_CHARACTER_ENCODING - Static variable in class org.apache.shiro.web.util.WebUtils
-
Default character encoding to use when
request.getCharacterEncoding
returnsnull
, according to the Servlet spec. - DEFAULT_CHARSET_NAME - Static variable in class org.apache.shiro.config.Ini
- DEFAULT_CONTEXT_FACTORY_CLASS_NAME - Static variable in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
- DEFAULT_DELIMITER_CHAR - Static variable in class org.apache.shiro.util.StringUtils
-
Constant representing the default delimiter character (comma), equal to
','
- DEFAULT_ENABLED - Static variable in class org.apache.shiro.web.filter.authz.SslFilter.HSTS
- DEFAULT_ENCODING_SCHEME - Static variable in class org.apache.shiro.web.util.RedirectView
-
The default encoding scheme: UTF-8
- DEFAULT_ERROR_KEY_ATTRIBUTE_NAME - Static variable in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
- DEFAULT_GLOBAL_SESSION_TIMEOUT - Static variable in class org.apache.shiro.session.mgt.AbstractSessionManager
-
Default main session timeout value, equal to
30
minutes. - DEFAULT_HASH_ALGORITHM - Static variable in class org.apache.shiro.authc.credential.DefaultPasswordService
- DEFAULT_HASH_ITERATIONS - Static variable in class org.apache.shiro.authc.credential.DefaultPasswordService
- DEFAULT_HTTP_PORT - Static variable in class org.apache.shiro.web.filter.authz.PortFilter
- DEFAULT_HTTPS_PORT - Static variable in class org.apache.shiro.web.filter.authz.SslFilter
- DEFAULT_INCLUDE_SUB_DOMAINS - Static variable in class org.apache.shiro.web.filter.authz.SslFilter.HSTS
- DEFAULT_INI_RESOURCE_PATH - Static variable in class org.apache.shiro.config.IniFactorySupport
-
Deprecated.
- DEFAULT_LOGIN_URL - Static variable in class org.apache.shiro.web.filter.AccessControlFilter
-
Simple default login URL equal to
/login.jsp
, which can be overridden by calling thesetLoginUrl
method. - DEFAULT_MAX_AGE - Static variable in class org.apache.shiro.web.filter.authz.SslFilter.HSTS
- DEFAULT_MAX_AGE - Static variable in class org.apache.shiro.web.servlet.SimpleCookie
-
-1
, indicating the cookie should expire when the browser closes. - DEFAULT_NEXT_BYTES_SIZE - Static variable in class org.apache.shiro.crypto.SecureRandomNumberGenerator
- DEFAULT_PASSWORD_PARAM - Static variable in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
- DEFAULT_PATH_SEPARATOR - Static variable in class org.apache.shiro.util.AntPathMatcher
-
Default path separator: "/"
- DEFAULT_PERMISSIONS_QUERY - Static variable in class org.apache.shiro.realm.jdbc.JdbcRealm
-
The default query used to retrieve permissions that apply to a particular role.
- DEFAULT_QUOTE_CHAR - Static variable in class org.apache.shiro.util.StringUtils
-
Constant representing the default quote character (double quote), equal to '"'
- DEFAULT_REDIRECT_URL - Static variable in class org.apache.shiro.web.filter.authc.LogoutFilter
-
The default redirect URL to where the user will be redirected after logout.
- DEFAULT_REFERRAL - Static variable in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
- DEFAULT_REMEMBER_ME_ATTRIBUTE_NAME - Static variable in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- DEFAULT_REMEMBER_ME_COOKIE_NAME - Static variable in class org.apache.shiro.web.mgt.CookieRememberMeManager
-
The default name of the underlying rememberMe cookie which is
rememberMe
. - DEFAULT_REMEMBER_ME_PARAM - Static variable in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
- DEFAULT_SALTED_AUTHENTICATION_QUERY - Static variable in class org.apache.shiro.realm.jdbc.JdbcRealm
-
The default query used to retrieve account data for the user when
JdbcRealm.saltStyle
is COLUMN. - DEFAULT_SECTION_NAME - Static variable in class org.apache.shiro.config.Ini
- DEFAULT_SECURITY_MANAGER_KEY - Static variable in class org.apache.shiro.env.DefaultEnvironment
-
The default name under which the application's
SecurityManager
instance may be acquired, equal tosecurityManager
. - DEFAULT_SESSION_ID_NAME - Static variable in class org.apache.shiro.web.servlet.ShiroHttpSession
- DEFAULT_SESSION_VALIDATION_INTERVAL - Static variable in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
-
The default interval at which sessions will be validated (1 hour); This can be overridden by calling
AbstractValidatingSessionManager.setSessionValidationInterval(long)
- DEFAULT_SESSION_VALIDATION_INTERVAL - Static variable in class org.apache.shiro.session.mgt.quartz.QuartzSessionValidationScheduler
-
The default interval at which sessions will be validated (1 hour); This can be overridden by calling
QuartzSessionValidationScheduler.setSessionValidationInterval(long)
- DEFAULT_SUCCESS_URL - Static variable in class org.apache.shiro.web.filter.authc.AuthenticationFilter
- DEFAULT_USER_ROLES_QUERY - Static variable in class org.apache.shiro.realm.jdbc.JdbcRealm
-
The default query used to retrieve the roles that apply to a user.
- DEFAULT_USERNAME_PARAM - Static variable in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
- DEFAULT_VALIDATION_PROTOCOL - Static variable in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- DEFAULT_VERSION - Static variable in class org.apache.shiro.web.servlet.SimpleCookie
-
-1
indicating that no version property should be set on the cookie. - DEFAULT_WEB_INI_RESOURCE_PATH - Static variable in class org.apache.shiro.web.env.IniWebEnvironment
- DEFAULT_WEB_INI_RESOURCE_PATH - Static variable in class org.apache.shiro.web.servlet.IniShiroFilter
-
Deprecated.
- defaultAdvisorAutoProxyCreator() - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroAnnotationProcessorAutoConfiguration
- defaultAdvisorAutoProxyCreator() - Method in class org.apache.shiro.spring.config.AbstractShiroAnnotationProcessorConfiguration
- defaultAdvisorAutoProxyCreator() - Method in class org.apache.shiro.spring.config.ShiroAnnotationProcessorConfiguration
- DefaultAnnotationResolver - Class in org.apache.shiro.aop
-
Default
AnnotationResolver
implementation that merely inspects theMethodInvocation
'starget method
, and returnstargetMethod
.getAnnotation(class)
. - DefaultAnnotationResolver() - Constructor for class org.apache.shiro.aop.DefaultAnnotationResolver
- DefaultBlockCipherService - Class in org.apache.shiro.crypto
-
Base abstract class for block cipher algorithms.
- DefaultBlockCipherService(String) - Constructor for class org.apache.shiro.crypto.DefaultBlockCipherService
-
Creates a new
DefaultBlockCipherService
using the specified block cipheralgorithmName
. - DefaultEnvironment - Class in org.apache.shiro.env
-
Simple/default
Environment
implementation that stores Shiro objects as key-value pairs in aMap
instance. - DefaultEnvironment() - Constructor for class org.apache.shiro.env.DefaultEnvironment
-
Creates a new instance with a thread-safe
ConcurrentHashMap
backing map. - DefaultEnvironment(Map<String, ?>) - Constructor for class org.apache.shiro.env.DefaultEnvironment
-
Creates a new instance with the specified backing map.
- DefaultEventBus - Class in org.apache.shiro.event.support
-
A default event bus implementation that synchronously publishes events to registered listeners.
- DefaultEventBus() - Constructor for class org.apache.shiro.event.support.DefaultEventBus
- DefaultFilter - Enum in org.apache.shiro.web.filter.mgt
-
Enum representing all of the default Shiro Filter instances available to web applications.
- DefaultFilterChainManager - Class in org.apache.shiro.web.filter.mgt
-
Default
FilterChainManager
implementation maintaining a map ofFilter
instances (key: filter name, value: Filter) as well as a map ofNamedFilterList
s created from theseFilter
s (key: filter chain name, value: NamedFilterList). - DefaultFilterChainManager() - Constructor for class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- DefaultFilterChainManager(FilterConfig) - Constructor for class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- DefaultHashFormatFactory - Class in org.apache.shiro.crypto.hash.format
-
This default
HashFormatFactory
implementation heuristically determines aHashFormat
class to instantiate based on the input argument and returns a new instance of the discovered class. - DefaultHashFormatFactory() - Constructor for class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
- DefaultHashService - Class in org.apache.shiro.crypto.hash
-
Default implementation of the
HashService
interface, supporting a customizable hash algorithm name, secure-random salt generation, multiple hash iterations and an optional internalprivateSalt
. - DefaultHashService() - Constructor for class org.apache.shiro.crypto.hash.DefaultHashService
-
Constructs a new
DefaultHashService
instance with the following defaults:hashAlgorithmName
=SHA-512
hashIterations
=1
randomNumberGenerator
= newSecureRandomNumberGenerator
()generatePublicSalt
=false
- DefaultInterpolator - Class in org.apache.shiro.config
-
This
Interpolator
simply returns the original value. - DefaultInterpolator() - Constructor for class org.apache.shiro.config.DefaultInterpolator
- DefaultLdapContextFactory - Class in org.apache.shiro.realm.ldap
-
Deprecated.replaced by the
JndiLdapContextFactory
implementation. This implementation will be removed prior to Shiro 2.0 - DefaultLdapContextFactory() - Constructor for class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
- DefaultLdapRealm - Class in org.apache.shiro.realm.ldap
-
An LDAP
Realm
implementation utilizing Sun's/Oracle's JNDI API as an LDAP API. - DefaultLdapRealm() - Constructor for class org.apache.shiro.realm.ldap.DefaultLdapRealm
-
Default no-argument constructor that defaults the internal
LdapContextFactory
instance to aJndiLdapContextFactory
. - DefaultPasswordService - Class in org.apache.shiro.authc.credential
-
Default implementation of the
PasswordService
interface that relies on an internalHashService
,HashFormat
, andHashFormatFactory
to function: - DefaultPasswordService() - Constructor for class org.apache.shiro.authc.credential.DefaultPasswordService
- DefaultSecurityManager - Class in org.apache.shiro.mgt
-
The Shiro framework's default concrete implementation of the
SecurityManager
interface, based around a collection ofRealm
s. - DefaultSecurityManager() - Constructor for class org.apache.shiro.mgt.DefaultSecurityManager
-
Default no-arg constructor.
- DefaultSecurityManager(Collection<Realm>) - Constructor for class org.apache.shiro.mgt.DefaultSecurityManager
-
Supporting constructor for multiple
realms
. - DefaultSecurityManager(Realm) - Constructor for class org.apache.shiro.mgt.DefaultSecurityManager
-
Supporting constructor for a single-realm application.
- DefaultSerializer<T> - Class in org.apache.shiro.io
-
Serializer implementation that uses the default JVM serialization mechanism (Object Input/Output Streams).
- DefaultSerializer() - Constructor for class org.apache.shiro.io.DefaultSerializer
- DefaultSessionContext - Class in org.apache.shiro.session.mgt
-
Default implementation of the
SessionContext
interface which provides getters and setters that wrap interaction with the underlying backing context map. - DefaultSessionContext() - Constructor for class org.apache.shiro.session.mgt.DefaultSessionContext
- DefaultSessionContext(Map<String, Object>) - Constructor for class org.apache.shiro.session.mgt.DefaultSessionContext
- DefaultSessionKey - Class in org.apache.shiro.session.mgt
-
Default implementation of the
SessionKey
interface, which allows setting and retrieval of a concretesessionId
that theSessionManager
implementation can use to look up aSession
instance. - DefaultSessionKey() - Constructor for class org.apache.shiro.session.mgt.DefaultSessionKey
- DefaultSessionKey(Serializable) - Constructor for class org.apache.shiro.session.mgt.DefaultSessionKey
- DefaultSessionManager - Class in org.apache.shiro.session.mgt
-
Default business-tier implementation of a
ValidatingSessionManager
. - DefaultSessionManager() - Constructor for class org.apache.shiro.session.mgt.DefaultSessionManager
- DefaultSessionStorageEvaluator - Class in org.apache.shiro.mgt
-
A Default
SessionStorageEvaluator
that provides reasonable control over if and how Sessions may be used for storing Subject state. - DefaultSessionStorageEvaluator() - Constructor for class org.apache.shiro.mgt.DefaultSessionStorageEvaluator
- DefaultShiroFilterChainDefinition - Class in org.apache.shiro.spring.web.config
- DefaultShiroFilterChainDefinition() - Constructor for class org.apache.shiro.spring.web.config.DefaultShiroFilterChainDefinition
- DefaultSubjectContext - Class in org.apache.shiro.subject.support
-
Default implementation of the
SubjectContext
interface. - DefaultSubjectContext() - Constructor for class org.apache.shiro.subject.support.DefaultSubjectContext
- DefaultSubjectContext(SubjectContext) - Constructor for class org.apache.shiro.subject.support.DefaultSubjectContext
- DefaultSubjectDAO - Class in org.apache.shiro.mgt
-
Default
SubjectDAO
implementation that stores Subject state in the Subject's Session by default (but this can be disabled - see below). - DefaultSubjectDAO() - Constructor for class org.apache.shiro.mgt.DefaultSubjectDAO
- DefaultSubjectFactory - Class in org.apache.shiro.mgt
-
Default
SubjectFactory
implementation that createsDelegatingSubject
instances. - DefaultSubjectFactory() - Constructor for class org.apache.shiro.mgt.DefaultSubjectFactory
- DefaultWebEnvironment - Class in org.apache.shiro.web.env
-
Default
WebEnvironment
implementation based on a backingMap
instance. - DefaultWebEnvironment() - Constructor for class org.apache.shiro.web.env.DefaultWebEnvironment
- DefaultWebSecurityManager - Class in org.apache.shiro.web.mgt
-
Default
WebSecurityManager
implementation used in web-based applications or any application that requires HTTP connectivity (SOAP, http remoting, etc). - DefaultWebSecurityManager() - Constructor for class org.apache.shiro.web.mgt.DefaultWebSecurityManager
- DefaultWebSecurityManager(Collection<Realm>) - Constructor for class org.apache.shiro.web.mgt.DefaultWebSecurityManager
- DefaultWebSecurityManager(Realm) - Constructor for class org.apache.shiro.web.mgt.DefaultWebSecurityManager
- DefaultWebSessionContext - Class in org.apache.shiro.web.session.mgt
-
Default implementation of the
WebSessionContext
interface which provides getters and setters that wrap interaction with the underlying backing context map. - DefaultWebSessionContext() - Constructor for class org.apache.shiro.web.session.mgt.DefaultWebSessionContext
- DefaultWebSessionContext(Map<String, Object>) - Constructor for class org.apache.shiro.web.session.mgt.DefaultWebSessionContext
- DefaultWebSessionManager - Class in org.apache.shiro.web.session.mgt
-
Web-application capable
SessionManager
implementation. - DefaultWebSessionManager() - Constructor for class org.apache.shiro.web.session.mgt.DefaultWebSessionManager
- DefaultWebSessionStorageEvaluator - Class in org.apache.shiro.web.mgt
-
A web-specific
SessionStorageEvaluator
that performs the same logic as the parent classDefaultSessionStorageEvaluator
but additionally checks for a request-specific flag that may enable or disable session access. - DefaultWebSessionStorageEvaluator() - Constructor for class org.apache.shiro.web.mgt.DefaultWebSessionStorageEvaluator
- DefaultWebSubjectContext - Class in org.apache.shiro.web.subject.support
-
Default
WebSubjectContext
implementation that provides for additional storage and retrieval of aServletRequest
andServletResponse
. - DefaultWebSubjectContext() - Constructor for class org.apache.shiro.web.subject.support.DefaultWebSubjectContext
- DefaultWebSubjectContext(WebSubjectContext) - Constructor for class org.apache.shiro.web.subject.support.DefaultWebSubjectContext
- DefaultWebSubjectFactory - Class in org.apache.shiro.web.mgt
-
A
SubjectFactory
implementation that createsWebDelegatingSubject
instances. - DefaultWebSubjectFactory() - Constructor for class org.apache.shiro.web.mgt.DefaultWebSubjectFactory
- delegate - Variable in class org.apache.shiro.session.ProxiedSession
-
The proxied instance
- DelegatingSession - Class in org.apache.shiro.session.mgt
-
A DelegatingSession is a client-tier representation of a server side
Session
. - DelegatingSession(NativeSessionManager, SessionKey) - Constructor for class org.apache.shiro.session.mgt.DelegatingSession
- DelegatingSubject - Class in org.apache.shiro.subject.support
-
Implementation of the
Subject
interface that delegates method calls to an underlyingSecurityManager
instance for security checks. - DelegatingSubject(SecurityManager) - Constructor for class org.apache.shiro.subject.support.DelegatingSubject
- DelegatingSubject(PrincipalCollection, boolean, String, Session, boolean, SecurityManager) - Constructor for class org.apache.shiro.subject.support.DelegatingSubject
- DelegatingSubject(PrincipalCollection, boolean, String, Session, SecurityManager) - Constructor for class org.apache.shiro.subject.support.DelegatingSubject
- delete(Session) - Method in class org.apache.shiro.session.mgt.DefaultSessionManager
- delete(Session) - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
Removes the specified session from any cache and then permanently deletes the session from the EIS by delegating to
CachingSessionDAO.doDelete(org.apache.shiro.session.Session)
. - delete(Session) - Method in class org.apache.shiro.session.mgt.eis.MemorySessionDAO
- delete(Session) - Method in interface org.apache.shiro.session.mgt.eis.SessionDAO
-
Deletes the associated EIS record of the specified
session
. - delete(Subject) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
-
Removes (or 'unbinds') the Subject's state from the application, typically called during
DefaultSecurityManager.logout(org.apache.shiro.subject.Subject)
.. - delete(Subject) - Method in class org.apache.shiro.mgt.DefaultSubjectDAO
-
Removes any existing subject state from the subject's session (if the session exists).
- delete(Subject) - Method in interface org.apache.shiro.mgt.SubjectDAO
-
Removes any persisted state for the specified
Subject
instance. - DELETED_COOKIE_VALUE - Static variable in interface org.apache.shiro.web.servlet.Cookie
-
The value of deleted cookie (with the maxAge 0).
- deserialize(byte[]) - Method in class org.apache.shiro.io.DefaultSerializer
-
This implementation deserializes the byte array using a
ObjectInputStream
using a sourceByteArrayInputStream
constructed with the argument byte array. - deserialize(byte[]) - Method in interface org.apache.shiro.io.Serializer
-
Converts the specified raw byte[] array back into an original Object form.
- deserialize(byte[]) - Method in class org.apache.shiro.io.XmlSerializer
-
Deprecated.Deserializes the specified
serialized
source back into an Object by using aByteArrayInputStream
to wrap the argument and then decode this stream via anXMLDecoder
, where thereadObject
call results in the original Object to return. - deserialize(byte[]) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
De-serializes the given byte array by using the
serializer
'sdeserialize
method. - destroy() - Method in class org.apache.shiro.cache.AbstractCacheManager
- destroy() - Method in class org.apache.shiro.cache.ehcache.EhCacheManager
-
Shuts-down the wrapped Ehcache CacheManager only if implicitly created.
- destroy() - Method in class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.
- destroy() - Method in class org.apache.shiro.config.ReflectionBuilder
- destroy() - Method in class org.apache.shiro.env.DefaultEnvironment
- destroy() - Method in class org.apache.shiro.guice.ShiroModule
-
Destroys all beans created within this module that implement
Destroyable
. - destroy() - Method in class org.apache.shiro.hazelcast.cache.HazelcastCacheManager
-
Destroys any
implicitly created
backingHazelcastInstance
. - destroy() - Method in class org.apache.shiro.mgt.AuthenticatingSecurityManager
- destroy() - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
- destroy() - Method in class org.apache.shiro.mgt.CachingSecurityManager
-
Destroys the
cacheManager
viaLifecycleUtils.destroy
. - destroy() - Method in class org.apache.shiro.mgt.RealmSecurityManager
- destroy() - Method in class org.apache.shiro.mgt.SessionsSecurityManager
- destroy() - Method in class org.apache.shiro.realm.text.PropertiesRealm
-
Destroy reload scheduler if one exists.
- destroy() - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
- destroy() - Method in interface org.apache.shiro.util.Destroyable
-
Called when this object is being destroyed, allowing any necessary cleanup of internal resources.
- destroy() - Method in class org.apache.shiro.web.servlet.AbstractFilter
-
Default no-op implementation that can be overridden by subclasses for custom cleanup behavior.
- destroy(Object) - Static method in class org.apache.shiro.util.LifecycleUtils
- destroy(Collection) - Static method in class org.apache.shiro.util.LifecycleUtils
-
Calls
destroy
for each object in the collection. - destroy(Destroyable) - Static method in class org.apache.shiro.util.LifecycleUtils
- Destroyable - Interface in org.apache.shiro.util
-
Shiro container-agnostic interface that indicates that this object requires a callback during destruction.
- DestroyedBeanEvent - Class in org.apache.shiro.config.event
-
Event triggered when a configured bean has been destroyed.
- DestroyedBeanEvent(String, Object, Map<String, Object>) - Constructor for class org.apache.shiro.config.event.DestroyedBeanEvent
- destroyEnvironment(ServletContext) - Method in class org.apache.shiro.web.env.EnvironmentLoader
-
Destroys the
WebEnvironment
for the given servlet context. - determineEncoding(HttpServletRequest) - Static method in class org.apache.shiro.web.util.WebUtils
-
Determine the encoding for the given request.
- determineWebEnvironment(ServletContext) - Method in class org.apache.shiro.web.env.EnvironmentLoader
-
Return the WebEnvironment implementation class to use, based on the order of: A custom WebEnvironment class - specified in the
servletContext
EnvironmentLoader.ENVIRONMENT_ATTRIBUTE_KEY
propertyServiceLoader.load(WebEnvironment.class)
- (if more then one instance is found aConfigurationException
will be thrown A call toEnvironmentLoader.getDefaultWebEnvironmentClass()
(default:IniWebEnvironment
) - determineWebEnvironmentClass(ServletContext) - Method in class org.apache.shiro.web.env.EnvironmentLoader
-
Deprecated.This method is not longer used by Shiro, and will be removed in future versions, use
EnvironmentLoader.determineWebEnvironment(ServletContext)
orEnvironmentLoader.determineWebEnvironment(ServletContext)
- DisabledAccountException - Exception in org.apache.shiro.authc
-
Thrown when attempting to authenticate and the corresponding account has been disabled for some reason.
- DisabledAccountException() - Constructor for exception org.apache.shiro.authc.DisabledAccountException
-
Creates a new DisabledAccountException.
- DisabledAccountException(String) - Constructor for exception org.apache.shiro.authc.DisabledAccountException
-
Constructs a new DisabledAccountException.
- DisabledAccountException(String, Throwable) - Constructor for exception org.apache.shiro.authc.DisabledAccountException
-
Constructs a new DisabledAccountException.
- DisabledAccountException(Throwable) - Constructor for exception org.apache.shiro.authc.DisabledAccountException
-
Constructs a new DisabledAccountException.
- DisabledSessionException - Exception in org.apache.shiro.subject.support
-
Exception thrown if attempting to create a new
Subject
session
, but thatSubject
's sessions are disabled. - DisabledSessionException(String) - Constructor for exception org.apache.shiro.subject.support.DisabledSessionException
- disableSessionValidation() - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
- disableSessionValidation() - Method in class org.apache.shiro.session.mgt.ExecutorServiceSessionValidationScheduler
- disableSessionValidation() - Method in class org.apache.shiro.session.mgt.quartz.QuartzSessionValidationScheduler
- disableSessionValidation() - Method in interface org.apache.shiro.session.mgt.SessionValidationScheduler
-
Disables the session validation job.
- doAuthenticate(AuthenticationToken) - Method in class org.apache.shiro.authc.AbstractAuthenticator
-
Template design pattern hook for subclasses to implement specific authentication behavior.
- doAuthenticate(AuthenticationToken) - Method in class org.apache.shiro.authc.pam.ModularRealmAuthenticator
-
Attempts to authenticate the given token by iterating over the internal collection of
Realm
s. - doCall(Callable<V>) - Method in class org.apache.shiro.subject.support.SubjectCallable
- doClearCache(PrincipalCollection) - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
This implementation clears out any cached authentication data by calling
AuthenticatingRealm.clearCachedAuthenticationInfo(org.apache.shiro.subject.PrincipalCollection)
. - doClearCache(PrincipalCollection) - Method in class org.apache.shiro.realm.AuthorizingRealm
-
Calls
super.doClearCache
to ensure any cached authentication data is removed and then callsAuthorizingRealm.clearCachedAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection)
to remove any cached authorization data. - doClearCache(PrincipalCollection) - Method in class org.apache.shiro.realm.CachingRealm
-
This implementation does nothing - it is a template to be overridden by subclasses if necessary.
- doCreate(Session) - Method in class org.apache.shiro.session.mgt.eis.AbstractSessionDAO
-
Subclass hook to actually persist the given Session instance to the underlying EIS.
- doCreate(Session) - Method in class org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAO
- doCreate(Session) - Method in class org.apache.shiro.session.mgt.eis.MemorySessionDAO
- doCreateSession(SessionContext) - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
- doCreateSession(SessionContext) - Method in class org.apache.shiro.session.mgt.DefaultSessionManager
- doCreateSubject(SubjectContext) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
-
Actually creates a
Subject
instance by delegating to the internalsubjectFactory
. - doCredentialsMatch(AuthenticationToken, AuthenticationInfo) - Method in class org.apache.shiro.authc.credential.AllowAllCredentialsMatcher
-
Returns
true
always no matter what the method arguments are. - doCredentialsMatch(AuthenticationToken, AuthenticationInfo) - Method in interface org.apache.shiro.authc.credential.CredentialsMatcher
-
Returns
true
if the provided token credentials match the stored account credentials,false
otherwise. - doCredentialsMatch(AuthenticationToken, AuthenticationInfo) - Method in class org.apache.shiro.authc.credential.HashedCredentialsMatcher
-
This implementation first hashes the
token
's credentials, potentially using asalt
if theinfo
argument is aSaltedAuthenticationInfo
. - doCredentialsMatch(AuthenticationToken, AuthenticationInfo) - Method in class org.apache.shiro.authc.credential.PasswordMatcher
- doCredentialsMatch(AuthenticationToken, AuthenticationInfo) - Method in class org.apache.shiro.authc.credential.SimpleCredentialsMatcher
-
This implementation acquires the
token
's credentials (viagetCredentials(token)
) and then theaccount
's credentials (viagetCredentials(account)
) and then passes both of them to theequals(tokenCredentials, accountCredentials)
method for equality comparison. - doDelete(Session) - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
Subclass implementation hook to permanently delete the given Session from the underlying EIS.
- doDelete(Session) - Method in class org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAO
- doesNotContain(String, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that the given text does not contain the given substring.
- doesNotContain(String, String, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that the given text does not contain the given substring.
- doFilter(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.servlet.ProxiedFilterChain
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.apache.shiro.web.servlet.OncePerRequestFilter
-
This
doFilter
implementation stores a request attribute for "already filtered", proceeding without filtering again if the attribute is already there. - doFilterInternal(ServletRequest, ServletResponse, FilterChain) - Method in class org.apache.shiro.web.servlet.AbstractShiroFilter
-
doFilterInternal
implementation that sets-up, executes, and cleans-up a Shiro-filtered request. - doFilterInternal(ServletRequest, ServletResponse, FilterChain) - Method in class org.apache.shiro.web.servlet.AdviceFilter
- doFilterInternal(ServletRequest, ServletResponse, FilterChain) - Method in class org.apache.shiro.web.servlet.OncePerRequestFilter
-
Same contract as for
OncePerRequestFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
, but guaranteed to be invoked only once per request. - doGetAuthenticationInfo(AuthenticationToken) - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.Authenticates a user and retrieves its information.
- doGetAuthenticationInfo(AuthenticationToken) - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Retrieves authentication data from an implementation-specific datasource (RDBMS, LDAP, etc) for the given authentication token.
- doGetAuthenticationInfo(AuthenticationToken) - Method in class org.apache.shiro.realm.jdbc.JdbcRealm
- doGetAuthenticationInfo(AuthenticationToken) - Method in class org.apache.shiro.realm.ldap.AbstractLdapRealm
- doGetAuthenticationInfo(AuthenticationToken) - Method in class org.apache.shiro.realm.ldap.DefaultLdapRealm
-
Delegates to
DefaultLdapRealm.queryForAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken, LdapContextFactory)
, wrapping anyNamingException
s in a ShiroAuthenticationException
to satisfy the parent method signature. - doGetAuthenticationInfo(AuthenticationToken) - Method in class org.apache.shiro.realm.SimpleAccountRealm
- doGetAuthorizationInfo(PrincipalCollection) - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.Retrieves the AuthorizationInfo for the given principals (the CAS previously authenticated user : id + attributes).
- doGetAuthorizationInfo(PrincipalCollection) - Method in class org.apache.shiro.realm.AuthorizingRealm
-
Retrieves the AuthorizationInfo for the given principals from the underlying data store.
- doGetAuthorizationInfo(PrincipalCollection) - Method in class org.apache.shiro.realm.jdbc.JdbcRealm
-
This implementation of the interface expects the principals collection to return a String username keyed off of this realm's
name
- doGetAuthorizationInfo(PrincipalCollection) - Method in class org.apache.shiro.realm.ldap.AbstractLdapRealm
- doGetAuthorizationInfo(PrincipalCollection) - Method in class org.apache.shiro.realm.ldap.DefaultLdapRealm
- doGetAuthorizationInfo(PrincipalCollection) - Method in class org.apache.shiro.realm.SimpleAccountRealm
- doGetSession(SessionKey) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
- doGetSession(SessionKey) - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
- doInContext(Context) - Method in interface org.apache.shiro.jndi.JndiCallback
-
Do something with the given JNDI context.
- DOMAIN_ATTRIBUTE_NAME - Static variable in class org.apache.shiro.web.servlet.SimpleCookie
- DomainPermission - Class in org.apache.shiro.authz.permission
-
Provides a base Permission class from which type-safe/domain-specific subclasses may extend.
- DomainPermission() - Constructor for class org.apache.shiro.authz.permission.DomainPermission
-
Creates a domain permission with *all* actions for *all* targets;
- DomainPermission(String) - Constructor for class org.apache.shiro.authz.permission.DomainPermission
- DomainPermission(String, String) - Constructor for class org.apache.shiro.authz.permission.DomainPermission
- DomainPermission(Set<String>, Set<String>) - Constructor for class org.apache.shiro.authz.permission.DomainPermission
- doMatch(String, String, boolean) - Method in class org.apache.shiro.util.AntPathMatcher
-
Actually match the given
path
against the givenpattern
. - doMultiRealmAuthentication(Collection<Realm>, AuthenticationToken) - Method in class org.apache.shiro.authc.pam.ModularRealmAuthenticator
-
Performs the multi-realm authentication attempt by calling back to a
AuthenticationStrategy
object as each realm is consulted forAuthenticationInfo
for the specifiedtoken
. - doReadSession(Serializable) - Method in class org.apache.shiro.session.mgt.eis.AbstractSessionDAO
-
Subclass implementation hook that retrieves the Session object from the underlying EIS or
null
if a session with that ID could not be found. - doReadSession(Serializable) - Method in class org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAO
- doReadSession(Serializable) - Method in class org.apache.shiro.session.mgt.eis.MemorySessionDAO
- doRun(Runnable) - Method in class org.apache.shiro.subject.support.SubjectRunnable
- doSingleRealmAuthentication(Realm, AuthenticationToken) - Method in class org.apache.shiro.authc.pam.ModularRealmAuthenticator
-
Performs the authentication attempt by interacting with the single configured realm, which is significantly simpler than performing multi-realm logic.
- doStartTag() - Method in class org.apache.shiro.web.tags.SecureTag
- doUpdate(Session) - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
Subclass implementation hook to actually persist the
Session
's state to the underlying EIS. - doUpdate(Session) - Method in class org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAO
- doValidate(Session) - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
E
- EAX - org.apache.shiro.crypto.OperationMode
-
EAX Mode*.
- ECB - org.apache.shiro.crypto.OperationMode
-
Electronic Codebook mode, defined in FIPS PUB 81.
- EhCache<K,V> - Class in org.apache.shiro.cache.ehcache
-
Shiro
Cache
implementation that wraps anEhcache
instance. - EhCache(Ehcache) - Constructor for class org.apache.shiro.cache.ehcache.EhCache
-
Constructs a new EhCache instance with the given cache.
- EhCacheManager - Class in org.apache.shiro.cache.ehcache
-
Shiro
CacheManager
implementation utilizing the Ehcache framework for all cache functionality. - EhCacheManager() - Constructor for class org.apache.shiro.cache.ehcache.EhCacheManager
-
Default no argument constructor
- EMPTY_STRING - Static variable in class org.apache.shiro.util.StringUtils
-
Constant representing the empty string, equal to ""
- enableSessionValidation() - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
- enableSessionValidation() - Method in class org.apache.shiro.session.mgt.ExecutorServiceSessionValidationScheduler
-
Creates a single thread
ScheduledExecutorService
to validate sessions at fixed intervals and enables this scheduler. - enableSessionValidation() - Method in class org.apache.shiro.session.mgt.quartz.QuartzSessionValidationScheduler
-
Starts session validation by creating a Quartz simple trigger, linking it to the
QuartzSessionValidationJob
, and scheduling it with the Quartz scheduler. - enableSessionValidation() - Method in interface org.apache.shiro.session.mgt.SessionValidationScheduler
-
Enables the session validation job.
- encode(byte[]) - Static method in class org.apache.shiro.codec.Base64
-
Encodes a byte[] containing binary data, into a byte[] containing characters in the Base64 alphabet.
- encode(byte[]) - Static method in class org.apache.shiro.codec.Hex
-
Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order.
- encode(byte[], boolean) - Static method in class org.apache.shiro.codec.Base64
-
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
- encodeChunked(byte[]) - Static method in class org.apache.shiro.codec.Base64
-
Encodes binary data using the base64 algorithm and chunks the encoded output into 76 character blocks
- encodeRedirectUrl(String) - Method in class org.apache.shiro.web.servlet.ShiroHttpServletResponse
- encodeRedirectURL(String) - Method in class org.apache.shiro.web.servlet.ShiroHttpServletResponse
-
Encode the session identifier associated with this response into the specified redirect URL, if necessary.
- encodeToString(byte[]) - Static method in class org.apache.shiro.codec.Base64
-
Base64 encodes the specified byte array and then encodes it as a String using Shiro's preferred character encoding (UTF-8).
- encodeToString(byte[]) - Static method in class org.apache.shiro.codec.H64
-
Encodes the specified bytes to an
H64
-encoded String. - encodeToString(byte[]) - Static method in class org.apache.shiro.codec.Hex
-
Encodes the specified byte array to a character array and then returns that character array as a String.
- encodeUrl(String) - Method in class org.apache.shiro.web.servlet.ShiroHttpServletResponse
- encodeURL(String) - Method in class org.apache.shiro.web.servlet.ShiroHttpServletResponse
-
Encode the session identifier associated with this response into the specified URL, if necessary.
- encrypt(byte[]) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Encrypts the byte array by using the configured
cipherService
. - encrypt(byte[], byte[]) - Method in interface org.apache.shiro.crypto.CipherService
-
Encrypts data via the specified cipher key.
- encrypt(byte[], byte[]) - Method in class org.apache.shiro.crypto.JcaCipherService
- encrypt(InputStream, OutputStream, byte[]) - Method in interface org.apache.shiro.crypto.CipherService
-
Receives the data from the given
InputStream
, encrypts it, and sends the resulting encrypted data to the givenOutputStream
. - encrypt(InputStream, OutputStream, byte[]) - Method in class org.apache.shiro.crypto.JcaCipherService
- encryptPassword(Object) - Method in class org.apache.shiro.authc.credential.DefaultPasswordService
- encryptPassword(Object) - Method in interface org.apache.shiro.authc.credential.PasswordService
-
Converts the specified plaintext password (usually acquired from your application's 'new user' or 'password reset' workflow) into a formatted string safe for storage.
- ensureChain(String) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- ensureCombinedPrincipals() - Method in class org.apache.shiro.subject.SimplePrincipalMap
- ensureHazelcastInstance() - Method in class org.apache.shiro.hazelcast.cache.HazelcastCacheManager
-
Ensures that this implementation has a backing
HazelcastInstance
, and if not, implicitly creates one viaHazelcastCacheManager.createHazelcastInstance()
. - ensureSecureRandom() - Method in class org.apache.shiro.crypto.JcaCipherService
- ensureSecurityManager(SubjectContext) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
-
Determines if there is a
SecurityManager
instance in the context, and if not, adds 'this' to the context. - ensureTicketValidator() - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- EnterpriseCacheSessionDAO - Class in org.apache.shiro.session.mgt.eis
-
SessionDAO implementation that relies on an enterprise caching product as the EIS system of record for all sessions.
- EnterpriseCacheSessionDAO() - Constructor for class org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAO
- entrySet() - Method in class org.apache.shiro.config.Ini
- entrySet() - Method in class org.apache.shiro.config.Ini.Section
- entrySet() - Method in class org.apache.shiro.subject.SimplePrincipalMap
- entrySet() - Method in class org.apache.shiro.util.MapContext
- entrySet() - Method in class org.apache.shiro.util.SoftHashMap
- Environment - Interface in org.apache.shiro.env
-
An
Environment
instance encapsulates all of the objects that Shiro requires to function. - ENVIRONMENT_ATTRIBUTE_KEY - Static variable in class org.apache.shiro.web.env.EnvironmentLoader
- ENVIRONMENT_CLASS_PARAM - Static variable in class org.apache.shiro.web.env.EnvironmentLoader
-
Servlet Context config param for specifying the
WebEnvironment
implementation class to use:shiroEnvironmentClass
- EnvironmentException - Exception in org.apache.shiro.env
-
Exception thrown for errors related to
Environment
instances or configuration. - EnvironmentException(String) - Constructor for exception org.apache.shiro.env.EnvironmentException
- EnvironmentException(String, Throwable) - Constructor for exception org.apache.shiro.env.EnvironmentException
- EnvironmentLoader - Class in org.apache.shiro.web.env
-
An
EnvironmentLoader
is responsible for loading a web application's ShiroWebEnvironment
(which includes the web app'sWebSecurityManager
) into theServletContext
at application startup. - EnvironmentLoader() - Constructor for class org.apache.shiro.web.env.EnvironmentLoader
- EnvironmentLoaderListener - Class in org.apache.shiro.web.env
-
Bootstrap listener to startup and shutdown the web application's Shiro
WebEnvironment
at ServletContext startup and shutdown respectively. - EnvironmentLoaderListener() - Constructor for class org.apache.shiro.web.env.EnvironmentLoaderListener
- equals(Object) - Method in class org.apache.shiro.authc.SimpleAccount
-
Returns
true
if the specified object is also aSimpleAccount
and itsprincipals
are equal to this object'sprincipals
,false
otherwise. - equals(Object) - Method in class org.apache.shiro.authc.SimpleAuthenticationInfo
-
Returns
true
if the Object argument is aninstanceof SimpleAuthenticationInfo
and itsprincipals
are equal to this instance's principals,false
otherwise. - equals(Object) - Method in class org.apache.shiro.authz.permission.WildcardPermission
- equals(Object) - Method in class org.apache.shiro.authz.SimpleRole
- equals(Object) - Method in class org.apache.shiro.config.Ini
- equals(Object) - Method in class org.apache.shiro.config.Ini.Section
- equals(Object) - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Returns
true
if the specified object is a Hash and itsbyte array
is identical to this Hash's byte array,false
otherwise. - equals(Object) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Returns
true
if the specified object is a Hash and itsbyte array
is identical to this Hash's byte array,false
otherwise. - equals(Object) - Method in class org.apache.shiro.session.mgt.SimpleSession
- equals(Object) - Method in class org.apache.shiro.subject.SimplePrincipalCollection
- equals(Object) - Method in class org.apache.shiro.util.SimpleByteSource
- equals(Object, Object) - Method in class org.apache.shiro.authc.credential.SimpleCredentialsMatcher
-
Returns
true
if thetokenCredentials
argument is logically equal to theaccountCredentials
argument. - ESCAPE_TOKEN - Static variable in class org.apache.shiro.config.Ini
- Event - Class in org.apache.shiro.event
-
Root class for all of Shiro's event classes.
- Event(Object) - Constructor for class org.apache.shiro.event.Event
- eventBus - Variable in class org.apache.shiro.spring.config.AbstractShiroConfiguration
- eventBus() - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration
- eventBus() - Method in class org.apache.shiro.spring.config.AbstractShiroBeanConfiguration
- eventBus() - Method in class org.apache.shiro.spring.config.ShiroBeanConfiguration
- EventBus - Interface in org.apache.shiro.event
-
An event bus can publish events to event subscribers as well as provide a mechanism for registering and unregistering event subscribers.
- EventBusAware - Interface in org.apache.shiro.event
-
Interface implemented by components that utilize an EventBus for publishing and/or subscribing to/from events and wish that EventBus to be supplied if one is available.
- EventClassComparator - Class in org.apache.shiro.event.support
-
Compares two event classes based on their position in a class hierarchy.
- EventClassComparator() - Constructor for class org.apache.shiro.event.support.EventClassComparator
- EventListener - Interface in org.apache.shiro.event.support
-
An event listener knows how to accept and process events of a particular type (or types).
- EventListenerComparator - Class in org.apache.shiro.event.support
-
Compares two event listeners to determine the order in which they should be invoked when an event is dispatched.
- EventListenerComparator() - Constructor for class org.apache.shiro.event.support.EventListenerComparator
- EventListenerResolver - Interface in org.apache.shiro.event.support
-
An
EventListenerResolver
knows how to resolve (either create or lookup)EventListener
instances as a result of inspecting a subscriber object, mostly likely aSubscribe
-annotated object instance. - ExceptionMapper - Class in org.apache.shiro.web.jaxrs
-
JAX-RS exception mapper used to map Shiro
AuthorizationExceptions
to HTTP status codes. - ExceptionMapper() - Constructor for class org.apache.shiro.web.jaxrs.ExceptionMapper
- ExcessiveAttemptsException - Exception in org.apache.shiro.authc
-
Thrown when a system is configured to only allow a certain number of authentication attempts over a period of time and the current session has failed to authenticate successfully within that number.
- ExcessiveAttemptsException() - Constructor for exception org.apache.shiro.authc.ExcessiveAttemptsException
-
Creates a new ExcessiveAttemptsException.
- ExcessiveAttemptsException(String) - Constructor for exception org.apache.shiro.authc.ExcessiveAttemptsException
-
Constructs a new ExcessiveAttemptsException.
- ExcessiveAttemptsException(String, Throwable) - Constructor for exception org.apache.shiro.authc.ExcessiveAttemptsException
-
Constructs a new ExcessiveAttemptsException.
- ExcessiveAttemptsException(Throwable) - Constructor for exception org.apache.shiro.authc.ExcessiveAttemptsException
-
Constructs a new ExcessiveAttemptsException.
- execute(Runnable) - Method in class org.apache.shiro.concurrent.SubjectAwareExecutor
-
Executes the specified runnable by first associating it with the currently executing
Subject
and then dispatches the associated Runnable to the underlying targetExecutor
instance. - execute(Runnable) - Method in interface org.apache.shiro.subject.Subject
-
Associates the specified
Runnable
with thisSubject
instance and then executes it on the currently running thread. - execute(Runnable) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- execute(Callable<V>) - Method in interface org.apache.shiro.subject.Subject
-
Associates the specified
Callable
with thisSubject
instance and then executes it on the currently running thread. - execute(Callable<V>) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- execute(JndiCallback) - Method in class org.apache.shiro.jndi.JndiTemplate
-
Execute the given JNDI context callback implementation.
- execute(JobExecutionContext) - Method in class org.apache.shiro.session.mgt.quartz.QuartzSessionValidationJob
-
Called when the job is executed by quartz.
- executeAnnotatedMethod(JoinPoint) - Method in class org.apache.shiro.aspectj.ShiroAnnotationAuthorizingAspect
- executeChain(ServletRequest, ServletResponse, FilterChain) - Method in class org.apache.shiro.web.servlet.AbstractShiroFilter
-
Executes a
FilterChain
for the given request. - executeChain(ServletRequest, ServletResponse, FilterChain) - Method in class org.apache.shiro.web.servlet.AdviceFilter
-
Actually executes the specified filter chain by calling
chain.doFilter(request,response);
. - executeLogin(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.AuthenticatingFilter
- ExecutionException - Exception in org.apache.shiro.subject
-
Exception wrapping any potential checked exception thrown when a
Subject
executes aCallable
. - ExecutionException(String, Throwable) - Constructor for exception org.apache.shiro.subject.ExecutionException
- ExecutionException(Throwable) - Constructor for exception org.apache.shiro.subject.ExecutionException
- ExecutorServiceSessionValidationScheduler - Class in org.apache.shiro.session.mgt
-
SessionValidationScheduler implementation that uses a
ScheduledExecutorService
to callValidatingSessionManager.validateSessions()
everyinterval
milliseconds. - ExecutorServiceSessionValidationScheduler() - Constructor for class org.apache.shiro.session.mgt.ExecutorServiceSessionValidationScheduler
- ExecutorServiceSessionValidationScheduler(ValidatingSessionManager) - Constructor for class org.apache.shiro.session.mgt.ExecutorServiceSessionValidationScheduler
- expire() - Method in class org.apache.shiro.session.mgt.SimpleSession
- ExpiredCredentialsException - Exception in org.apache.shiro.authc
-
Thrown during the authentication process when the system determines the submitted credential(s) has expired and will not allow login.
- ExpiredCredentialsException() - Constructor for exception org.apache.shiro.authc.ExpiredCredentialsException
-
Creates a new ExpiredCredentialsException.
- ExpiredCredentialsException(String) - Constructor for exception org.apache.shiro.authc.ExpiredCredentialsException
-
Constructs a new ExpiredCredentialsException.
- ExpiredCredentialsException(String, Throwable) - Constructor for exception org.apache.shiro.authc.ExpiredCredentialsException
-
Constructs a new ExpiredCredentialsException.
- ExpiredCredentialsException(Throwable) - Constructor for exception org.apache.shiro.authc.ExpiredCredentialsException
-
Constructs a new ExpiredCredentialsException.
- ExpiredSessionException - Exception in org.apache.shiro.session
-
A special case of a StoppedSessionException.
- ExpiredSessionException() - Constructor for exception org.apache.shiro.session.ExpiredSessionException
-
Creates a new ExpiredSessionException.
- ExpiredSessionException(String) - Constructor for exception org.apache.shiro.session.ExpiredSessionException
-
Constructs a new ExpiredSessionException.
- ExpiredSessionException(String, Throwable) - Constructor for exception org.apache.shiro.session.ExpiredSessionException
-
Constructs a new ExpiredSessionException.
- ExpiredSessionException(Throwable) - Constructor for exception org.apache.shiro.session.ExpiredSessionException
-
Constructs a new ExpiredSessionException.
- EXPIRES_ATTRIBUTE_NAME - Static variable in class org.apache.shiro.web.servlet.SimpleCookie
- EXTERNAL - org.apache.shiro.realm.jdbc.JdbcRealm.SaltStyle
- extractPathWithinPattern(String, String) - Method in class org.apache.shiro.util.AntPathMatcher
-
Given a pattern and a full path, determine the pattern-mapped part.
F
- Factory<T> - Interface in org.apache.shiro.util
-
Generics-aware interface supporting the Factory Method design pattern.
- FILE_PREFIX - Static variable in class org.apache.shiro.io.ResourceUtils
-
Resource path prefix that specifies to load from a file location, value is
file:
- fileLastModified - Variable in class org.apache.shiro.realm.text.PropertiesRealm
- filter(ContainerRequestContext) - Method in class org.apache.shiro.web.jaxrs.AnnotationAuthorizationFilter
- filter(ContainerRequestContext) - Method in class org.apache.shiro.web.jaxrs.SubjectPrincipalRequestFilter
- FILTER_CHAIN_RESOLVER_NAME - Static variable in class org.apache.shiro.web.env.IniWebEnvironment
- FILTER_NAME - Static variable in class org.apache.shiro.spring.config.web.autoconfigure.ShiroWebFilterConfiguration
- FilterChainManager - Interface in org.apache.shiro.web.filter.mgt
- FilterChainResolver - Interface in org.apache.shiro.web.filter.mgt
- filterConfig - Variable in class org.apache.shiro.web.servlet.AbstractFilter
-
FilterConfig provided by the Servlet container at start-up.
- filterConfig(Key<T>) - Static method in class org.apache.shiro.guice.web.ShiroWebModule
-
Builds a FilterConfig from a Filer and configuration String
- filterConfig(Key<T>, String) - Static method in class org.apache.shiro.guice.web.ShiroWebModule
-
Builds a FilterConfig from a Filer and configuration String
- filterConfig(TypeLiteral<T>, String) - Static method in class org.apache.shiro.guice.web.ShiroWebModule
-
Builds a FilterConfig from a Filer and configuration String
- filterConfig(Class<T>, String) - Static method in class org.apache.shiro.guice.web.ShiroWebModule
-
Builds a FilterConfig from a Filer and configuration String
- filterMap - Variable in class org.apache.shiro.spring.web.config.AbstractShiroWebFilterConfiguration
- FILTERS - Static variable in class org.apache.shiro.web.config.IniFilterChainResolverFactory
- filterShiroFilterRegistrationBean() - Method in class org.apache.shiro.spring.config.web.autoconfigure.ShiroWebFilterConfiguration
- finalizeEnvironment(WebEnvironment) - Method in class org.apache.shiro.web.env.EnvironmentLoader
-
Any additional cleanup of the Environment can be done by overriding this method.
- findEventBus(Map<String, ?>) - Method in class org.apache.shiro.config.ReflectionBuilder
- FirstSuccessfulStrategy - Class in org.apache.shiro.authc.pam
-
AuthenticationStrategy
implementation that only accepts the account data from the first successfully consulted Realm and ignores all subsequent realms. - FirstSuccessfulStrategy() - Constructor for class org.apache.shiro.authc.pam.FirstSuccessfulStrategy
- forgetIdentity(Subject) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Forgets (removes) any remembered identity data for the specified
Subject
instance. - forgetIdentity(Subject) - Method in class org.apache.shiro.web.mgt.CookieRememberMeManager
-
Removes the 'rememberMe' cookie from the associated
WebSubject
's request/response pair. - forgetIdentity(SubjectContext) - Method in interface org.apache.shiro.mgt.RememberMeManager
-
Forgets any remembered identity corresponding to the subject context map being used to build a subject instance.
- forgetIdentity(SubjectContext) - Method in class org.apache.shiro.web.mgt.CookieRememberMeManager
-
Removes the 'rememberMe' cookie from the associated
WebSubjectContext
's request/response pair. - format(Hash) - Method in class org.apache.shiro.crypto.hash.format.Base64Format
-
Returns
hash != null ? hash.toBase64() : null
. - format(Hash) - Method in interface org.apache.shiro.crypto.hash.format.HashFormat
-
Returns a formatted string representing the specified Hash instance.
- format(Hash) - Method in class org.apache.shiro.crypto.hash.format.HexFormat
-
Returns
hash != null ? hash.toHex() : null
. - format(Hash) - Method in class org.apache.shiro.crypto.hash.format.Shiro1CryptFormat
- FormAuthenticationFilter - Class in org.apache.shiro.web.filter.authc
-
Requires the requesting user to be authenticated for the request to continue, and if they are not, forces the user to login via by redirecting them to the
loginUrl
you configure. - FormAuthenticationFilter() - Constructor for class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
- forName(String) - Static method in class org.apache.shiro.util.ClassUtils
-
Attempts to load the specified class name from the current thread's
context class loader
, then the current ClassLoader (ClassUtils.class.getClassLoader()
), then the system/application ClassLoader (ClassLoader.getSystemClassLoader()
, in that order. - FORWARD_CONTEXT_PATH_ATTRIBUTE - Static variable in class org.apache.shiro.web.util.WebUtils
- FORWARD_PATH_INFO_ATTRIBUTE - Static variable in class org.apache.shiro.web.util.WebUtils
- FORWARD_QUERY_STRING_ATTRIBUTE - Static variable in class org.apache.shiro.web.util.WebUtils
- FORWARD_REQUEST_URI_ATTRIBUTE - Static variable in class org.apache.shiro.web.util.WebUtils
-
Standard Servlet 2.4+ spec request attributes for forward URI and paths.
- FORWARD_SERVLET_PATH_ATTRIBUTE - Static variable in class org.apache.shiro.web.util.WebUtils
- fromBase64String(String) - Static method in class org.apache.shiro.crypto.hash.Md2Hash
- fromBase64String(String) - Static method in class org.apache.shiro.crypto.hash.Md5Hash
- fromBase64String(String) - Static method in class org.apache.shiro.crypto.hash.Sha1Hash
- fromBase64String(String) - Static method in class org.apache.shiro.crypto.hash.Sha256Hash
- fromBase64String(String) - Static method in class org.apache.shiro.crypto.hash.Sha384Hash
- fromBase64String(String) - Static method in class org.apache.shiro.crypto.hash.Sha512Hash
- fromHexString(String) - Static method in class org.apache.shiro.crypto.hash.Md2Hash
- fromHexString(String) - Static method in class org.apache.shiro.crypto.hash.Md5Hash
- fromHexString(String) - Static method in class org.apache.shiro.crypto.hash.Sha1Hash
- fromHexString(String) - Static method in class org.apache.shiro.crypto.hash.Sha256Hash
- fromHexString(String) - Static method in class org.apache.shiro.crypto.hash.Sha384Hash
- fromHexString(String) - Static method in class org.apache.shiro.crypto.hash.Sha512Hash
- fromRealm(String) - Method in interface org.apache.shiro.subject.PrincipalCollection
-
Returns a single Subject's principals retrieved from the specified Realm only as a Collection, or an empty Collection if there are not any principals from that realm.
- fromRealm(String) - Method in class org.apache.shiro.subject.SimplePrincipalCollection
- fromRealm(String) - Method in class org.apache.shiro.subject.SimplePrincipalMap
- fromResourcePath(String) - Static method in class org.apache.shiro.config.Ini
-
Creates a new
Ini
instance loaded with the INI-formatted data in the resource at the given path.
G
- GCM - org.apache.shiro.crypto.OperationMode
-
Galois/Counter mode* - for block ciphers with 128 bit block-size only.
- generateId(Session) - Method in class org.apache.shiro.session.mgt.eis.JavaUuidSessionIdGenerator
- generateId(Session) - Method in class org.apache.shiro.session.mgt.eis.RandomSessionIdGenerator
-
Returns the String value of the configured
Random
'snextLong()
invocation. - generateId(Session) - Method in interface org.apache.shiro.session.mgt.eis.SessionIdGenerator
-
Generates a new ID to be applied to the specified
Session
instance. - generateInitializationVector(boolean) - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
- generateInitializationVector(boolean) - Method in class org.apache.shiro.crypto.JcaCipherService
- generateNewKey() - Method in class org.apache.shiro.crypto.AbstractSymmetricCipherService
-
Generates a new
Key
suitable for this CipherService'salgorithm
by callinggenerateNewKey(128)
(uses a 128 bit size by default). - generateNewKey(int) - Method in class org.apache.shiro.crypto.AbstractSymmetricCipherService
-
Generates a new
Key
of the specified size suitable for this CipherService (based on thealgorithmName
using the JDKKeyGenerator
. - generateSessionId(Session) - Method in class org.apache.shiro.session.mgt.eis.AbstractSessionDAO
-
Generates a new ID to be applied to the specified
session
instance. - get(int) - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
- get(Object) - Method in class org.apache.shiro.config.Ini
- get(Object) - Method in class org.apache.shiro.config.Ini.Section
- get(Object) - Method in class org.apache.shiro.subject.SimplePrincipalMap
- get(Object) - Method in class org.apache.shiro.util.MapContext
- get(Object) - Method in class org.apache.shiro.util.SoftHashMap
- get(Object) - Static method in class org.apache.shiro.util.ThreadContext
-
Returns the object for the specified
key
that is bound to the current thread. - get(K) - Method in interface org.apache.shiro.cache.Cache
-
Returns the Cached value stored under the specified
key
ornull
if there is no Cache entry for thatkey
. - get(K) - Method in class org.apache.shiro.cache.ehcache.EhCache
-
Gets a value of an element which matches the given key.
- get(K) - Method in class org.apache.shiro.cache.MapCache
- GET_METHOD - Static variable in class org.apache.shiro.web.filter.AccessControlFilter
-
Constant representing the HTTP 'GET' request method, equal to
GET
. - getActions() - Method in class org.apache.shiro.authz.permission.DomainPermission
- getActiveSessions() - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
- getActiveSessions() - Method in class org.apache.shiro.session.mgt.DefaultSessionManager
- getActiveSessions() - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
Returns all active sessions in the system.
- getActiveSessions() - Method in class org.apache.shiro.session.mgt.eis.MemorySessionDAO
- getActiveSessions() - Method in interface org.apache.shiro.session.mgt.eis.SessionDAO
-
Returns all sessions in the EIS that are considered active, meaning all sessions that haven't been stopped/expired.
- getActiveSessionsCache() - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
Returns the cache instance to use for storing active sessions.
- getActiveSessionsCacheName() - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
Returns the name of the actives sessions cache to be returned by the
CacheManager
. - getAlgorithmName() - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Implemented by subclasses, this specifies the
MessageDigest
algorithm name to use when performing the hash. - getAlgorithmName() - Method in interface org.apache.shiro.crypto.hash.Hash
-
Returns the name of the algorithm used to hash the input source, for example,
SHA-256
,MD5
, etc. - getAlgorithmName() - Method in interface org.apache.shiro.crypto.hash.HashRequest
-
Returns the name of the hash algorithm the
HashService
should use when computing theHash
, ornull
if the default algorithm configuration of theHashService
should be used. - getAlgorithmName() - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Returns the
MessageDigest
algorithm name to use when performing the hash. - getAlgorithmName() - Method in class org.apache.shiro.crypto.hash.SimpleHashRequest
- getAlgorithmName() - Method in class org.apache.shiro.crypto.JcaCipherService
-
Returns the cipher algorithm name that will be used for all encryption, decryption, and key operations (for example, 'AES', 'Blowfish', 'RSA', 'DSA', 'TripleDES', etc).
- getAlgorithmName(HashRequest) - Method in class org.apache.shiro.crypto.hash.DefaultHashService
- getAllAttributeValues(Attribute) - Static method in class org.apache.shiro.realm.ldap.LdapUtils
-
Helper method used to retrieve all attribute values from a particular context attribute.
- getAlreadyFilteredAttributeName() - Method in class org.apache.shiro.web.servlet.OncePerRequestFilter
-
Return name of the request attribute that identifies that a request has already been filtered.
- getAndClearSavedRequest(ServletRequest) - Static method in class org.apache.shiro.web.util.WebUtils
- getAnnotatedMethods(Class<?>, Class<? extends Annotation>) - Static method in class org.apache.shiro.util.ClassUtils
- getAnnotation(MethodInvocation) - Method in class org.apache.shiro.aop.AnnotationMethodInterceptor
-
Returns the Annotation that this interceptor will process for the specified method invocation.
- getAnnotation(MethodInvocation, Class<? extends Annotation>) - Method in interface org.apache.shiro.aop.AnnotationResolver
-
Returns an
Annotation
instance of the specified type based on the givenMethodInvocation
argument, ornull
if no annotation of that type could be found. - getAnnotation(MethodInvocation, Class<? extends Annotation>) - Method in class org.apache.shiro.aop.DefaultAnnotationResolver
- getAnnotation(MethodInvocation, Class<? extends Annotation>) - Method in class org.apache.shiro.spring.aop.SpringAnnotationResolver
- getAnnotationClass() - Method in class org.apache.shiro.aop.AnnotationHandler
-
Returns the type of annotation this handler inspects and processes.
- getAnnotationClass() - Method in class org.apache.shiro.event.support.AnnotationEventListenerResolver
-
Returns the type of annotation that indicates a method that should be represented as an
EventListener
, defaults toSubscribe
. - getAnnotationValue(Annotation) - Method in class org.apache.shiro.authz.aop.PermissionAnnotationHandler
-
Returns the annotation
value
, from which the Permission will be constructed. - getArguments() - Method in interface org.apache.shiro.aop.MethodInvocation
-
Returns the (possibly null) arguments to be supplied to the method invocation.
- getArguments() - Method in class org.apache.shiro.aspectj.BeforeAdviceMethodInvocationAdapter
- getAttribute(Object) - Method in class org.apache.shiro.session.mgt.DelegatingSession
- getAttribute(Object) - Method in class org.apache.shiro.session.mgt.SimpleSession
- getAttribute(Object) - Method in class org.apache.shiro.session.ProxiedSession
-
Immediately delegates to the underlying proxied session.
- getAttribute(Object) - Method in interface org.apache.shiro.session.Session
-
Returns the object bound to this session identified by the specified key.
- getAttribute(Object) - Method in class org.apache.shiro.web.session.HttpServletSession
- getAttribute(String) - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
- getAttribute(SessionKey, Object) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
- getAttribute(SessionKey, Object) - Method in interface org.apache.shiro.session.mgt.NativeSessionManager
-
Returns the object bound to the associated session identified by the specified attribute key.
- getAttributeKeys() - Method in class org.apache.shiro.session.mgt.DelegatingSession
- getAttributeKeys() - Method in class org.apache.shiro.session.mgt.SimpleSession
- getAttributeKeys() - Method in class org.apache.shiro.session.ProxiedSession
-
Immediately delegates to the underlying proxied session.
- getAttributeKeys() - Method in interface org.apache.shiro.session.Session
-
Returns the keys of all the attributes stored under this session.
- getAttributeKeys() - Method in class org.apache.shiro.web.session.HttpServletSession
- getAttributeKeys(SessionKey) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
- getAttributeKeys(SessionKey) - Method in interface org.apache.shiro.session.mgt.NativeSessionManager
-
Returns all attribute keys maintained by the target session or an empty collection if there are no attributes.
- getAttributeNames() - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
- getAttributes() - Method in class org.apache.shiro.session.mgt.SimpleSession
- getAuthenticationCache() - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Returns a
Cache
instance to use for authentication caching, ornull
if no cache has been set. - getAuthenticationCacheKey(AuthenticationToken) - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Returns the key under which
AuthenticationInfo
instances are cached if authentication caching is enabled. - getAuthenticationCacheKey(PrincipalCollection) - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Returns the key under which
AuthenticationInfo
instances are cached if authentication caching is enabled. - getAuthenticationCacheName() - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Returns the name of a
Cache
to lookup from any availablecacheManager
if a cache is not explicitly configured viaAuthenticatingRealm.setAuthenticationCache(org.apache.shiro.cache.Cache)
. - getAuthenticationInfo() - Method in interface org.apache.shiro.subject.SubjectContext
- getAuthenticationInfo() - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
- getAuthenticationInfo(AuthenticationToken) - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
This implementation functions as follows: It attempts to acquire any cached
AuthenticationInfo
corresponding to the specifiedAuthenticationToken
argument. - getAuthenticationInfo(AuthenticationToken) - Method in interface org.apache.shiro.realm.Realm
-
Returns an account's authentication-specific information for the specified token, or null if no account could be found based on the token.
- getAuthenticationListeners() - Method in class org.apache.shiro.authc.AbstractAuthenticator
-
Returns the
AuthenticationListener
s that should be notified during authentication attempts. - getAuthenticationMechanism() - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
Returns the type of LDAP authentication mechanism to use when connecting to the LDAP server.
- getAuthenticationScheme() - Method in class org.apache.shiro.web.jaxrs.ShiroSecurityContext
- getAuthenticationStrategy() - Method in class org.apache.shiro.authc.pam.ModularRealmAuthenticator
-
Returns the
AuthenticationStrategy
utilized by this modular authenticator during a multi-realm log-in attempt. - getAuthenticationToken() - Method in interface org.apache.shiro.subject.SubjectContext
- getAuthenticationToken() - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
- getAuthenticationTokenClass() - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Returns the authenticationToken class supported by this realm.
- getAuthenticator() - Method in class org.apache.shiro.mgt.AuthenticatingSecurityManager
-
Returns the delegate
Authenticator
instance that this SecurityManager uses to perform all authentication operations. - getAuthorizationCache() - Method in class org.apache.shiro.realm.AuthorizingRealm
- getAuthorizationCacheKey(PrincipalCollection) - Method in class org.apache.shiro.realm.AuthorizingRealm
- getAuthorizationCacheName() - Method in class org.apache.shiro.realm.AuthorizingRealm
- getAuthorizationInfo(PrincipalCollection) - Method in class org.apache.shiro.realm.AuthorizingRealm
-
Returns an account's authorization-specific information for the specified
principals
, ornull
if no account could be found. - getAuthorizer() - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
-
Returns the underlying wrapped Authorizer instance to which this SecurityManager implementation delegates all of its authorization calls.
- getAvailablePrincipal(PrincipalCollection) - Method in class org.apache.shiro.realm.CachingRealm
-
A utility method for subclasses that returns the first available principal of interest to this particular realm.
- getBaseUri() - Static method in class org.apache.shiro.testing.web.AbstractContainerIT
- getBasicAuthorizationHeaderValue(String, String) - Static method in class org.apache.shiro.testing.web.AbstractContainerIT
- getBean() - Method in class org.apache.shiro.config.event.BeanEvent
- getBean(String) - Method in class org.apache.shiro.config.ReflectionBuilder
- getBean(String, Class<T>) - Method in class org.apache.shiro.config.ReflectionBuilder
- getBeanContext() - Method in class org.apache.shiro.config.event.BeanEvent
- getBeanName() - Method in class org.apache.shiro.config.event.BeanEvent
- getBeans() - Method in class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.
- getBlockSize() - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
- getBytes() - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.
- getBytes() - Method in class org.apache.shiro.crypto.hash.SimpleHash
- getBytes() - Method in interface org.apache.shiro.util.ByteSource
-
Returns the wrapped byte array.
- getBytes() - Method in class org.apache.shiro.util.SimpleByteSource
- getCache(String) - Method in class org.apache.shiro.cache.AbstractCacheManager
-
Returns the cache with the specified
name
. - getCache(String) - Method in interface org.apache.shiro.cache.CacheManager
-
Acquires the cache with the specified
name
. - getCache(String) - Method in class org.apache.shiro.cache.ehcache.EhCacheManager
-
Loads an existing EhCache from the cache manager, or starts a new cache if one is not found.
- getCache(String) - Method in class org.apache.shiro.hazelcast.cache.HazelcastCacheManager
-
Returns a
MapCache
instance representing the named Hazelcast-managedIMap
. - getCachedSession(Serializable) - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
Returns the cached session with the corresponding
sessionId
ornull
if there is no session cached under that id (or if there is no Cache). - getCachedSession(Serializable, Cache<Serializable, Session>) - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
Returns the Session with the specified id from the specified cache.
- getCacheManager() - Method in class org.apache.shiro.cache.ehcache.EhCacheManager
-
Returns the wrapped Ehcache
CacheManager
instance. - getCacheManager() - Method in class org.apache.shiro.mgt.CachingSecurityManager
-
Returns the CacheManager used by this SecurityManager.
- getCacheManager() - Method in class org.apache.shiro.realm.CachingRealm
-
Returns the CacheManager used for data caching to reduce EIS round trips, or null if caching is disabled.
- getCacheManager() - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
Returns the CacheManager to use for acquiring the
activeSessionsCache
if one is not configured. - getCacheManagerConfigFile() - Method in class org.apache.shiro.cache.ehcache.EhCacheManager
-
Returns the resource location of the config file used to initialize a new EhCache CacheManager instance.
- getCacheManagerConfigFileInputStream() - Method in class org.apache.shiro.cache.ehcache.EhCacheManager
-
Acquires the InputStream for the ehcache configuration file using
ResourceUtils.getInputStreamForPath
with the path returned fromgetCacheManagerConfigFile()
. - getCasServerUrlPrefix() - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- getCasService() - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- getChain(String) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- getChain(String) - Method in interface org.apache.shiro.web.filter.mgt.FilterChainManager
-
Returns the filter chain identified by the specified
chainName
ornull
if there is no chain with that name. - getChain(ServletRequest, ServletResponse, FilterChain) - Method in interface org.apache.shiro.web.filter.mgt.FilterChainResolver
-
Returns the filter chain that should be executed for the given request, or
null
if the original chain should be used. - getChain(ServletRequest, ServletResponse, FilterChain) - Method in class org.apache.shiro.web.filter.mgt.PathMatchingFilterChainResolver
- getChainNames() - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- getChainNames() - Method in interface org.apache.shiro.web.filter.mgt.FilterChainManager
-
Returns the names of all configured chains or an empty
Set
if no chains have been configured. - getCipherKey() - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Convenience method that returns the cipher key to use for both encryption and decryption.
- getCipherService() - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Returns the
CipherService
to use for encrypting and decrypting serialized identity data to prevent easy inspection of Subject identity data. - getCleanParam(ServletRequest, String) - Static method in class org.apache.shiro.web.util.WebUtils
-
Convenience method that returns a request parameter value, first running it through
StringUtils.clean(String)
. - getCleanParam(ServletRequest, String, boolean) - Static method in class org.apache.shiro.web.util.WebUtils
-
Convenience method that returns a request parameter value, first running it through
StringUtils.clean(String)
. - getComment() - Method in interface org.apache.shiro.web.servlet.Cookie
- getComment() - Method in class org.apache.shiro.web.servlet.SimpleCookie
- getConfig() - Method in class org.apache.shiro.hazelcast.cache.HazelcastCacheManager
-
Returns the Hazelcast
Config
object to use to create a backingHazelcastInstance
if one is notsupplied
, ornull
if the default Hazelcast configuration mechanisms will be used. - getConfig() - Method in class org.apache.shiro.web.servlet.IniShiroFilter
-
Deprecated.Returns the actual INI configuration text to use to build the
SecurityManager
andFilterChainResolver
used by the web application ornull
if theconfigPath
should be used to load a fallback INI source. - getConfigLocations() - Method in class org.apache.shiro.web.env.ResourceBasedWebEnvironment
- getConfigPath() - Method in class org.apache.shiro.web.servlet.IniShiroFilter
-
Deprecated.Returns the config path to be used to load a .ini file for configuration if a configuration is not specified via the
config
attribute. - getConfigurationInterpolator() - Method in class org.apache.shiro.config.CommonsInterpolator
- getConfigValue() - Method in class org.apache.shiro.guice.web.ShiroWebModule.FilterConfig
- getConstructor(Class, Class...) - Static method in class org.apache.shiro.util.ClassUtils
- getContext() - Method in class org.apache.shiro.web.servlet.ShiroHttpServletResponse
- getContextAttribute(String) - Method in class org.apache.shiro.web.servlet.ServletContextSupport
- getContextFactory() - Method in class org.apache.shiro.realm.ldap.DefaultLdapRealm
-
Returns the LdapContextFactory instance used to acquire connections to the LDAP directory during authentication attempts and authorization queries.
- getContextFactoryClassName() - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
Sets the name of the ContextFactory class to use.
- getContextInitParam(String) - Method in class org.apache.shiro.web.servlet.ServletContextSupport
- getContextPath(HttpServletRequest) - Static method in class org.apache.shiro.web.util.WebUtils
-
Return the context path for the given request, detecting an include request URL if called within a RequestDispatcher include.
- getCookie() - Method in class org.apache.shiro.web.mgt.CookieRememberMeManager
-
Returns the cookie 'template' that will be used to set all attributes of outgoing rememberMe cookies created by this
RememberMeManager
. - getCreationTime() - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
- getCredentials() - Method in interface org.apache.shiro.authc.AuthenticationInfo
-
Returns the credentials associated with the corresponding Subject.
- getCredentials() - Method in interface org.apache.shiro.authc.AuthenticationToken
-
Returns the credentials submitted by the user during the authentication process that verifies the submitted
account identity
. - getCredentials() - Method in class org.apache.shiro.authc.BearerToken
- getCredentials() - Method in class org.apache.shiro.authc.SimpleAccount
-
Simply returns
this.authcInfo.getCredentials
. - getCredentials() - Method in class org.apache.shiro.authc.SimpleAuthenticationInfo
- getCredentials() - Method in class org.apache.shiro.authc.UsernamePasswordToken
-
Returns the
password
char array. - getCredentials() - Method in class org.apache.shiro.cas.CasToken
-
Deprecated.
- getCredentials(AuthenticationInfo) - Method in class org.apache.shiro.authc.credential.HashedCredentialsMatcher
-
Returns a
Hash
instance representing the already-hashed AuthenticationInfo credentials stored in the system. - getCredentials(AuthenticationInfo) - Method in class org.apache.shiro.authc.credential.SimpleCredentialsMatcher
-
Returns the
account
's credentials. - getCredentials(AuthenticationToken) - Method in class org.apache.shiro.authc.credential.SimpleCredentialsMatcher
-
Returns the
token
's credentials. - getCredentialsMatcher() - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Returns the
CredentialsMatcher
used during an authentication attempt to verify submitted credentials with those stored in the system. - getCredentialsSalt() - Method in interface org.apache.shiro.authc.SaltedAuthenticationInfo
-
Returns the salt used to salt the account's credentials or
null
if no salt was used. - getCredentialsSalt() - Method in class org.apache.shiro.authc.SimpleAccount
-
Returns the salt used to hash this Account's credentials (eg for password hashing), or
null
if no salt was used or credentials were not hashed at all. - getCredentialsSalt() - Method in class org.apache.shiro.authc.SimpleAuthenticationInfo
-
Returns the salt used to hash the credentials, or
null
if no salt was used or credentials were not hashed at all. - getDecryptionCipherKey() - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Returns the decryption cipher key to use for decryption operations.
- getDefaultConfigLocations() - Method in class org.apache.shiro.web.env.IniWebEnvironment
-
Returns an array with two elements,
/WEB-INF/shiro.ini
andclasspath:shiro.ini
. - getDefaultIni() - Method in class org.apache.shiro.web.env.IniWebEnvironment
- getDefaultNextBytesSize() - Method in class org.apache.shiro.crypto.SecureRandomNumberGenerator
-
Returns the size of the generated byte array for calls to
nextBytes()
. - getDefaultPermissions() - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- getDefaultRoles() - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- getDefaults() - Method in class org.apache.shiro.config.IniFactorySupport
-
Deprecated.Returns a mapping of String to bean representing the default set of object used by the factory.
- getDefaults() - Method in class org.apache.shiro.web.env.IniWebEnvironment
- getDefaultSecureRandom() - Static method in class org.apache.shiro.crypto.JcaCipherService
- getDefaultValue() - Method in class org.apache.shiro.web.tags.PrincipalTag
- getDefaultWebEnvironmentClass() - Method in class org.apache.shiro.web.env.EnvironmentLoader
-
Returns the default WebEnvironment class, which is unless overridden:
IniWebEnvironment
. - getDigest(String) - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Returns the JDK MessageDigest instance to use for executing the hash.
- getDigest(String) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Returns the JDK MessageDigest instance to use for executing the hash.
- getDiskStoreSize() - Method in class org.apache.shiro.cache.ehcache.EhCache
-
Returns the size (in bytes) that this EhCache's disk store is consuming or
-1
if that number is unknown or cannot be calculated. - getDomain() - Method in class org.apache.shiro.authz.permission.DomainPermission
- getDomain() - Method in interface org.apache.shiro.web.servlet.Cookie
- getDomain() - Method in class org.apache.shiro.web.servlet.SimpleCookie
- getDomain(Class<? extends DomainPermission>) - Method in class org.apache.shiro.authz.permission.DomainPermission
- getEncryptionCipherKey() - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Returns the cipher key to use for encryption operations.
- getEnvironment() - Method in class org.apache.shiro.jndi.JndiTemplate
-
Return the environment for the JNDI InitialContext, or
null
if none should be used. - getEnvironment() - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
Returns the base JNDI environment template to use when acquiring an LDAP connection (an
LdapContext
). - getEventBus() - Method in class org.apache.shiro.mgt.CachingSecurityManager
-
Returns the
EventBus
used by this SecurityManager and potentially any of its children components. - getEventBus() - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
-
Returns the EventBus used to publish SessionEvents.
- getEventListenerResolver() - Method in class org.apache.shiro.event.support.DefaultEventBus
- getEventListeners(Object) - Method in class org.apache.shiro.event.support.AnnotationEventListenerResolver
-
Returns a new collection of
EventListener
instances, each instance corresponding to an annotated method discovered on the specifiedinstance
argument. - getEventListeners(Object) - Method in interface org.apache.shiro.event.support.EventListenerResolver
-
Returns
EventListener
instances as a result of inspecting a subscriber object, mostly likely withSubscribe
-annotated methods. - getEventType() - Method in class org.apache.shiro.event.support.SingleArgumentMethodEventListener
- getEventType() - Method in interface org.apache.shiro.event.support.TypedEventListener
- getExecutionChain(ServletRequest, ServletResponse, FilterChain) - Method in class org.apache.shiro.web.servlet.AbstractShiroFilter
-
Returns the
FilterChain
to execute for the given request. - getFailureKeyAttribute() - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
- getFilter(String) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- getFilterChainDefinitionMap() - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
-
Returns the chainName-to-chainDefinition map of chain definitions to use for creating filter chains intercepted by the Shiro Filter.
- getFilterChainManager() - Method in class org.apache.shiro.web.filter.mgt.PathMatchingFilterChainResolver
- getFilterChainMap() - Method in class org.apache.shiro.spring.web.config.DefaultShiroFilterChainDefinition
- getFilterChainMap() - Method in interface org.apache.shiro.spring.web.config.ShiroFilterChainDefinition
- getFilterChainResolver() - Method in class org.apache.shiro.web.env.DefaultWebEnvironment
- getFilterChainResolver() - Method in interface org.apache.shiro.web.env.WebEnvironment
-
Returns the web application's
FilterChainResolver
if one has been configured ornull
if one is not available. - getFilterChainResolver() - Method in class org.apache.shiro.web.servlet.AbstractShiroFilter
- getFilterChains() - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- getFilterClass() - Method in enum org.apache.shiro.web.filter.mgt.DefaultFilter
- getFilterConfig() - Method in class org.apache.shiro.web.config.IniFilterChainResolverFactory
- getFilterConfig() - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
-
Returns the
FilterConfig
provided by the Servlet container at webapp startup. - getFilterConfig() - Method in class org.apache.shiro.web.servlet.AbstractFilter
-
Returns the servlet container specified
FilterConfig
instance provided atstartup
. - getFilters() - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
-
Returns the filterName-to-Filter map of filters available for reference when defining filter chain definitions.
- getFilters() - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- getFilters() - Method in interface org.apache.shiro.web.filter.mgt.FilterChainManager
-
Returns the pool of available
Filter
s managed by this manager, keyed byname
. - getFilters(Map<String, String>, Map<String, ?>) - Method in class org.apache.shiro.web.config.IniFilterChainResolverFactory
- getFormatClassNames() - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
-
Returns a
hashFormatAlias
-to-fullyQualifiedHashFormatClassNameImplementation
map. - getFrameworkIni() - Method in class org.apache.shiro.web.env.IniWebEnvironment
-
Extension point to allow subclasses to provide an
Ini
configuration that will be merged into the users configuration. - getGlobalFilters() - Method in class org.apache.shiro.web.config.IniFilterChainResolverFactory
- getGlobalSessionTimeout() - Method in class org.apache.shiro.session.mgt.AbstractSessionManager
-
Returns the system-wide default time in milliseconds that any session may remain idle before expiring.
- getHandler() - Method in class org.apache.shiro.aop.AnnotationMethodInterceptor
-
Returns the
AnnotationHandler
used to perform authorization behavior based on an annotation discovered at runtime. - getHashAlgorithmName() - Method in class org.apache.shiro.authc.credential.HashedCredentialsMatcher
-
Returns the
Hash
algorithmName
to use when performing hashes for credentials matching. - getHashAlgorithmName() - Method in class org.apache.shiro.crypto.hash.DefaultHashService
- getHashFormat() - Method in class org.apache.shiro.authc.credential.DefaultPasswordService
- getHashFormatClass(String) - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
-
Heuristically determine the fully qualified HashFormat implementation class name based on the specified token.
- getHashFormatClass(String, String) - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
-
Heuristically determine the fully qualified
HashFormat
implementation class name in the specified package based on the provided token. - getHashFormatFactory() - Method in class org.apache.shiro.authc.credential.DefaultPasswordService
- getHashIterations() - Method in class org.apache.shiro.authc.credential.HashedCredentialsMatcher
-
Returns the number of times a submitted
AuthenticationToken
's credentials will be hashed before comparing to the credentials stored in the system. - getHashIterations() - Method in class org.apache.shiro.crypto.hash.DefaultHashService
- getHashService() - Method in class org.apache.shiro.authc.credential.DefaultPasswordService
- getHazelcastInstance() - Method in class org.apache.shiro.hazelcast.cache.HazelcastCacheManager
-
Returns the
HazelcastInstance
from which namedConcurrentMap
instances will be acquired to createMapCache
instances. - getHost() - Method in class org.apache.shiro.authc.BearerToken
- getHost() - Method in interface org.apache.shiro.authc.HostAuthenticationToken
-
Returns the host name of the client from where the authentication attempt originates or if the Shiro environment cannot or chooses not to resolve the hostname to improve performance, this method returns the String representation of the client's IP address.
- getHost() - Method in class org.apache.shiro.authc.UsernamePasswordToken
-
Returns the host name or IP string from where the authentication attempt occurs.
- getHost() - Method in exception org.apache.shiro.authz.HostUnauthorizedException
-
Returns the host associated with this exception.
- getHost() - Method in class org.apache.shiro.session.mgt.DefaultSessionContext
- getHost() - Method in class org.apache.shiro.session.mgt.DelegatingSession
- getHost() - Method in interface org.apache.shiro.session.mgt.SessionContext
-
Returns the originating host name or IP address (as a String) from where the
Subject
is initiating theSession
. - getHost() - Method in class org.apache.shiro.session.mgt.SimpleSession
- getHost() - Method in class org.apache.shiro.session.ProxiedSession
-
Immediately delegates to the underlying proxied session.
- getHost() - Method in interface org.apache.shiro.session.Session
-
Returns the host name or IP string of the host that originated this session, or
null
if the host is unknown. - getHost() - Method in interface org.apache.shiro.subject.SubjectContext
-
Returns the host name or IP that should reflect the constructed
Subject
's originating location. - getHost() - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
- getHost() - Method in class org.apache.shiro.subject.support.DelegatingSubject
-
Returns the host name or IP associated with the client who created/is interacting with this Subject.
- getHost() - Method in class org.apache.shiro.web.session.HttpServletSession
- getHost(ServletRequest) - Method in class org.apache.shiro.web.filter.authc.AuthenticatingFilter
-
Returns the host name or IP associated with the current subject.
- getHost(SessionKey) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
- getHost(SessionKey) - Method in interface org.apache.shiro.session.mgt.NativeSessionManager
-
Returns the host name or IP string of the host where the session was started, if known.
- getHsts() - Method in class org.apache.shiro.web.filter.authz.SslFilter
- getHttpMethodAction(String) - Method in class org.apache.shiro.web.filter.authz.HttpMethodPermissionFilter
-
Determines the corresponding application action that will be performed on the filtered resource based on the specified HTTP method (GET, POST, etc).
- getHttpMethodAction(ServletRequest) - Method in class org.apache.shiro.web.filter.authz.HttpMethodPermissionFilter
-
Determines the action (verb) attempting to be performed on the filtered resource by the current request.
- getHttpMethodActions() - Method in class org.apache.shiro.web.filter.authz.HttpMethodPermissionFilter
-
Returns the HTTP Method name (key) to action verb (value) mapping used to resolve actions based on an incoming
HttpServletRequest
. - getHttpRequest(Object) - Static method in class org.apache.shiro.web.util.WebUtils
- getHttpResponse(Object) - Static method in class org.apache.shiro.web.util.WebUtils
- getId() - Method in interface org.apache.shiro.crypto.hash.format.ModularCryptFormat
-
Returns the Modular Crypt Format identifier that indicates how the formatted String should be parsed.
- getId() - Method in class org.apache.shiro.crypto.hash.format.Shiro1CryptFormat
- getId() - Method in class org.apache.shiro.session.mgt.DelegatingSession
- getId() - Method in class org.apache.shiro.session.mgt.SimpleSession
- getId() - Method in class org.apache.shiro.session.ProxiedSession
-
Immediately delegates to the underlying proxied session.
- getId() - Method in interface org.apache.shiro.session.Session
-
Returns the unique identifier assigned by the system upon session creation.
- getId() - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
- getId() - Method in class org.apache.shiro.web.session.HttpServletSession
- getId(String) - Method in class org.apache.shiro.config.ReflectionBuilder
- getIdentityToRemember(Subject, AuthenticationInfo) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
- getIni() - Method in class org.apache.shiro.config.IniFactorySupport
-
Deprecated.
- getIni() - Method in class org.apache.shiro.realm.text.IniRealm
-
Returns the Ini instance used to configure this realm.
- getIni() - Method in class org.apache.shiro.web.env.IniWebEnvironment
-
Returns the
Ini
instance reflecting this WebEnvironment's configuration. - getInitializationVectorSize() - Method in class org.apache.shiro.crypto.JcaCipherService
-
Returns the algorithm-specific size in bits of generated initialization vectors.
- getInitParam(String) - Method in class org.apache.shiro.web.servlet.AbstractFilter
-
Returns the value for the named
init-param
, ornull
if there was noinit-param
specified by that name. - getInputStreamForPath(String) - Static method in class org.apache.shiro.io.ResourceUtils
-
Returns the InputStream for the resource represented by the specified path, supporting scheme prefixes that direct how to acquire the input stream (
CLASSPATH_PREFIX
,URL_PREFIX
, orFILE_PREFIX
). - getInstance() - Method in class org.apache.shiro.jndi.JndiObjectFactory
- getInstance() - Method in class org.apache.shiro.util.AbstractFactory
- getInstance() - Method in interface org.apache.shiro.util.Factory
-
Returns an instance of the required type.
- getInstance(String) - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
- getInstance(String) - Method in interface org.apache.shiro.crypto.hash.format.HashFormatFactory
- getInterval() - Method in class org.apache.shiro.session.mgt.ExecutorServiceSessionValidationScheduler
- getIterations() - Method in interface org.apache.shiro.crypto.hash.Hash
-
Returns the number of hash iterations used to compute the hash.
- getIterations() - Method in interface org.apache.shiro.crypto.hash.HashRequest
-
Returns the number of requested hash iterations to be performed when computing the final
Hash
result. - getIterations() - Method in class org.apache.shiro.crypto.hash.SimpleHash
- getIterations() - Method in class org.apache.shiro.crypto.hash.SimpleHashRequest
- getIterations(HashRequest) - Method in class org.apache.shiro.crypto.hash.DefaultHashService
- getJndiEnvironment() - Method in class org.apache.shiro.jndi.JndiLocator
-
Return the JNDI environment to use for JNDI lookups.
- getJndiNames() - Method in class org.apache.shiro.realm.jndi.JndiRealmFactory
-
Returns the JNDI names that will be used to look up Realm(s) from JNDI.
- getJndiTemplate() - Method in class org.apache.shiro.jndi.JndiLocator
-
Return the JNDI template to use for JNDI lookups.
- getKey() - Method in class org.apache.shiro.guice.web.ShiroWebModule.FilterConfig
- getKeyNames() - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
- getKeySize() - Method in class org.apache.shiro.crypto.JcaCipherService
-
Returns the size in bits (not bytes) of generated cipher keys.
- getLastAccessedTime() - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
- getLastAccessTime() - Method in class org.apache.shiro.session.mgt.DelegatingSession
- getLastAccessTime() - Method in class org.apache.shiro.session.mgt.SimpleSession
- getLastAccessTime() - Method in class org.apache.shiro.session.ProxiedSession
-
Immediately delegates to the underlying proxied session.
- getLastAccessTime() - Method in interface org.apache.shiro.session.Session
-
Returns the last time the application received a request or method invocation from the user associated with this session.
- getLastAccessTime() - Method in class org.apache.shiro.web.session.HttpServletSession
- getLastAccessTime(SessionKey) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
- getLastAccessTime(SessionKey) - Method in interface org.apache.shiro.session.mgt.NativeSessionManager
-
Returns the time the associated
Session
last interacted with the system. - getLdapContext(Object, Object) - Method in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
- getLdapContext(Object, Object) - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
This implementation returns an LdapContext based on the configured JNDI/LDAP environment configuration.
- getLdapContext(Object, Object) - Method in interface org.apache.shiro.realm.ldap.LdapContextFactory
-
Creates (or retrieves from a pool) an
LdapContext
connection bound using the specified principal and credentials. - getLdapContext(String, String) - Method in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.the
DefaultLdapContextFactory.getLdapContext(Object, Object)
method should be used in all cases to ensure more than String principals and credentials can be used. Shiro no longer calls this method - it will be removed before the 2.0 release. - getLdapContext(String, String) - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
Deprecated.the
JndiLdapContextFactory.getLdapContext(Object, Object)
method should be used in all cases to ensure more than String principals and credentials can be used. Shiro no longer calls this method - it will be removed before the 2.0 release. - getLdapContext(String, String) - Method in interface org.apache.shiro.realm.ldap.LdapContextFactory
-
Deprecated.the
LdapContextFactory.getLdapContext(Object, Object)
method should be used in all cases to ensure more than String principals and credentials can be used. - getLdapPrincipal(AuthenticationToken) - Method in class org.apache.shiro.realm.ldap.DefaultLdapRealm
-
Returns the principal to use when creating the LDAP connection for an authentication attempt.
- getLoginUrl() - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
-
Returns the application's login URL to be assigned to all acquired Filters that subclass
AccessControlFilter
ornull
if no value should be assigned globally. - getLoginUrl() - Method in class org.apache.shiro.web.filter.AccessControlFilter
-
Returns the login URL used to authenticate a user.
- getMajorVersion() - Static method in class org.apache.shiro.util.JavaEnvironment
-
Deprecated.Get the major version code.
- getMaxAge() - Method in class org.apache.shiro.web.filter.authz.SslFilter.HSTS
- getMaxAge() - Method in interface org.apache.shiro.web.servlet.Cookie
- getMaxAge() - Method in class org.apache.shiro.web.servlet.SimpleCookie
- getMaxInactiveInterval() - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
- getMemoryStoreSize() - Method in class org.apache.shiro.cache.ehcache.EhCache
-
Returns the size (in bytes) that this EhCache's memory store is using (RAM), or
-1
if that number is unknown or cannot be calculated. - getMemoryUsage() - Method in class org.apache.shiro.cache.ehcache.EhCache
-
Returns the size (in bytes) that this EhCache is using in memory (RAM), or
-1
if that number is unknown or cannot be calculated. - getMethod() - Method in interface org.apache.shiro.aop.MethodInvocation
-
Returns the actual
Method
to be invoked. - getMethod() - Method in class org.apache.shiro.aspectj.BeforeAdviceMethodInvocationAdapter
- getMethod() - Method in class org.apache.shiro.event.support.SingleArgumentMethodEventListener
- getMethod() - Method in class org.apache.shiro.web.util.SavedRequest
- getMethodArgumentType(Method) - Method in class org.apache.shiro.event.support.SingleArgumentMethodEventListener
- getMethodInterceptors() - Method in class org.apache.shiro.authz.aop.AnnotationsAuthorizingMethodInterceptor
-
Returns the method interceptors to execute for the annotated method.
- getModeName() - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
- getName() - Method in class org.apache.shiro.authz.SimpleRole
- getName() - Method in class org.apache.shiro.config.Ini.Section
- getName() - Method in class org.apache.shiro.realm.CachingRealm
- getName() - Method in interface org.apache.shiro.realm.Realm
-
Returns the (application-unique) name assigned to this
Realm
. - getName() - Method in interface org.apache.shiro.web.filter.mgt.NamedFilterList
-
Returns the configuration-unique name assigned to this
Filter
list. - getName() - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
- getName() - Method in interface org.apache.shiro.web.servlet.Cookie
- getName() - Method in class org.apache.shiro.web.servlet.NameableFilter
-
Returns the filter's name.
- getName() - Method in class org.apache.shiro.web.servlet.SimpleCookie
- getName() - Method in class org.apache.shiro.web.tags.PermissionTag
- getName() - Method in class org.apache.shiro.web.tags.RoleTag
- getName(String, String) - Method in class org.apache.shiro.realm.text.PropertiesRealm
- getObject() - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
-
Lazily creates and returns a
AbstractShiroFilter
concrete instance via theShiroFilterFactoryBean.createInstance()
method. - getObject(String, Class<T>) - Method in class org.apache.shiro.env.DefaultEnvironment
- getObject(String, Class<T>) - Method in interface org.apache.shiro.env.NamedObjectEnvironment
-
Returns the object in Shiro's environment with the specified name and type or
null
if no object with that name was found. - getObjectPermissions() - Method in class org.apache.shiro.authc.SimpleAccount
-
Returns all object-based permissions assigned directly to this Account (not any of its realms).
- getObjectPermissions() - Method in interface org.apache.shiro.authz.AuthorizationInfo
-
Returns all type-safe
Permission
s assigned to the corresponding Subject. - getObjectPermissions() - Method in class org.apache.shiro.authz.SimpleAuthorizationInfo
- getObjects() - Method in class org.apache.shiro.config.ReflectionBuilder
- getObjects() - Method in class org.apache.shiro.env.DefaultEnvironment
-
Returns the live (modifiable) internal objects collection.
- getObjectType() - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
-
Returns
AbstractShiroFilter
.class - getOrder() - Method in class org.apache.shiro.spring.LifecycleBeanPostProcessor
-
Order value of this BeanPostProcessor.
- getPaddingSchemeName() - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
- getParts() - Method in class org.apache.shiro.authz.permission.WildcardPermission
- getPassword() - Method in class org.apache.shiro.authc.UsernamePasswordToken
-
Returns the password submitted during an authentication attempt as a character array.
- getPassword(ServletRequest) - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
- getPasswordParam() - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
- getPasswordService() - Method in class org.apache.shiro.authc.credential.PasswordMatcher
- getPath() - Method in interface org.apache.shiro.web.servlet.Cookie
- getPath() - Method in class org.apache.shiro.web.servlet.SimpleCookie
- getPathMatcher() - Method in class org.apache.shiro.web.filter.mgt.PathMatchingFilterChainResolver
-
Returns the
PatternMatcher
used when determining if an incoming request's path matches a configured filter chain. - getPathWithinApplication(HttpServletRequest) - Method in class org.apache.shiro.spring.web.ShiroUrlPathHelper
- getPathWithinApplication(HttpServletRequest) - Static method in class org.apache.shiro.web.util.WebUtils
-
Return the path within the web application for the given request.
- getPathWithinApplication(ServletRequest) - Method in class org.apache.shiro.web.filter.mgt.PathMatchingFilterChainResolver
-
Merely returns
WebUtils.
and can be overridden by subclasses for custom request-to-application-path resolution behavior.getPathWithinApplication(request)
- getPathWithinApplication(ServletRequest) - Method in class org.apache.shiro.web.filter.PathMatchingFilter
-
Returns the context path within the application based on the specified
request
. - getPathWithinServletMapping(HttpServletRequest) - Method in class org.apache.shiro.spring.web.ShiroUrlPathHelper
- getPermissionAttributeNames() - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- getPermissionResolver() - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
Returns the PermissionResolver to be used on all configured realms, or
null
- getPermissionResolver() - Method in class org.apache.shiro.realm.AuthorizingRealm
- getPermissions() - Method in class org.apache.shiro.authz.SimpleRole
- getPermissions(Connection, String, Collection<String>) - Method in class org.apache.shiro.realm.jdbc.JdbcRealm
- getPermissions(AuthorizationInfo) - Method in class org.apache.shiro.realm.AuthorizingRealm
- getPermissionString() - Method in exception org.apache.shiro.authz.permission.InvalidPermissionStringException
Returns the permission string that was invalid and caused this exception to be thrown.- getPort() - Method in class org.apache.shiro.web.filter.authz.PortFilter
- getPreviousPrincipals() - Method in interface org.apache.shiro.subject.Subject
Returns the previous 'pre run as' identity of thisSubject
before assuming the currentrunAs
identity, ornull
if thisSubject
is not operating under an assumed identity (normal state).- getPreviousPrincipals() - Method in class org.apache.shiro.subject.support.DelegatingSubject
- getPrimaryPrincipal() - Method in interface org.apache.shiro.subject.PrincipalCollection
Returns the primary principal used application-wide to uniquely identify the owning account/Subject.- getPrimaryPrincipal() - Method in class org.apache.shiro.subject.SimplePrincipalCollection
Returns the first available principal from any of theRealm
principals, ornull
if there are no principals yet.- getPrimaryPrincipal() - Method in class org.apache.shiro.subject.SimplePrincipalMap
- getPrincipal() - Method in interface org.apache.shiro.authc.AuthenticationToken
Returns the account identity submitted during the authentication process.- getPrincipal() - Method in class org.apache.shiro.authc.BearerToken
- getPrincipal() - Method in class org.apache.shiro.authc.UsernamePasswordToken
Simply returnsgetUsername()
.- getPrincipal() - Method in class org.apache.shiro.cas.CasToken
Deprecated.- getPrincipal() - Method in interface org.apache.shiro.subject.Subject
Returns this Subject's application-wide uniquely identifying principal, ornull
if this Subject is anonymous because it doesn't yet have any associated account data (for example, if they haven't logged in).- getPrincipal() - Method in class org.apache.shiro.subject.support.DelegatingSubject
- getPrincipals() - Method in interface org.apache.shiro.authc.AuthenticationInfo
Returns all principals associated with the corresponding Subject.- getPrincipals() - Method in class org.apache.shiro.authc.SimpleAccount
Returns the principals, aka the identifying attributes (username, user id, first name, last name, etc) of this Account.- getPrincipals() - Method in class org.apache.shiro.authc.SimpleAuthenticationInfo
- getPrincipals() - Method in interface org.apache.shiro.subject.Subject
Returns this Subject's principals (identifying attributes) in the form of aPrincipalCollection
ornull
if this Subject is anonymous because it doesn't yet have any associated account data (for example, if they haven't logged in).- getPrincipals() - Method in interface org.apache.shiro.subject.SubjectContext
Returns the principals (aka identity) that the constructedSubject
should reflect.- getPrincipals() - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
- getPrincipals() - Method in class org.apache.shiro.subject.support.DelegatingSubject
- getPrincipalsAndCredentials(String, String) - Method in class org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
Returns the username and password pair based on the specifiedencoded
String obtained from the request's authorization header.- getPrincipalsAndCredentials(String, String) - Method in class org.apache.shiro.web.filter.authc.BearerHttpAuthenticationFilter
- getPrincipalsLazy(String) - Method in class org.apache.shiro.subject.SimplePrincipalCollection
- getPrivateSalt() - Method in class org.apache.shiro.crypto.hash.DefaultHashService
- getProperty() - Method in class org.apache.shiro.web.tags.PrincipalTag
- getPublicSalt(HashRequest) - Method in class org.apache.shiro.crypto.hash.DefaultHashService
Returns the public salt that should be used to compute a hash based on the specified request ornull
if no public salt should be used.- getQueryString() - Method in class org.apache.shiro.web.util.SavedRequest
- getRandom() - Method in class org.apache.shiro.session.mgt.eis.RandomSessionIdGenerator
- getRandomNumberGenerator() - Method in class org.apache.shiro.crypto.hash.DefaultHashService
- getRealmNames() - Method in interface org.apache.shiro.subject.PrincipalCollection
Returns the realm names that this collection has principals for.- getRealmNames() - Method in class org.apache.shiro.subject.SimplePrincipalCollection
- getRealmNames() - Method in class org.apache.shiro.subject.SimplePrincipalMap
- getRealmPrincipal(String, String) - Method in interface org.apache.shiro.subject.PrincipalMap
- getRealmPrincipal(String, String) - Method in class org.apache.shiro.subject.SimplePrincipalMap
- getRealmPrincipals(String) - Method in interface org.apache.shiro.subject.PrincipalMap
- getRealmPrincipals(String) - Method in class org.apache.shiro.subject.SimplePrincipalMap
- getRealms() - Method in class org.apache.shiro.authc.pam.ModularRealmAuthenticator
Returns the realm(s) used by thisAuthenticator
during an authentication attempt.- getRealms() - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
Returns the realms wrapped by thisAuthorizer
which are consulted during an authorization check.- getRealms() - Method in class org.apache.shiro.mgt.RealmSecurityManager
Returns theRealm
s managed by this SecurityManager instance.- getRealms() - Method in class org.apache.shiro.realm.jndi.JndiRealmFactory
Performs the JNDI lookups for each specifiedJNDI name
and returns all discovered Realms in an ordered collection.- getRealms() - Method in interface org.apache.shiro.realm.RealmFactory
Returns a collection ofRealm
instances that will be used to construct the application's SecurityManager instance.- getRedirectUrl() - Method in class org.apache.shiro.web.filter.authc.LogoutFilter
Returns the URL to where the user will be redirected after logout.- getRedirectUrl(ServletRequest, ServletResponse, Subject) - Method in class org.apache.shiro.web.filter.authc.LogoutFilter
Returns the redirect URL to send the user after logout.- getReferencedObject(String) - Method in class org.apache.shiro.config.ReflectionBuilder
- getReferral() - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
Returns the LDAP referral behavior when creating a connection.- getReflectionBuilder() - Method in class org.apache.shiro.config.IniSecurityManagerFactory
Deprecated.Returns the ReflectionBuilder instance used to create SecurityManagers object graph.- getRememberedIdentity(SubjectContext) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
- getRememberedPrincipals(SubjectContext) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
Implements the interface method by firstacquiring
the remembered serialized byte array.- getRememberedPrincipals(SubjectContext) - Method in interface org.apache.shiro.mgt.RememberMeManager
Based on the specified subject context map being used to build a Subject instance, returns any previously remembered principals for the subject for automatic identity association (aka 'Remember Me').- getRememberedSerializedIdentity(SubjectContext) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
Based on the given subject context data, retrieves the previously persisted serialized identity, ornull
if there is no available data.- getRememberedSerializedIdentity(SubjectContext) - Method in class org.apache.shiro.web.mgt.CookieRememberMeManager
Returns a previously serialized identity byte array ornull
if the byte array could not be acquired.- getRememberMeAttributeName() - Method in class org.apache.shiro.cas.CasRealm
Deprecated.- getRememberMeManager() - Method in class org.apache.shiro.mgt.DefaultSecurityManager
- getRememberMeParam() - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
- getRemoteUser() - Method in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
- getRequest() - Method in class org.apache.shiro.web.servlet.ShiroHttpServletResponse
- getRequest(Object) - Static method in class org.apache.shiro.web.util.WebUtils
- getRequestedSessionId() - Method in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
- getRequestUri(HttpServletRequest) - Static method in class org.apache.shiro.web.util.WebUtils
Deprecated.use getPathWithinApplication() to get the path minus the context path, or call HttpServletRequest.getRequestURI() directly from your code.- getRequestURI() - Method in class org.apache.shiro.web.util.SavedRequest
- getRequestUrl() - Method in class org.apache.shiro.web.util.SavedRequest
- getRequiredType() - Method in class org.apache.shiro.jndi.JndiObjectFactory
- getRequiredWebEnvironment(ServletContext) - Static method in class org.apache.shiro.web.util.WebUtils
Find the ShiroWebEnvironment
for this web application, which is typically loaded via theEnvironmentLoaderListener
.- getResolver() - Method in class org.apache.shiro.aop.AnnotationMethodInterceptor
Returns theAnnotationResolver
to use to acquire annotations from intercepted methods at runtime.- getResourceAsStream(String) - Static method in class org.apache.shiro.util.ClassUtils
Returns the specified resource by checking the current thread'scontext class loader
, then the current ClassLoader (ClassUtils.class.getClassLoader()
), then the system/application ClassLoader (ClassLoader.getSystemClassLoader()
, in that order, usinggetResourceAsStream(name)
.- getResourceName() - Method in class org.apache.shiro.jndi.JndiObjectFactory
- getResourcePath() - Method in class org.apache.shiro.realm.text.IniRealm
- getResources() - Static method in class org.apache.shiro.util.ThreadContext
Returns the ThreadLocal Map.- getResponse(Object) - Static method in class org.apache.shiro.web.util.WebUtils
- getRole(String) - Method in class org.apache.shiro.realm.SimpleAccountRealm
- getRoleAttributeNames() - Method in class org.apache.shiro.cas.CasRealm
Deprecated.- getRoleDefinitions() - Method in class org.apache.shiro.realm.text.TextConfigurationRealm
- getRolename(String) - Method in class org.apache.shiro.realm.text.PropertiesRealm
- getRoleNamesForGroups(Collection<String>) - Method in class org.apache.shiro.realm.activedirectory.ActiveDirectoryRealm
This method is called by the default implementation to translate Active Directory group names to role names.- getRoleNamesForUser(String, LdapContext) - Method in class org.apache.shiro.realm.activedirectory.ActiveDirectoryRealm
- getRoleNamesForUser(Connection, String) - Method in class org.apache.shiro.realm.jdbc.JdbcRealm
- getRolePermissionResolver() - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
Returns the RolePermissionResolver to be used on all configured realms, ornull
- getRolePermissionResolver() - Method in class org.apache.shiro.realm.AuthorizingRealm
- getRoles() - Method in class org.apache.shiro.authc.SimpleAccount
Returnsthis.authzInfo.getRoles();
- getRoles() - Method in interface org.apache.shiro.authz.AuthorizationInfo
Returns the names of all roles assigned to a corresponding Subject.- getRoles() - Method in class org.apache.shiro.authz.SimpleAuthorizationInfo
- getSalt() - Method in interface org.apache.shiro.crypto.hash.Hash
Returns a salt used to compute the hash ornull
if no salt was used.- getSalt() - Method in interface org.apache.shiro.crypto.hash.HashRequest
Returns a salt to be used by theHashService
during hash computation, ornull
if no salt is provided as part of the request.- getSalt() - Method in class org.apache.shiro.crypto.hash.SimpleHash
- getSalt() - Method in class org.apache.shiro.crypto.hash.SimpleHashRequest
- getSalt(AuthenticationToken) - Method in class org.apache.shiro.authc.credential.HashedCredentialsMatcher
Deprecated.since Shiro 1.1. Hash salting is now expected to be based on if theAuthenticationInfo
returned from theRealm
is aSaltedAuthenticationInfo
instance and itsgetCredentialsSalt()
method returns a non-null value. This method and the 1.0 behavior still exists for backwards compatibility if theRealm
does not returnSaltedAuthenticationInfo
instances, but it is highly recommended thatRealm
implementations that support hashed credentials start returningSaltedAuthenticationInfo
instances as soon as possible. This is because salts should always be obtained from the stored account information and never be interpreted based on user/Subject-entered data. User-entered data is easier to compromise for attackers, whereas account-unique (and secure randomly-generated) salts never disseminated to the end-user are almost impossible to break. This method will be removed in Shiro 2.0.- getSaltForUser(String) - Method in class org.apache.shiro.realm.jdbc.JdbcRealm
- getSameSite() - Method in interface org.apache.shiro.web.servlet.Cookie
- getSameSite() - Method in class org.apache.shiro.web.servlet.SimpleCookie
- getSavedRequest(ServletRequest) - Static method in class org.apache.shiro.web.util.WebUtils
- getScheduler() - Method in class org.apache.shiro.session.mgt.quartz.QuartzSessionValidationScheduler
- getScheme(String, int) - Method in class org.apache.shiro.web.filter.authz.PortFilter
- getScheme(String, int) - Method in class org.apache.shiro.web.filter.authz.SslFilter
- getSearchPackages() - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
Returns a set of package names that can be searched forHashFormat
implementations according to heuristics defined in thegetHashFormat(packageName, token)
JavaDoc.- getSection(String) - Method in class org.apache.shiro.config.Ini
Returns theIni.Section
with the given name ornull
if no section with that name exists.- getSectionName(String) - Static method in class org.apache.shiro.config.Ini
- getSectionNames() - Method in class org.apache.shiro.config.Ini
Returns the names of all sections managed by thisIni
instance or an empty collection if there are no sections.- getSectionProperty(String, String) - Method in class org.apache.shiro.config.Ini
Returns the value of the specified section property, ornull
if the section or property do not exist.- getSectionProperty(String, String, String) - Method in class org.apache.shiro.config.Ini
Returns the value of the specified section property, or thedefaultValue
if the section or property do not exist.- getSections() - Method in class org.apache.shiro.config.Ini
Returns the sections managed by thisIni
instance or an empty collection if there are no sections.- getSecureRandom() - Method in class org.apache.shiro.crypto.JcaCipherService
Returns a source of randomness for encryption operations.- getSecureRandom() - Method in class org.apache.shiro.crypto.SecureRandomNumberGenerator
Returns theSecureRandom
backing this instance.- getSecurityManager() - Method in class org.apache.shiro.env.DefaultEnvironment
Returns the application'sSecurityManager
instance accessible in the backing map using thesecurityManagerName
property as the lookup key.- getSecurityManager() - Method in interface org.apache.shiro.env.Environment
Returns the application'sSecurityManager
instance.- getSecurityManager() - Static method in class org.apache.shiro.SecurityUtils
Returns the SecurityManager accessible to the calling code.- getSecurityManager() - Method in class org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor
- getSecurityManager() - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
Gets the applicationSecurityManager
instance to be used by the constructed Shiro Filter.- getSecurityManager() - Method in interface org.apache.shiro.subject.SubjectContext
Returns the SecurityManager instance that should be used to back the constructedSubject
instance ornull
if one has not yet been provided to this context.- getSecurityManager() - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
- getSecurityManager() - Method in class org.apache.shiro.subject.support.DelegatingSubject
- getSecurityManager() - Static method in class org.apache.shiro.util.ThreadContext
Convenience method that simplifies retrieval of the application's SecurityManager instance from the current thread.- getSecurityManager() - Method in class org.apache.shiro.web.env.DefaultWebEnvironment
- getSecurityManager() - Method in class org.apache.shiro.web.servlet.AbstractShiroFilter
- getSecurityManagerFactory() - Method in class org.apache.shiro.web.env.IniWebEnvironment
Returns the SecurityManager factory used by this WebEnvironment.- getSecurityManagerName() - Method in class org.apache.shiro.env.DefaultEnvironment
Returns the name of theSecurityManager
instance in the backing map.- getSerializer() - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
Returns theSerializer
used to serialize and deserializePrincipalCollection
instances for persistent remember me storage.- getServletContext() - Method in class org.apache.shiro.web.env.DefaultWebEnvironment
- getServletContext() - Method in interface org.apache.shiro.web.env.WebEnvironment
Returns theServletContext
associated with thisWebEnvironment
instance.- getServletContext() - Method in class org.apache.shiro.web.servlet.ServletContextSupport
- getServletContext() - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
- getServletContextIniResource(String) - Method in class org.apache.shiro.web.servlet.IniShiroFilter
Deprecated.Returns the INI instance reflecting the specified servlet context resource path ornull
if no resource was found.- getServletRequest() - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionContext
- getServletRequest() - Method in interface org.apache.shiro.web.session.mgt.WebSessionContext
Returns theServletRequest
received by the servlet container triggering the creation of theSession
instance.- getServletRequest() - Method in class org.apache.shiro.web.session.mgt.WebSessionKey
- getServletRequest() - Method in class org.apache.shiro.web.subject.support.DefaultWebSubjectContext
- getServletRequest() - Method in class org.apache.shiro.web.subject.support.WebDelegatingSubject
- getServletRequest() - Method in interface org.apache.shiro.web.subject.WebSubject
Returns theServletRequest
accessible when the Subject instance was created.- getServletRequest() - Method in interface org.apache.shiro.web.subject.WebSubjectContext
Returns theServletRequest
received by the servlet container triggering the creation of theSubject
instance.- getServletRequest() - Method in interface org.apache.shiro.web.util.RequestPairSource
Returns the incomingServletRequest
associated with the component.- getServletResponse() - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionContext
- getServletResponse() - Method in interface org.apache.shiro.web.session.mgt.WebSessionContext
The pairedServletResponse
corresponding to the associatedservletRequest
.- getServletResponse() - Method in class org.apache.shiro.web.session.mgt.WebSessionKey
- getServletResponse() - Method in class org.apache.shiro.web.subject.support.DefaultWebSubjectContext
- getServletResponse() - Method in class org.apache.shiro.web.subject.support.WebDelegatingSubject
- getServletResponse() - Method in interface org.apache.shiro.web.subject.WebSubject
Returns theServletResponse
accessible when the Subject instance was created.- getServletResponse() - Method in interface org.apache.shiro.web.subject.WebSubjectContext
The pairedServletResponse
corresponding to the associatedservletRequest
.- getServletResponse() - Method in interface org.apache.shiro.web.util.RequestPairSource
Returns the outgoingServletResponse
paired with the incomingservletRequest
.- getSession() - Method in interface org.apache.shiro.subject.Subject
Returns the applicationSession
associated with this Subject.- getSession() - Method in interface org.apache.shiro.subject.SubjectContext
Returns theSession
to use when building theSubject
instance.- getSession() - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
- getSession() - Method in class org.apache.shiro.subject.support.DelegatingSubject
- getSession() - Method in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
- getSession() - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
- getSession(boolean) - Method in interface org.apache.shiro.subject.Subject
Returns the applicationSession
associated with this Subject.- getSession(boolean) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- getSession(boolean) - Method in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
- getSession(SessionKey) - Method in class org.apache.shiro.mgt.SessionsSecurityManager
- getSession(SessionKey) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
- getSession(SessionKey) - Method in interface org.apache.shiro.session.mgt.SessionManager
Retrieves the session corresponding to the specified contextual data (such as a session ID if applicable), ornull
if no Session could be found.- getSession(SessionKey) - Method in class org.apache.shiro.web.session.mgt.ServletContainerSessionManager
- getSessionContext() - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
- getSessionDAO() - Method in class org.apache.shiro.session.mgt.DefaultSessionManager
- getSessionFactory() - Method in class org.apache.shiro.session.mgt.DefaultSessionManager
Returns theSessionFactory
used to generate newSession
instances.- getSessionId() - Method in class org.apache.shiro.session.mgt.DefaultSessionContext
- getSessionId() - Method in class org.apache.shiro.session.mgt.DefaultSessionKey
- getSessionId() - Method in interface org.apache.shiro.session.mgt.SessionContext
- getSessionId() - Method in interface org.apache.shiro.session.mgt.SessionKey
Returns the id of the session to acquire.- getSessionId() - Method in interface org.apache.shiro.subject.SubjectContext
Returns the session id of the session that should be associated with the constructedSubject
instance.- getSessionId() - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
- getSessionId(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionManager
- getSessionId(SessionKey) - Method in class org.apache.shiro.session.mgt.DefaultSessionManager
- getSessionId(SessionKey) - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionManager
- getSessionIdCookie() - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionManager
- getSessionIdGenerator() - Method in class org.apache.shiro.session.mgt.eis.AbstractSessionDAO
Returns theSessionIdGenerator
used by theAbstractSessionDAO.generateSessionId(org.apache.shiro.session.Session)
method.- getSessionKey(SubjectContext) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
- getSessionKey(SubjectContext) - Method in class org.apache.shiro.web.mgt.DefaultWebSecurityManager
- getSessionListeners() - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
- getSessionManager() - Method in class org.apache.shiro.mgt.SessionsSecurityManager
Returns this security manager's internal delegateSessionManager
.- getSessionManager() - Method in class org.apache.shiro.session.mgt.ExecutorServiceSessionValidationScheduler
- getSessionMode() - Method in class org.apache.shiro.web.mgt.DefaultWebSecurityManager
Deprecated.- getSessionStorageEvaluator() - Method in class org.apache.shiro.mgt.DefaultSubjectDAO
Returns theSessionStorageEvaluator
that will determine if aSubject
's state may be persisted in the Subject's session.- getSessionValidationInterval() - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
- getSessionValidationScheduler() - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
- getShiroFilterConfiguration() - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
Gets the applicationShiroFilterConfiguration
instance to be used by the constructed Shiro Filter.- getShiroFilterConfiguration() - Method in class org.apache.shiro.web.env.DefaultWebEnvironment
- getShiroFilterConfiguration() - Method in interface org.apache.shiro.web.env.WebEnvironment
Returns the configuration object used to configure the ShiroFilter.- getSource() - Method in interface org.apache.shiro.crypto.hash.HashRequest
Returns the source data that will be hashed by aHashService
.- getSource() - Method in class org.apache.shiro.crypto.hash.SimpleHashRequest
- getSpecifiedIni(String[]) - Method in class org.apache.shiro.web.env.IniWebEnvironment
- getStartTimestamp() - Method in class org.apache.shiro.session.mgt.DelegatingSession
- getStartTimestamp() - Method in class org.apache.shiro.session.mgt.SimpleSession
- getStartTimestamp() - Method in class org.apache.shiro.session.ProxiedSession
Immediately delegates to the underlying proxied session.- getStartTimestamp() - Method in interface org.apache.shiro.session.Session
Returns the time the session was started; that is, the time the system created the instance.- getStartTimestamp() - Method in class org.apache.shiro.web.session.HttpServletSession
- getStartTimestamp(SessionKey) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
- getStartTimestamp(SessionKey) - Method in interface org.apache.shiro.session.mgt.NativeSessionManager
Returns the time the associatedSession
started (was created).- getStopAfterFirstSuccess() - Method in class org.apache.shiro.authc.pam.FirstSuccessfulStrategy
- getStopTimestamp() - Method in class org.apache.shiro.session.mgt.SimpleSession
Returns the time the session was stopped, or null if the session is still active.- getStoredPassword(AuthenticationInfo) - Method in class org.apache.shiro.authc.credential.PasswordMatcher
- getStreamingBlockSize() - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
- getStreamingBufferSize() - Method in class org.apache.shiro.crypto.JcaCipherService
Returns the size in bytes of the internal buffer used to transfer data from one stream to another during stream operations (JcaCipherService.encrypt(java.io.InputStream, java.io.OutputStream, byte[])
andJcaCipherService.decrypt(java.io.InputStream, java.io.OutputStream, byte[])
).- getStreamingModeName() - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
Same purpose as themodeName
attribute, but is used instead only for for streaming operations (JcaCipherService.encrypt(java.io.InputStream, java.io.OutputStream, byte[])
andJcaCipherService.decrypt(java.io.InputStream, java.io.OutputStream, byte[])
).- getStreamingPaddingSchemeName() - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
- getStringPermissions() - Method in class org.apache.shiro.authc.SimpleAccount
Returns all String-based permissions assigned to this Account.- getStringPermissions() - Method in interface org.apache.shiro.authz.AuthorizationInfo
Returns all string-based permissions assigned to the corresponding Subject.- getStringPermissions() - Method in class org.apache.shiro.authz.SimpleAuthorizationInfo
- getSubject() - Method in class org.apache.shiro.aop.AnnotationHandler
Returns theSubject
associated with the currently-executing code.- getSubject() - Method in class org.apache.shiro.aop.MethodInterceptorSupport
Returns theSubject
associated with the currently-executing code.- getSubject() - Method in class org.apache.shiro.concurrent.SubjectAwareExecutor
Returns the currently Subject instance that should be associated with Runnable or Callable instances before being dispatched to the targetExecutor
instance.- getSubject() - Static method in class org.apache.shiro.SecurityUtils
Returns the currently accessibleSubject
available to the calling code depending on runtime environment.- getSubject() - Method in interface org.apache.shiro.subject.SubjectContext
Returns any existingSubject
that may be in use at the time the newSubject
instance is being created.- getSubject() - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
- getSubject() - Method in class org.apache.shiro.subject.support.SubjectThreadState
Returns theSubject
instance managed by thisThreadState
implementation.- getSubject() - Static method in class org.apache.shiro.util.ThreadContext
Convenience method that simplifies retrieval of a thread-bound Subject.- getSubject() - Method in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
- getSubject() - Method in class org.apache.shiro.web.tags.SecureTag
- getSubject(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.AccessControlFilter
Convenience method that acquires the Subject associated with the request.- getSubject(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.LogoutFilter
Returns the currently executingSubject
.- getSubjectContext() - Method in class org.apache.shiro.subject.Subject.Builder
Returns the backing context used to build theSubject
instance, available to subclasses since thecontext
class attribute is marked asprivate
.- getSubjectDAO() - Method in class org.apache.shiro.mgt.DefaultSecurityManager
Returns theSubjectDAO
responsible for persisting Subject state, typically used after login or when an Subject identity is discovered (eg after RememberMe services).- getSubjectFactory() - Method in class org.apache.shiro.mgt.DefaultSecurityManager
Returns theSubjectFactory
responsible for creatingSubject
instances exposed to the application.- getSubjectPrincipal() - Method in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
- getSubmittedPassword(AuthenticationToken) - Method in class org.apache.shiro.authc.credential.PasswordMatcher
- getSuccessUrl() - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
Returns the application's after-login success URL to be assigned to all acquired Filters that subclassAuthenticationFilter
ornull
if no value should be assigned globally.- getSuccessUrl() - Method in class org.apache.shiro.web.filter.authc.AuthenticationFilter
Returns the success url to use as the default location a user is sent after logging in.- getSystemLdapContext() - Method in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
Deprecated.- getSystemLdapContext() - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
This implementation delegates toJndiLdapContextFactory.getLdapContext(Object, Object)
using thesystemUsername
andsystemPassword
properties as arguments.- getSystemLdapContext() - Method in interface org.apache.shiro.realm.ldap.LdapContextFactory
Creates (or retrieves from a pool) aLdapContext
connection bound using the system account, or anonymously if no system account is configured.- getSystemPassword() - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
Returns the password of thesystemUsername
that will be used when creating an LDAP connection used for authorization queries.- getSystemUsername() - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
Returns the system username that will be used when creating an LDAP connection used for authorization queries.- getTarget() - Method in class org.apache.shiro.event.support.SingleArgumentMethodEventListener
- getTargetExecutor() - Method in class org.apache.shiro.concurrent.SubjectAwareExecutor
Returns the target Executor instance that will actually execute the subject-associated Runnable instances.- getTargetExecutorService() - Method in class org.apache.shiro.concurrent.SubjectAwareExecutorService
- getTargets() - Method in class org.apache.shiro.authz.permission.DomainPermission
- getTargetScheduledExecutorService() - Method in class org.apache.shiro.concurrent.SubjectAwareScheduledExecutorService
- getThis() - Method in interface org.apache.shiro.aop.MethodInvocation
Returns the object that holds the current joinpoint's static part.- getThis() - Method in class org.apache.shiro.aspectj.BeforeAdviceMethodInvocationAdapter
- getThreadNamePrefix() - Method in class org.apache.shiro.session.mgt.ExecutorServiceSessionValidationScheduler
- getTimeout() - Method in class org.apache.shiro.session.mgt.DelegatingSession
- getTimeout() - Method in class org.apache.shiro.session.mgt.SimpleSession
- getTimeout() - Method in class org.apache.shiro.session.ProxiedSession
Immediately delegates to the underlying proxied session.- getTimeout() - Method in interface org.apache.shiro.session.Session
Returns the time in milliseconds that the session session may remain idle before expiring.- getTimeout() - Method in class org.apache.shiro.web.session.HttpServletSession
- getTimeout(SessionKey) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
- getTimeout(SessionKey) - Method in interface org.apache.shiro.session.mgt.NativeSessionManager
Returns the time in milliseconds that the associated session may remain idle before expiring.- getTimeout(Session) - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
Subclass template hook in case per-session timeout is not based onSession.getTimeout()
.- getTimestamp() - Method in class org.apache.shiro.event.Event
Returns the timestamp when this event occurred as the number of milliseconds since Epoch (UTC time zone).- getTlsBaseUri() - Static method in class org.apache.shiro.testing.web.AbstractContainerIT
- getToken() - Method in class org.apache.shiro.authc.BearerToken
- getTransformationName() - Method in enum org.apache.shiro.crypto.PaddingScheme
Returns the actual string name to use when building theCipher
transformation string
.- getTransformationString(boolean) - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
Returns the transformation string to use with theCipher.getInstance(java.lang.String)
call.- getTransformationString(boolean) - Method in class org.apache.shiro.crypto.JcaCipherService
Returns the transformation string to use with theCipher.getInstance(java.lang.String)
invocation when creating a newCipher
instance.- getType() - Method in class org.apache.shiro.web.tags.PrincipalTag
- getTypedValue(String, Class<E>) - Method in class org.apache.shiro.util.MapContext
Performs aget
operation but additionally ensures that the value returned is of the specifiedtype
.- getUnauthorizedUrl() - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
Returns the application's after-login success URL to be assigned to all acquired Filters that subclassAuthenticationFilter
ornull
if no value should be assigned globally.- getUnauthorizedUrl() - Method in class org.apache.shiro.web.filter.authz.AuthorizationFilter
Returns the URL to which users should be redirected if they are denied access to an underlying path or resource, ornull
if a rawHttpServletResponse.SC_UNAUTHORIZED
response should be issued (401 Unauthorized).- getUrl() - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
Returns the LDAP url to connect to.- getUrl() - Method in class org.apache.shiro.web.util.RedirectView
- getUser(String) - Method in class org.apache.shiro.realm.SimpleAccountRealm
- getUserDefinitions() - Method in class org.apache.shiro.realm.text.TextConfigurationRealm
- getUserDn(String) - Method in class org.apache.shiro.realm.ldap.DefaultLdapRealm
Returns the LDAP User Distinguished Name (DN) to use when acquiring anLdapContext
from theLdapContextFactory
.- getUserDnPrefix() - Method in class org.apache.shiro.realm.ldap.DefaultLdapRealm
Returns the User DN prefix to use when building a runtime User DN value ornull
if nouserDnTemplate
has been configured.- getUserDnSuffix() - Method in class org.apache.shiro.realm.ldap.DefaultLdapRealm
Returns the User DN suffix to use when building a runtime User DN value.- getUserDnTemplate() - Method in class org.apache.shiro.realm.ldap.DefaultLdapRealm
Returns the User Distinguished Name (DN) template to use when creating User DNs at runtime - see thesetUserDnTemplate
JavaDoc for a full explanation.- getUsername() - Method in class org.apache.shiro.authc.UsernamePasswordToken
Returns the username submitted during an authentication attempt.- getUsername(String) - Method in class org.apache.shiro.realm.text.PropertiesRealm
- getUsername(ServletRequest) - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
- getUsername(SimpleAccount) - Method in class org.apache.shiro.realm.SimpleAccountRealm
- getUsername(PrincipalCollection) - Method in class org.apache.shiro.realm.SimpleAccountRealm
- getUsernameParam() - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
- getUserPrincipal() - Method in class org.apache.shiro.web.jaxrs.ShiroSecurityContext
- getUserPrincipal() - Method in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
- getValidationProtocol() - Method in class org.apache.shiro.cas.CasRealm
Deprecated.- getValue() - Method in interface org.apache.shiro.web.servlet.Cookie
- getValue() - Method in class org.apache.shiro.web.servlet.SimpleCookie
- getValue(String) - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
- getValueNames() - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
- getVersion() - Static method in class org.apache.shiro.util.JavaEnvironment
Deprecated.Return the full Java version string, as returned bySystem.getProperty("java.version")
.- getVersion() - Method in interface org.apache.shiro.web.servlet.Cookie
- getVersion() - Method in class org.apache.shiro.web.servlet.SimpleCookie
- getWarDir() - Static method in class org.apache.shiro.testing.web.AbstractContainerIT
- getWebEnvironment(ServletContext) - Static method in class org.apache.shiro.web.util.WebUtils
Find the ShiroWebEnvironment
for this web application, which is typically loaded viaEnvironmentLoaderListener
.- getWebEnvironment(ServletContext, String) - Static method in class org.apache.shiro.web.util.WebUtils
Find the ShiroWebEnvironment
for this web application.- getWebSecurityManager() - Method in class org.apache.shiro.web.env.DefaultWebEnvironment
- getWebSecurityManager() - Method in interface org.apache.shiro.web.env.WebEnvironment
Returns the web application's security manager instance.- globalFilters() - Method in class org.apache.shiro.guice.web.ShiroWebModule
- globalFilters() - Method in class org.apache.shiro.spring.config.web.autoconfigure.ShiroWebFilterConfiguration
- globalFilters() - Method in class org.apache.shiro.spring.web.config.AbstractShiroWebFilterConfiguration
- globalFilters() - Method in class org.apache.shiro.spring.web.config.ShiroWebFilterConfiguration
- GMT_TIME_ZONE_ID - Static variable in class org.apache.shiro.web.servlet.SimpleCookie
- GuestAnnotationHandler - Class in org.apache.shiro.authz.aop
Checks to see if a @RequiresGuest
annotation is declared, and if so, ensures the callingSubject
does not have anidentity
before invoking the method.- GuestAnnotationHandler() - Constructor for class org.apache.shiro.authz.aop.GuestAnnotationHandler
Default no-argument constructor that ensures this interceptor looks forRequiresGuest
annotations in a method declaration.- GuestAnnotationMethodInterceptor - Class in org.apache.shiro.authz.aop
Checks to see if a @RequiresGuest
annotation is declared, and if so, ensures the callingSubject
does not have anidentity
before invoking the method.- GuestAnnotationMethodInterceptor() - Constructor for class org.apache.shiro.authz.aop.GuestAnnotationMethodInterceptor
Default no-argument constructor that ensures this interceptor looks forRequiresGuest
annotations in a method declaration.- GuestAnnotationMethodInterceptor(AnnotationResolver) - Constructor for class org.apache.shiro.authz.aop.GuestAnnotationMethodInterceptor
- GuestTag - Class in org.apache.shiro.web.tags
JSP tag that renders the tag body if the current user is not known to the system, either because they haven't logged in yet, or because they have no 'RememberMe' identity.- GuestTag() - Constructor for class org.apache.shiro.web.tags.GuestTag
- guiceFilterModule() - Static method in class org.apache.shiro.guice.web.ShiroWebModule
- guiceFilterModule(String) - Static method in class org.apache.shiro.guice.web.ShiroWebModule
- GuiceShiroFilter - Class in org.apache.shiro.guice.web
Shiro filter that is managed by and receives its filter chain configurations from Guice.H
- H64 - Class in org.apache.shiro.codec
-
Codec for Unix Crypt-style encoding.
- H64() - Constructor for class org.apache.shiro.codec.H64
- handleException(AuthorizationException, Model) - Method in class org.apache.shiro.samples.WebApp
- hasAllRoles(Collection<String>) - Method in interface org.apache.shiro.subject.Subject
-
Returns
true
if this Subject has all of the specified roles,false
otherwise. - hasAllRoles(Collection<String>) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- hasAllRoles(PrincipalCollection, Collection<String>) - Method in interface org.apache.shiro.authz.Authorizer
-
Returns true if the corresponding Subject/user has all of the specified roles, false otherwise.
- hasAllRoles(PrincipalCollection, Collection<String>) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
Returns
true
iff any of the configured realms'ModularRealmAuthorizer.hasRole(org.apache.shiro.subject.PrincipalCollection, String)
call returnstrue
for all roles specified,false
otherwise. - hasAllRoles(PrincipalCollection, Collection<String>) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
- hasAllRoles(PrincipalCollection, Collection<String>) - Method in class org.apache.shiro.realm.AuthorizingRealm
- HasAnyRolesTag - Class in org.apache.shiro.web.tags
-
Displays body content if the current user has any of the roles specified.
- HasAnyRolesTag() - Constructor for class org.apache.shiro.web.tags.HasAnyRolesTag
- hasChains() - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
- hasChains() - Method in interface org.apache.shiro.web.filter.mgt.FilterChainManager
-
Returns
true
if one or more configured chains are available,false
if none are configured. - hash(byte[]) - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Hashes the specified byte array without a salt for a single iteration.
- hash(byte[]) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Hashes the specified byte array without a salt for a single iteration.
- hash(byte[], byte[]) - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Hashes the specified byte array using the given
salt
for a single iteration. - hash(byte[], byte[]) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Hashes the specified byte array using the given
salt
for a single iteration. - hash(byte[], byte[], int) - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Hashes the specified byte array using the given
salt
for the specified number of iterations. - hash(byte[], byte[], int) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Hashes the specified byte array using the given
salt
for the specified number of iterations. - Hash - Interface in org.apache.shiro.crypto.hash
-
A Cryptographic
Hash
represents a one-way conversion algorithm that transforms an input source to an underlying byte array. - hashCode() - Method in class org.apache.shiro.authc.SimpleAccount
-
If the
principals
are not null, returnsprincipals.hashCode()
, otherwise returns 0 (zero). - hashCode() - Method in class org.apache.shiro.authc.SimpleAuthenticationInfo
-
Returns the hashcode of the internal
principals
instance. - hashCode() - Method in class org.apache.shiro.authz.permission.WildcardPermission
- hashCode() - Method in class org.apache.shiro.authz.SimpleRole
- hashCode() - Method in class org.apache.shiro.config.Ini
- hashCode() - Method in class org.apache.shiro.config.Ini.Section
- hashCode() - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Simply returns toHex().hashCode();
- hashCode() - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Simply returns toHex().hashCode();
- hashCode() - Method in class org.apache.shiro.session.mgt.SimpleSession
-
Returns the hashCode.
- hashCode() - Method in class org.apache.shiro.subject.SimplePrincipalCollection
- hashCode() - Method in class org.apache.shiro.util.SimpleByteSource
- HashedCredentialsMatcher - Class in org.apache.shiro.authc.credential
-
A
HashedCredentialMatcher
provides support for hashing of suppliedAuthenticationToken
credentials before being compared to those in theAuthenticationInfo
from the data store. - HashedCredentialsMatcher() - Constructor for class org.apache.shiro.authc.credential.HashedCredentialsMatcher
-
JavaBeans-compatible no-arg constructor intended for use in IoC/Dependency Injection environments.
- HashedCredentialsMatcher(String) - Constructor for class org.apache.shiro.authc.credential.HashedCredentialsMatcher
-
Creates an instance using the specified
hashAlgorithmName
to hash submitted credentials. - Hasher - Class in org.apache.shiro.tools.hasher
-
Commandline line utility to hash data such as strings, passwords, resources (files, urls, etc).
- Hasher() - Constructor for class org.apache.shiro.tools.hasher.Hasher
- HashFormat - Interface in org.apache.shiro.crypto.hash.format
-
A
HashFormat
is able to format aHash
instance into a well-defined formatted String. - HashFormatFactory - Interface in org.apache.shiro.crypto.hash.format
- HashingPasswordService - Interface in org.apache.shiro.authc.credential
-
A
HashingPasswordService
is aPasswordService
that performs password encryption and comparisons based on cryptographicHash
es. - hashPassword(Object) - Method in class org.apache.shiro.authc.credential.DefaultPasswordService
- hashPassword(Object) - Method in interface org.apache.shiro.authc.credential.HashingPasswordService
-
Hashes the specified plaintext password using internal hashing configuration settings pertinent to password hashing.
- hashProvidedCredentials(Object, Object, int) - Method in class org.apache.shiro.authc.credential.HashedCredentialsMatcher
-
Hashes the provided credentials a total of
hashIterations
times, using the given salt. - hashProvidedCredentials(AuthenticationToken, AuthenticationInfo) - Method in class org.apache.shiro.authc.credential.HashedCredentialsMatcher
-
Hash the provided
token
's credentials using the salt stored with the account if theinfo
instance is aninstanceof
SaltedAuthenticationInfo
(see the class-level JavaDoc for why this is the preferred approach). - HashRequest - Interface in org.apache.shiro.crypto.hash
-
A
HashRequest
is composed of data that will be used by aHashService
to compute a hash (aka 'digest'). - HashRequest.Builder - Class in org.apache.shiro.crypto.hash
-
A Builder class representing the Builder design pattern for constructing
HashRequest
instances. - HashService - Interface in org.apache.shiro.crypto.hash
-
A
HashService
hashes input sources utilizing a particular hashing strategy. - hasLength(String) - Static method in class org.apache.shiro.util.Assert
-
Assert that the given String is not empty; that is, it must not be
null
and not the empty String. - hasLength(String) - Static method in class org.apache.shiro.util.StringUtils
-
Check that the given String is neither
null
nor of length 0. - hasLength(String, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that the given String is not empty; that is, it must not be
null
and not the empty String. - HasPermissionTag - Class in org.apache.shiro.web.tags
- HasPermissionTag() - Constructor for class org.apache.shiro.web.tags.HasPermissionTag
- hasPrincipals() - Method in class org.apache.shiro.subject.support.DelegatingSubject
- hasResourcePrefix(String) - Static method in class org.apache.shiro.io.ResourceUtils
-
Returns
true
if the resource path is not null and starts with one of the recognized resource prefixes (CLASSPATH_PREFIX
,URL_PREFIX
, orFILE_PREFIX
),false
otherwise. - hasRole(String) - Method in interface org.apache.shiro.subject.Subject
-
Returns
true
if this Subject has the specified role,false
otherwise. - hasRole(String) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- hasRole(String, AuthorizationInfo) - Method in class org.apache.shiro.realm.AuthorizingRealm
- hasRole(PrincipalCollection, String) - Method in interface org.apache.shiro.authz.Authorizer
-
Returns true if the corresponding Subject/user has the specified role, false otherwise.
- hasRole(PrincipalCollection, String) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
Returns
true
if any of the configured realms'ModularRealmAuthorizer.hasRole(org.apache.shiro.subject.PrincipalCollection, String)
call returnstrue
,false
otherwise. - hasRole(PrincipalCollection, String) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
- hasRole(PrincipalCollection, String) - Method in class org.apache.shiro.realm.AuthorizingRealm
- hasRoles(List<String>) - Method in interface org.apache.shiro.subject.Subject
-
Checks if this Subject has the specified roles, returning a boolean array indicating which roles are associated.
- hasRoles(List<String>) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- hasRoles(List<String>, AuthorizationInfo) - Method in class org.apache.shiro.realm.AuthorizingRealm
- hasRoles(PrincipalCollection, List<String>) - Method in interface org.apache.shiro.authz.Authorizer
-
Checks if the corresponding Subject/user has the specified roles, returning a boolean array indicating which roles are associated with the given subject.
- hasRoles(PrincipalCollection, List<String>) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
Calls
ModularRealmAuthorizer.hasRole(org.apache.shiro.subject.PrincipalCollection, String)
for each role name in the specified collection and places the return value from each call at the respective location in the returned array. - hasRoles(PrincipalCollection, List<String>) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
- hasRoles(PrincipalCollection, List<String>) - Method in class org.apache.shiro.realm.AuthorizingRealm
- HasRoleTag - Class in org.apache.shiro.web.tags
- HasRoleTag() - Constructor for class org.apache.shiro.web.tags.HasRoleTag
- hasText(String) - Static method in class org.apache.shiro.util.Assert
-
Assert that the given String has valid text content; that is, it must not be
null
and must contain at least one non-whitespace character. - hasText(String) - Static method in class org.apache.shiro.util.StringUtils
-
Check whether the given String has actual text.
- hasText(String, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that the given String has valid text content; that is, it must not be
null
and must contain at least one non-whitespace character. - HazelcastCacheManager - Class in org.apache.shiro.hazelcast.cache
-
A
CacheManager
implementation backed by Hazelcast, "an open source clustering and highly scalable data distribution platform for Java" - HazelcastCacheManager() - Constructor for class org.apache.shiro.hazelcast.cache.HazelcastCacheManager
- HelloController - Class in org.apache.shiro.samples
- HelloController() - Constructor for class org.apache.shiro.samples.HelloController
- Hex - Class in org.apache.shiro.codec
-
Hexadecimal encoder and decoder.
- Hex() - Constructor for class org.apache.shiro.codec.Hex
- HEX - org.apache.shiro.crypto.hash.format.ProvidedHashFormat
-
Value representing the
HexFormat
implementation. - HexFormat - Class in org.apache.shiro.crypto.hash.format
-
HashFormat
that outputs only The hash's digest bytes in hex format. - HexFormat() - Constructor for class org.apache.shiro.crypto.hash.format.HexFormat
- home(HttpServletRequest, Model) - Method in class org.apache.shiro.samples.HelloController
- home(Model) - Method in class org.apache.shiro.samples.AccountInfoController
- host - Variable in class org.apache.shiro.subject.support.DelegatingSubject
- host(String) - Method in class org.apache.shiro.subject.Subject.Builder
-
Ensures the
Subject
being built will reflect the specified host name or IP as its originating location. - HOST_KEY - Static variable in class org.apache.shiro.spring.remoting.SecureRemoteInvocationFactory
- HostAuthenticationToken - Interface in org.apache.shiro.authc
-
A
HostAuthenticationToken
retains the host information from where an authentication attempt originates. - HostFilter - Class in org.apache.shiro.web.filter.authz
-
A Filter that can allow or deny access based on the host that sent the request.
- HostFilter() - Constructor for class org.apache.shiro.web.filter.authz.HostFilter
- HostUnauthorizedException - Exception in org.apache.shiro.authz
-
Thrown when a particular client (that is, host address) has not been enabled to access the system or if the client has been enabled access but is not permitted to perform a particular operation or access a particular resource.
- HostUnauthorizedException() - Constructor for exception org.apache.shiro.authz.HostUnauthorizedException
-
Creates a new HostUnauthorizedException.
- HostUnauthorizedException(String) - Constructor for exception org.apache.shiro.authz.HostUnauthorizedException
-
Constructs a new HostUnauthorizedException.
- HostUnauthorizedException(String, Throwable) - Constructor for exception org.apache.shiro.authz.HostUnauthorizedException
-
Constructs a new HostUnauthorizedException.
- HostUnauthorizedException(Throwable) - Constructor for exception org.apache.shiro.authz.HostUnauthorizedException
-
Constructs a new HostUnauthorizedException.
- HSTS() - Constructor for class org.apache.shiro.web.filter.authz.SslFilter.HSTS
- HTTP_HEADER - Static variable in class org.apache.shiro.web.filter.authz.SslFilter.HSTS
- HTTP_ONLY_ATTRIBUTE_NAME - Static variable in class org.apache.shiro.web.servlet.SimpleCookie
- HTTP_SCHEME - Static variable in class org.apache.shiro.web.filter.authz.PortFilter
- HTTP_SESSION_MODE - Static variable in class org.apache.shiro.web.mgt.DefaultWebSecurityManager
-
Deprecated.
- HttpMethodPermissionFilter - Class in org.apache.shiro.web.filter.authz
-
A filter that translates an HTTP Request's Method (eg GET, POST, etc) into an corresponding action (verb) and uses that verb to construct a permission that will be checked to determine access.
- HttpMethodPermissionFilter() - Constructor for class org.apache.shiro.web.filter.authz.HttpMethodPermissionFilter
-
Creates the filter instance with default method-to-action values in the instance's
http method actions map
. - HTTPS_SCHEME - Static variable in class org.apache.shiro.web.filter.authz.SslFilter
- HttpServletSession - Class in org.apache.shiro.web.session
-
Session
implementation that is backed entirely by a standard servlet containerHttpSession
instance. - HttpServletSession(HttpSession, String) - Constructor for class org.apache.shiro.web.session.HttpServletSession
- HttpSessionContext - Interface in org.apache.shiro.web.servlet
-
Deprecated.
- httpSessions - Variable in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
I
- ID - Static variable in class org.apache.shiro.crypto.hash.format.Shiro1CryptFormat
- IDENTITY_REMOVED_KEY - Static variable in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
- ImmutableProxiedSession - Class in org.apache.shiro.session.mgt
-
Implementation of the
Session
interface that proxies anotherSession
, but does not allow any 'write' operations to the underlying session. - ImmutableProxiedSession(Session) - Constructor for class org.apache.shiro.session.mgt.ImmutableProxiedSession
-
Constructs a new instance of this class proxying the specified
Session
. - implies(Permission) - Method in class org.apache.shiro.authz.permission.AllPermission
-
Always returns true, indicating any Subject granted this permission can do anything.
- implies(Permission) - Method in interface org.apache.shiro.authz.Permission
-
Returns
true
if this current instance implies all the functionality and/or resource access described by the specifiedPermission
argument,false
otherwise. - implies(Permission) - Method in class org.apache.shiro.authz.permission.WildcardPermission
- INCLUDE_CONTEXT_PATH_ATTRIBUTE - Static variable in class org.apache.shiro.web.util.WebUtils
- INCLUDE_PATH_INFO_ATTRIBUTE - Static variable in class org.apache.shiro.web.util.WebUtils
- INCLUDE_QUERY_STRING_ATTRIBUTE - Static variable in class org.apache.shiro.web.util.WebUtils
- INCLUDE_REQUEST_URI_ATTRIBUTE - Static variable in class org.apache.shiro.web.util.WebUtils
-
Standard Servlet 2.3+ spec request attributes for include URI and paths.
- INCLUDE_SERVLET_PATH_ATTRIBUTE - Static variable in class org.apache.shiro.web.util.WebUtils
- IncorrectCredentialsException - Exception in org.apache.shiro.authc
-
Thrown when attempting to authenticate with credential(s) that do not match the actual credentials associated with the account principal.
- IncorrectCredentialsException() - Constructor for exception org.apache.shiro.authc.IncorrectCredentialsException
-
Creates a new IncorrectCredentialsException.
- IncorrectCredentialsException(String) - Constructor for exception org.apache.shiro.authc.IncorrectCredentialsException
-
Constructs a new IncorrectCredentialsException.
- IncorrectCredentialsException(String, Throwable) - Constructor for exception org.apache.shiro.authc.IncorrectCredentialsException
-
Constructs a new IncorrectCredentialsException.
- IncorrectCredentialsException(Throwable) - Constructor for exception org.apache.shiro.authc.IncorrectCredentialsException
-
Constructs a new IncorrectCredentialsException.
- indexOf(Object) - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
- Ini - Class in org.apache.shiro.config
-
A class representing the INI text configuration format.
- Ini() - Constructor for class org.apache.shiro.config.Ini
-
Creates a new empty
Ini
instance. - Ini(Ini) - Constructor for class org.apache.shiro.config.Ini
-
Creates a new
Ini
instance with the specified defaults. - INI_REALM_NAME - Static variable in class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.
- Ini.Section - Class in org.apache.shiro.config
- iniClasspathRealm() - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration
- IniFactorySupport<T> - Class in org.apache.shiro.config
-
Deprecated.use Shiro's
Environment
mechanisms instead. - IniFactorySupport() - Constructor for class org.apache.shiro.config.IniFactorySupport
-
Deprecated.
- IniFactorySupport(Ini) - Constructor for class org.apache.shiro.config.IniFactorySupport
-
Deprecated.
- IniFilterChainResolverFactory - Class in org.apache.shiro.web.config
- IniFilterChainResolverFactory() - Constructor for class org.apache.shiro.web.config.IniFilterChainResolverFactory
- IniFilterChainResolverFactory(Ini) - Constructor for class org.apache.shiro.web.config.IniFilterChainResolverFactory
- IniFilterChainResolverFactory(Ini, Map<String, ?>) - Constructor for class org.apache.shiro.web.config.IniFilterChainResolverFactory
- iniMetaInfClasspathRealm() - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration
- IniRealm - Class in org.apache.shiro.realm.text
- IniRealm() - Constructor for class org.apache.shiro.realm.text.IniRealm
- IniRealm(String) - Constructor for class org.apache.shiro.realm.text.IniRealm
-
This constructor will immediately process the definitions in the
Ini
resolved from the specifiedresourcePath
. - IniRealm(Ini) - Constructor for class org.apache.shiro.realm.text.IniRealm
-
This constructor will immediately process the definitions in the
Ini
argument. - iniRealmFromLocation(String) - Method in class org.apache.shiro.spring.config.AbstractShiroConfiguration
- IniSecurityManagerFactory - Class in org.apache.shiro.config
-
Deprecated.use Shiro's
Environment
mechanisms instead. - IniSecurityManagerFactory() - Constructor for class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.Creates a new instance.
- IniSecurityManagerFactory(String) - Constructor for class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.
- IniSecurityManagerFactory(Ini) - Constructor for class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.
- IniShiroFilter - Class in org.apache.shiro.web.servlet
-
Deprecated.in 1.2 in favor of using the
ShiroFilter
- IniShiroFilter() - Constructor for class org.apache.shiro.web.servlet.IniShiroFilter
-
Deprecated.
- init() - Method in class org.apache.shiro.cache.ehcache.EhCacheManager
-
Initializes this instance.
- init() - Method in class org.apache.shiro.hazelcast.cache.HazelcastCacheManager
-
Initializes this instance by
ensuring
there is a backingHazelcastInstance
. - init() - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Initializes this realm and potentially enables an authentication cache, depending on configuration.
- init() - Method in interface org.apache.shiro.util.Initializable
-
Initializes this object.
- init() - Method in class org.apache.shiro.web.env.IniWebEnvironment
- init() - Method in class org.apache.shiro.web.servlet.AbstractShiroFilter
- init() - Method in class org.apache.shiro.web.servlet.IniShiroFilter
-
Deprecated.
- init() - Method in class org.apache.shiro.web.servlet.ShiroFilter
-
Configures this instance based on the existing
WebEnvironment
instance available to the currently accessibleservletContext
. - init(Object) - Static method in class org.apache.shiro.util.LifecycleUtils
- init(Collection) - Static method in class org.apache.shiro.util.LifecycleUtils
-
Calls
init
for each object in the collection. - init(FilterConfig) - Method in class org.apache.shiro.web.servlet.AbstractFilter
-
Sets the filter's
filterConfig
and then immediately callsonFilterConfigSet()
to trigger any processing a subclass might wish to perform. - init(Initializable) - Static method in class org.apache.shiro.util.LifecycleUtils
- initEnvironment(ServletContext) - Method in class org.apache.shiro.web.env.EnvironmentLoader
-
Initializes Shiro's
WebEnvironment
instance for the specifiedServletContext
based on theEnvironmentLoader.CONFIG_LOCATIONS_PARAM
value. - initFilter(Filter) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
-
Initializes the filter by calling
filter.init(
.getFilterConfig()
); - Initializable - Interface in org.apache.shiro.util
-
Shiro container-agnostic interface that indicates that this object requires initialization.
- InitializedBeanEvent - Class in org.apache.shiro.config.event
-
Event triggered when a configured bean has been instantiated, fully configured and initialized.
- InitializedBeanEvent(String, Object, Map<String, Object>) - Constructor for class org.apache.shiro.config.event.InitializedBeanEvent
- IniWebEnvironment - Class in org.apache.shiro.web.env
- IniWebEnvironment() - Constructor for class org.apache.shiro.web.env.IniWebEnvironment
- instantiate(Constructor, Object...) - Static method in class org.apache.shiro.util.ClassUtils
- InstantiatedBeanEvent - Class in org.apache.shiro.config.event
-
Event triggered when a configured bean has been instantiated but before it is configured or initialized.
- InstantiatedBeanEvent(String, Object, Map<String, Object>) - Constructor for class org.apache.shiro.config.event.InstantiatedBeanEvent
- InstantiationException - Exception in org.apache.shiro.util
-
Runtime exception thrown by the framework when unable to instantiate a Class via reflection.
- InstantiationException() - Constructor for exception org.apache.shiro.util.InstantiationException
-
Creates a new InstantiationException.
- InstantiationException(String) - Constructor for exception org.apache.shiro.util.InstantiationException
-
Constructs a new InstantiationException.
- InstantiationException(String, Throwable) - Constructor for exception org.apache.shiro.util.InstantiationException
-
Constructs a new InstantiationException.
- InstantiationException(Throwable) - Constructor for exception org.apache.shiro.util.InstantiationException
-
Constructs a new InstantiationException.
- interpolate(String) - Method in class org.apache.shiro.config.CommonsInterpolator
- interpolate(String) - Method in class org.apache.shiro.config.DefaultInterpolator
-
Simply returns the original
value
. - interpolate(String) - Method in interface org.apache.shiro.config.Interpolator
-
Interpolates
value
and returns the result. - Interpolator - Interface in org.apache.shiro.config
-
Basic String interpolation interface.
- INVALID_REQUEST - Static variable in class org.apache.shiro.guice.web.ShiroWebModule
- invalidate() - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
- InvalidPermissionStringException - Exception in org.apache.shiro.authz.permission
-
Thrown by
PermissionResolver.resolvePermission(String)
when the String being parsed is not valid for that resolver. - InvalidPermissionStringException(String, String) - Constructor for exception org.apache.shiro.authz.permission.InvalidPermissionStringException
-
Constructs a new exception with the given message and permission string.
- invalidRequest - org.apache.shiro.web.filter.mgt.DefaultFilter
- InvalidRequestFilter - Class in org.apache.shiro.web.filter
-
A request filter that blocks malicious requests.
- InvalidRequestFilter() - Constructor for class org.apache.shiro.web.filter.InvalidRequestFilter
- InvalidResourceUsageException - Exception in org.apache.shiro.dao
-
Root exception indicating invalid or incorrect usage of a data access resource.
- InvalidResourceUsageException(String) - Constructor for exception org.apache.shiro.dao.InvalidResourceUsageException
-
Constructs an InvalidResourceUsageException with a message explaining the cause of the exception.
- InvalidResourceUsageException(String, Throwable) - Constructor for exception org.apache.shiro.dao.InvalidResourceUsageException
-
Constructs a InvalidResourceUsageException with a message explaining the cause of the exception.
- InvalidSessionException - Exception in org.apache.shiro.session
-
Exception thrown when attempting to interact with the system under an established session when that session is considered invalid.
- InvalidSessionException() - Constructor for exception org.apache.shiro.session.InvalidSessionException
-
Creates a new InvalidSessionException.
- InvalidSessionException(String) - Constructor for exception org.apache.shiro.session.InvalidSessionException
-
Constructs a new InvalidSessionException.
- InvalidSessionException(String, Throwable) - Constructor for exception org.apache.shiro.session.InvalidSessionException
-
Constructs a new InvalidSessionException.
- InvalidSessionException(Throwable) - Constructor for exception org.apache.shiro.session.InvalidSessionException
-
Constructs a new InvalidSessionException.
- invoke(MethodInvocation) - Method in class org.apache.shiro.spring.security.interceptor.AopAllianceAnnotationsAuthorizingMethodInterceptor
-
Creates a Shiro
MethodInvocation
instance and then immediately callssuper.invoke
. - invoke(MethodInvocation) - Method in interface org.apache.shiro.aop.MethodInterceptor
-
Invokes the specified
MethodInvocation
, allowing implementations to perform pre/post/finally surrounding the actual invocation. - invoke(MethodInvocation) - Method in class org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor
-
Ensures the
methodInvocation
is allowed to execute first before proceeding by calling theassertAuthorized
method first. - invoke(MethodInvocation) - Method in class org.apache.shiro.authz.aop.AuthorizingMethodInterceptor
-
Invokes the specified method (
methodInvocation.
if authorization is allowed by first callingproceed
()assertAuthorized
. - invoke(RemoteInvocation, Object) - Method in class org.apache.shiro.spring.remoting.SecureRemoteInvocationExecutor
- invokeAll(Collection<? extends Callable<T>>) - Method in class org.apache.shiro.concurrent.SubjectAwareExecutorService
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.apache.shiro.concurrent.SubjectAwareExecutorService
- invokeAny(Collection<? extends Callable<T>>) - Method in class org.apache.shiro.concurrent.SubjectAwareExecutorService
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.apache.shiro.concurrent.SubjectAwareExecutorService
- IPV4_PATTERN - Static variable in class org.apache.shiro.web.filter.authz.HostFilter
- IPV4_QUAD_REGEX - Static variable in class org.apache.shiro.web.filter.authz.HostFilter
- IPV4_REGEX - Static variable in class org.apache.shiro.web.filter.authz.HostFilter
- isAccessAllowed(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.cas.CasFilter
-
Deprecated.Returns
false
to always force authentication (user is never considered authenticated by this filter). - isAccessAllowed(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.AccessControlFilter
-
Returns
true
if the request is allowed to proceed through the filter normally, orfalse
if the request should be handled by theonAccessDenied(request,response,mappedValue)
method instead. - isAccessAllowed(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.authc.AuthenticatingFilter
-
Determines whether the current subject should be allowed to make the current request.
- isAccessAllowed(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.authc.AuthenticationFilter
-
Determines whether the current subject is authenticated.
- isAccessAllowed(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.authc.UserFilter
-
Returns
true
if the request is aloginRequest
or if the currentsubject
is notnull
,false
otherwise. - isAccessAllowed(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.authz.HostFilter
- isAccessAllowed(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.authz.HttpMethodPermissionFilter
-
Resolves an 'application friendly' action verb based on the
HttpServletRequest
's method, appends that action to each configured permission (themappedValue
argument is aString[]
array), and delegates the permission check for the newly constructed permission(s) to the superclassisAccessAllowed
implementation to perform the actual permission check. - isAccessAllowed(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.authz.PermissionsAuthorizationFilter
- isAccessAllowed(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.authz.PortFilter
- isAccessAllowed(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.authz.RolesAuthorizationFilter
- isAccessAllowed(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.authz.SslFilter
-
Retains the parent method's port-matching behavior but additionally guarantees that the
ServletRequest.
isSecure()
. - isAccessAllowed(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.InvalidRequestFilter
- isAssignable(Class, Class) - Static method in class org.apache.shiro.util.Assert
-
Assert that
superType.isAssignableFrom(subType)
istrue
. - isAssignable(Class, Class, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that
superType.isAssignableFrom(subType)
istrue
. - isAtLeastVersion14() - Static method in class org.apache.shiro.util.JavaEnvironment
-
Deprecated.Convenience method to determine if the current JVM is at least Java 1.4.
- isAtLeastVersion15() - Static method in class org.apache.shiro.util.JavaEnvironment
-
Deprecated.Convenience method to determine if the current JVM is at least Java 1.5 (Java 5).
- isAtLeastVersion16() - Static method in class org.apache.shiro.util.JavaEnvironment
-
Deprecated.Convenience method to determine if the current JVM is at least Java 1.6 (Java 6).
- isAuthenticated() - Method in interface org.apache.shiro.subject.Subject
-
Returns
true
if this Subject/user proved their identity during their current session by providing valid credentials matching those known to the system,false
otherwise. - isAuthenticated() - Method in interface org.apache.shiro.subject.SubjectContext
-
Returns
true
if the constructedSubject
should be considered authenticated,false
otherwise. - isAuthenticated() - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
- isAuthenticated() - Method in class org.apache.shiro.subject.support.DelegatingSubject
- isAuthenticationCachingEnabled() - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Returns
true
if authentication caching should be utilized if aCacheManager
has beenconfigured
,false
otherwise. - isAuthenticationCachingEnabled(AuthenticationToken, AuthenticationInfo) - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Returns
true
if authentication caching should be utilized based on the specifiedAuthenticationToken
and/orAuthenticationInfo
,false
otherwise. - isAuthorizationCachingEnabled() - Method in class org.apache.shiro.realm.AuthorizingRealm
-
Returns
true
if authorization caching should be utilized if aCacheManager
has beenconfigured
,false
otherwise. - isAutoApplyRealms(SecurityManager) - Method in class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.
- isAvailable(String) - Static method in class org.apache.shiro.util.ClassUtils
- isBase64(byte[]) - Static method in class org.apache.shiro.codec.Base64
-
Tests a given byte array to see if it contains only valid characters within the Base64 alphabet.
- isBlockBackslash() - Method in class org.apache.shiro.web.filter.InvalidRequestFilter
- isBlockNonAscii() - Method in class org.apache.shiro.web.filter.InvalidRequestFilter
- isBlockSemicolon() - Method in class org.apache.shiro.web.filter.InvalidRequestFilter
- isByteSource(Object) - Method in class org.apache.shiro.codec.CodecSupport
-
Returns
true
if the specified object can be easily converted to bytes by instances of this class,false
otherwise. - isCachingEnabled() - Method in class org.apache.shiro.realm.CachingRealm
- isCaseInsensitive() - Method in class org.apache.shiro.util.RegExPatternMatcher
-
Returns true if regex match should be case-insensitive.
- isCaseSensitive() - Method in class org.apache.shiro.authz.permission.WildcardPermissionResolver
-
Return true if this resolver produces case sensitive permissions.
- isCompatible(Object) - Static method in class org.apache.shiro.util.ByteSource.Util
-
Returns
true
if the specified object can be easily represented as aByteSource
using theByteSource.Util
's default heuristics,false
otherwise. - isCompatible(Object) - Static method in class org.apache.shiro.util.SimpleByteSource
-
Returns
true
if the specified object is a recognized data type that can be easily converted to bytes by instances of this class,false
otherwise. - isContinued(String) - Static method in class org.apache.shiro.config.Ini.Section
- isCredentialsExpired() - Method in class org.apache.shiro.authc.SimpleAccount
-
Returns whether or not the Account's credentials are expired.
- isDeleteInvalidSessions() - Method in class org.apache.shiro.session.mgt.DefaultSessionManager
-
Returns
true
if sessions should be automatically deleted after they are discovered to be invalid,false
if invalid sessions will be manually deleted by some process external to Shiro's control. - isEmpty() - Method in class org.apache.shiro.config.Ini
-
Returns
true
if no sections have been configured, or if there are sections, but the sections themselves are all empty,false
otherwise. - isEmpty() - Method in class org.apache.shiro.config.Ini.Section
- isEmpty() - Method in class org.apache.shiro.crypto.hash.SimpleHash
- isEmpty() - Method in interface org.apache.shiro.subject.PrincipalCollection
-
Returns
true
if this collection is empty,false
otherwise. - isEmpty() - Method in class org.apache.shiro.subject.SimplePrincipalCollection
- isEmpty() - Method in class org.apache.shiro.subject.SimplePrincipalMap
- isEmpty() - Method in interface org.apache.shiro.util.ByteSource
-
Returns
true
if the underlying wrapped byte array is null or empty (zero length),false
otherwise. - isEmpty() - Method in class org.apache.shiro.util.MapContext
- isEmpty() - Method in class org.apache.shiro.util.SimpleByteSource
- isEmpty() - Method in class org.apache.shiro.util.SoftHashMap
- isEmpty() - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
- isEmpty(Collection) - Static method in class org.apache.shiro.util.CollectionUtils
- isEmpty(Map) - Static method in class org.apache.shiro.util.CollectionUtils
- isEmpty(PrincipalCollection) - Static method in class org.apache.shiro.util.CollectionUtils
-
Deprecated.Use PrincipalCollection.isEmpty() directly.
- isEnabled() - Method in class org.apache.shiro.session.mgt.ExecutorServiceSessionValidationScheduler
- isEnabled() - Method in class org.apache.shiro.session.mgt.quartz.QuartzSessionValidationScheduler
- isEnabled() - Method in interface org.apache.shiro.session.mgt.SessionValidationScheduler
-
Returns
true
if this Scheduler is enabled and ready to begin validation at the appropriate time,false
otherwise. - isEnabled() - Method in class org.apache.shiro.web.filter.authz.SslFilter.HSTS
- isEnabled() - Method in class org.apache.shiro.web.servlet.OncePerRequestFilter
-
Returns
true
if this filter should generally* execute for any request,false
if it should let the request/response pass through immediately to the next element in theFilterChain
. - isEnabled(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.servlet.OncePerRequestFilter
-
Returns
true
if this filter should filter the specified request,false
if it should let the request/response pass through immediately to the next element in theFilterChain
. - isEnabled(ServletRequest, ServletResponse, String, Object) - Method in class org.apache.shiro.web.filter.PathMatchingFilter
-
Path-matching version of the parent class's
OncePerRequestFilter.isEnabled(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
method, but additionally allows for inspection of any path-specific configuration values corresponding to the specified request. - isEncodeable(String) - Method in class org.apache.shiro.web.servlet.ShiroHttpServletResponse
-
Return
true
if the specified URL should be encoded with a session identifier. - isExpired() - Method in class org.apache.shiro.session.mgt.SimpleSession
-
Returns true if this session has expired, false otherwise.
- isFilterOncePerRequest() - Method in class org.apache.shiro.web.config.ShiroFilterConfiguration
-
Returns
true
if the filter should only execute once per request. - isFilterOncePerRequest() - Method in class org.apache.shiro.web.servlet.OncePerRequestFilter
-
Returns
true
if this filter should only execute once per request. - isGenerateInitializationVectors() - Method in class org.apache.shiro.crypto.JcaCipherService
- isGenerateInitializationVectors(boolean) - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
-
Overrides the parent implementation to ensure initialization vectors are always generated if streaming is enabled (block ciphers must use initialization vectors if they are to be used as a stream cipher).
- isGenerateInitializationVectors(boolean) - Method in class org.apache.shiro.crypto.JcaCipherService
- isGeneratePublicSalt() - Method in class org.apache.shiro.crypto.hash.DefaultHashService
-
Returns
true
if a public salt should be randomly generated and used to compute a hash if aHashRequest
does not specify a salt,false
otherwise. - isHashSalted() - Method in class org.apache.shiro.authc.credential.HashedCredentialsMatcher
-
Deprecated.since Shiro 1.1. Hash salting is now expected to be based on if the
AuthenticationInfo
returned from theRealm
is aSaltedAuthenticationInfo
instance and itsgetCredentialsSalt()
method returns a non-null value. This method and the 1.0 behavior still exists for backwards compatibility if theRealm
does not returnSaltedAuthenticationInfo
instances, but it is highly recommended thatRealm
implementations that support hashed credentials start returningSaltedAuthenticationInfo
instances as soon as possible. This is because salts should always be obtained from the stored account information and never be interpreted based on user/Subject-entered data. User-entered data is easier to compromise for attackers, whereas account-unique (and secure randomly-generated) salts never disseminated to the end-user are almost impossible to break. This method will be removed in Shiro 2.0. - isHttp(Object) - Static method in class org.apache.shiro.web.util.WebUtils
- isHttpOnly() - Method in interface org.apache.shiro.web.servlet.Cookie
- isHttpOnly() - Method in class org.apache.shiro.web.servlet.SimpleCookie
- isHttpSessionMode() - Method in class org.apache.shiro.web.mgt.DefaultWebSecurityManager
- isHttpSessionMode() - Method in interface org.apache.shiro.web.mgt.WebSecurityManager
-
Security information needs to be retained from request to request, so Shiro makes use of a session for this.
- isHttpSessions() - Method in class org.apache.shiro.web.servlet.AbstractShiroFilter
- isHttpSessions() - Method in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
- isImplicitlyCreated() - Method in class org.apache.shiro.hazelcast.cache.HazelcastCacheManager
-
NOT PART OF SHIRO'S ACCESSIBLE API.
- isIncludeSubDomains() - Method in class org.apache.shiro.web.filter.authz.SslFilter.HSTS
- isIndexedPropertyAssignment(String) - Method in class org.apache.shiro.config.ReflectionBuilder
- isInstanceOf(Class, Object) - Static method in class org.apache.shiro.util.Assert
-
Assert that the provided object is an instance of the provided class.
- isInstanceOf(Class, Object, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that the provided object is an instance of the provided class.
- isIpv4Candidate(String) - Method in class org.apache.shiro.web.filter.authz.HostFilter
- isLocked() - Method in class org.apache.shiro.authc.SimpleAccount
-
Returns
true
if this Account is locked and thus cannot be used to login,false
otherwise. - isLoginRequest(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.AccessControlFilter
-
Returns
true
if the incoming request is a login request,false
otherwise. - isLoginSubmission(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
-
This default implementation merely returns
true
if the request is an HTTPPOST
,false
otherwise. - isNew() - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
- isNull(Object) - Static method in class org.apache.shiro.util.Assert
-
Assert that an object is
null
. - isNull(Object, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that an object is
null
. - ISO10126 - org.apache.shiro.crypto.PaddingScheme
-
Padding scheme as defined in the W3C's "XML Encryption Syntax and Processing" document, Section 5.2 - Block Encryption Algorithms.
- isPattern(String) - Method in class org.apache.shiro.util.AntPathMatcher
-
Checks if
path
is a pattern (i.e. - isPermissive(Object) - Method in class org.apache.shiro.web.filter.authc.AuthenticatingFilter
-
Returns
true
if the mappedValue contains theAuthenticatingFilter.PERMISSIVE
qualifier. - isPermitted(String) - Method in interface org.apache.shiro.subject.Subject
-
Returns
true
if this Subject is permitted to perform an action or access a resource summarized by the specified permission string. - isPermitted(String) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- isPermitted(String) - Method in class org.apache.shiro.web.tags.PermissionTag
- isPermitted(String...) - Method in interface org.apache.shiro.subject.Subject
-
Checks if this Subject implies the given permission strings and returns a boolean array indicating which permissions are implied.
- isPermitted(String...) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- isPermitted(List<Permission>) - Method in interface org.apache.shiro.subject.Subject
-
Checks if this Subject implies the given Permissions and returns a boolean array indicating which permissions are implied.
- isPermitted(List<Permission>) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- isPermitted(List<Permission>, AuthorizationInfo) - Method in class org.apache.shiro.realm.AuthorizingRealm
- isPermitted(Permission) - Method in class org.apache.shiro.authz.SimpleRole
- isPermitted(Permission) - Method in interface org.apache.shiro.subject.Subject
-
Returns
true
if this Subject is permitted to perform an action or access a resource summarized by the specified permission. - isPermitted(Permission) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- isPermitted(Permission, AuthorizationInfo) - Method in class org.apache.shiro.realm.AuthorizingRealm
- isPermitted(PrincipalCollection, String) - Method in interface org.apache.shiro.authz.Authorizer
-
Returns true if the corresponding subject/user is permitted to perform an action or access a resource summarized by the specified permission string.
- isPermitted(PrincipalCollection, String) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
Returns
true
if any of the configured realms'ModularRealmAuthorizer.isPermitted(org.apache.shiro.subject.PrincipalCollection, String)
returnstrue
,false
otherwise. - isPermitted(PrincipalCollection, String) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
- isPermitted(PrincipalCollection, String) - Method in class org.apache.shiro.realm.AuthorizingRealm
- isPermitted(PrincipalCollection, String...) - Method in interface org.apache.shiro.authz.Authorizer
-
Checks if the corresponding Subject implies the given permission strings and returns a boolean array indicating which permissions are implied.
- isPermitted(PrincipalCollection, String...) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
Returns
true
if any of the configured realms'ModularRealmAuthorizer.isPermittedAll(org.apache.shiro.subject.PrincipalCollection, String...)
call returnstrue
,false
otherwise. - isPermitted(PrincipalCollection, String...) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
- isPermitted(PrincipalCollection, String...) - Method in class org.apache.shiro.realm.AuthorizingRealm
- isPermitted(PrincipalCollection, List<Permission>) - Method in interface org.apache.shiro.authz.Authorizer
-
Checks if the corresponding Subject/user implies the given Permissions and returns a boolean array indicating which permissions are implied.
- isPermitted(PrincipalCollection, List<Permission>) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
Returns
true
if any of the configured realms'ModularRealmAuthorizer.isPermitted(org.apache.shiro.subject.PrincipalCollection, List)
call returnstrue
,false
otherwise. - isPermitted(PrincipalCollection, List<Permission>) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
- isPermitted(PrincipalCollection, List<Permission>) - Method in class org.apache.shiro.realm.AuthorizingRealm
- isPermitted(PrincipalCollection, Permission) - Method in interface org.apache.shiro.authz.Authorizer
-
Returns true if the corresponding subject/user is permitted to perform an action or access a resource summarized by the specified permission.
- isPermitted(PrincipalCollection, Permission) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
Returns
true
if any of the configured realms'ModularRealmAuthorizer.isPermitted(org.apache.shiro.subject.PrincipalCollection, Permission)
call returnstrue
,false
otherwise. - isPermitted(PrincipalCollection, Permission) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
- isPermitted(PrincipalCollection, Permission) - Method in class org.apache.shiro.realm.AuthorizingRealm
- isPermittedAll(String...) - Method in interface org.apache.shiro.subject.Subject
-
Returns
true
if this Subject implies all of the specified permission strings,false
otherwise. - isPermittedAll(String...) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- isPermittedAll(Collection<Permission>) - Method in interface org.apache.shiro.subject.Subject
-
Returns
true
if this Subject implies all of the specified permissions,false
otherwise. - isPermittedAll(Collection<Permission>) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- isPermittedAll(Collection<Permission>, AuthorizationInfo) - Method in class org.apache.shiro.realm.AuthorizingRealm
- isPermittedAll(PrincipalCollection, String...) - Method in interface org.apache.shiro.authz.Authorizer
-
Returns true if the corresponding Subject/user implies all of the specified permission strings, false otherwise.
- isPermittedAll(PrincipalCollection, String...) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
Returns
true
if any of the configured realms'ModularRealmAuthorizer.isPermitted(org.apache.shiro.subject.PrincipalCollection, String)
call returnstrue
for all of the specified string permissions,false
otherwise. - isPermittedAll(PrincipalCollection, String...) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
- isPermittedAll(PrincipalCollection, String...) - Method in class org.apache.shiro.realm.AuthorizingRealm
- isPermittedAll(PrincipalCollection, Collection<Permission>) - Method in interface org.apache.shiro.authz.Authorizer
-
Returns true if the corresponding Subject/user implies all of the specified permissions, false otherwise.
- isPermittedAll(PrincipalCollection, Collection<Permission>) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
Returns
true
if any of the configured realms'ModularRealmAuthorizer.isPermitted(org.apache.shiro.subject.PrincipalCollection, Permission)
call returnstrue
for all of the specified Permissions,false
otherwise. - isPermittedAll(PrincipalCollection, Collection<Permission>) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
- isPermittedAll(PrincipalCollection, Collection<Permission>) - Method in class org.apache.shiro.realm.AuthorizingRealm
- isPoolingConnections(Object) - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
Returns
true
if LDAP connection pooling should be used when acquiring a connection based on the specified account principal,false
otherwise. - isPoolingEnabled() - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
Returns whether or not connection pooling should be used when possible and appropriate.
- isPostOnlyLogout() - Method in class org.apache.shiro.web.filter.authc.LogoutFilter
-
Due to browser pre-fetching, using a GET requests for logout my cause a user to be logged accidentally, for example: out while typing in an address bar.
- isReference(String) - Method in class org.apache.shiro.config.ReflectionBuilder
- isRemembered() - Method in interface org.apache.shiro.subject.Subject
-
Returns
true
if thisSubject
has an identity (it is not anonymous) and the identity (akaprincipals
) is remembered from a successful authentication during a previous session. - isRemembered() - Method in class org.apache.shiro.subject.support.DelegatingSubject
- isRememberMe() - Method in interface org.apache.shiro.authc.RememberMeAuthenticationToken
-
Returns
true
if the submitting user wishes their identity (principal(s)) to be remembered across sessions,false
otherwise. - isRememberMe() - Method in class org.apache.shiro.authc.UsernamePasswordToken
-
Returns true if the submitting user wishes their identity (principal(s)) to be remembered across sessions, false otherwise.
- isRememberMe() - Method in class org.apache.shiro.cas.CasToken
-
Deprecated.
- isRememberMe(ServletRequest) - Method in class org.apache.shiro.web.filter.authc.AuthenticatingFilter
-
Returns
true
if "rememberMe" should be enabled for the login attempt associated with the currentrequest
,false
otherwise. - isRememberMe(ServletRequest) - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
- isRememberMe(AuthenticationToken) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Determines whether or not remember me services should be performed for the specified token.
- isRequestedSessionIdFromCookie() - Method in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
- isRequestedSessionIdFromUrl() - Method in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
- isRequestedSessionIdFromURL() - Method in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
- isRequestedSessionIdValid() - Method in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
- isResourceRef() - Method in class org.apache.shiro.jndi.JndiLocator
-
Return whether the lookup occurs in a J2EE container.
- isRolename(String) - Method in class org.apache.shiro.realm.text.PropertiesRealm
- isRunAs() - Method in interface org.apache.shiro.subject.Subject
-
Returns
true
if thisSubject
is 'running as' another identity other than its original one orfalse
otherwise (normalSubject
state). - isRunAs() - Method in class org.apache.shiro.subject.support.DelegatingSubject
- isSchemeChar(char) - Static method in class org.apache.shiro.web.servlet.ShiroHttpServletResponse
-
Determine if the character is allowed in the scheme of a URI.
- isSectionHeader(String) - Static method in class org.apache.shiro.config.Ini
- isSecure() - Method in class org.apache.shiro.web.jaxrs.ShiroSecurityContext
- isSecure() - Method in interface org.apache.shiro.web.servlet.Cookie
- isSecure() - Method in class org.apache.shiro.web.servlet.SimpleCookie
- isServletContainerSessions() - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionManager
-
This is a native session manager implementation, so this method returns
false
always. - isServletContainerSessions() - Method in class org.apache.shiro.web.session.mgt.ServletContainerSessionManager
-
This implementation always delegates to the servlet container for sessions, so this method returns
true
always. - isServletContainerSessions() - Method in interface org.apache.shiro.web.session.mgt.WebSessionManager
-
Returns
true
if session management and storage is managed by the underlying Servlet container orfalse
if managed by Shiro directly (called 'native' sessions). - isSessionCreationEnabled() - Method in interface org.apache.shiro.subject.SubjectContext
-
Returns
true
if the constructedSubject
should be allowed to create a session,false
otherwise. - isSessionCreationEnabled() - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
- isSessionCreationEnabled() - Method in class org.apache.shiro.subject.support.DelegatingSubject
-
Returns
true
if this Subject is allowed to create sessions,false
otherwise. - isSessionCreationEnabled() - Method in class org.apache.shiro.web.subject.support.WebDelegatingSubject
-
Returns
true
if session creation is allowed (as determined by the super class's {@link super#isSessionCreationEnabled()} value and no request-specific override has disabled sessions for this subject,false
otherwise. - isSessionIdCookieEnabled() - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionManager
- isSessionIdUrlRewritingEnabled() - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionManager
- isSessionStorageEnabled() - Method in class org.apache.shiro.mgt.DefaultSessionStorageEvaluator
-
Returns
true
if any Subject'sSession
may be used to persist thatSubject
's state,false
otherwise. - isSessionStorageEnabled(Subject) - Method in class org.apache.shiro.mgt.DefaultSessionStorageEvaluator
-
This implementation functions as follows: If the specified Subject already has an existing
Session
(typically because an application developer has calledsubject.getSession()
already), Shiro will use that existing session to store subject state. If a Subject does not yet have a Session, this implementation checks thesessionStorageEnabled
property: IfsessionStorageEnabled
is true (the default setting), a new session may be created to persist Subject state if necessary. IfsessionStorageEnabled
isfalse
, a new session will not be created to persist session state. Most applications use Sessions and are OK with the defaulttrue
setting forsessionStorageEnabled
. - isSessionStorageEnabled(Subject) - Method in class org.apache.shiro.mgt.DefaultSubjectDAO
-
Determines if the subject's session will be used to persist subject state or not.
- isSessionStorageEnabled(Subject) - Method in interface org.apache.shiro.mgt.SessionStorageEvaluator
-
Returns
true
if the specifiedSubject
'ssession
may be used to persist that Subject's state,false
otherwise. - isSessionStorageEnabled(Subject) - Method in class org.apache.shiro.web.mgt.DefaultWebSessionStorageEvaluator
-
Returns
true
if session storage is generally available (as determined by the super class's global configuration propertyDefaultSessionStorageEvaluator.isSessionStorageEnabled()
and no request-specific override has turned off session storage,false
otherwise. - isSessionValidationSchedulerEnabled() - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
- isShutdown() - Method in class org.apache.shiro.concurrent.SubjectAwareExecutorService
- isSingleton() - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
-
Returns
true
always. - isSingleton() - Method in class org.apache.shiro.util.AbstractFactory
- isStaticSecurityManagerEnabled() - Method in class org.apache.shiro.web.config.ShiroFilterConfiguration
-
Returns
true
if the constructedSecurityManager
associated with the filter should be bound to static memory (viaSecurityUtils.
setSecurityManager
),false
otherwise. - isStaticSecurityManagerEnabled() - Method in class org.apache.shiro.web.servlet.AbstractShiroFilter
-
Returns
true
if the constructedsecurityManager
reference should be bound to static memory (viaSecurityUtils.
setSecurityManager
),false
otherwise. - isStopped() - Method in class org.apache.shiro.session.mgt.SimpleSession
- isStoredCredentialsHexEncoded() - Method in class org.apache.shiro.authc.credential.HashedCredentialsMatcher
-
Returns
true
if the system's stored credential hash is Hex encoded,false
if it is Base64 encoded. - issueRedirect(ServletRequest, ServletResponse, String) - Method in class org.apache.shiro.web.filter.authc.LogoutFilter
-
Issues an HTTP redirect to the specified URL after subject logout.
- issueRedirect(ServletRequest, ServletResponse, String) - Static method in class org.apache.shiro.web.util.WebUtils
-
Redirects the current request to a new URL based on the given parameters and default values for unspecified parameters.
- issueRedirect(ServletRequest, ServletResponse, String, Map) - Static method in class org.apache.shiro.web.util.WebUtils
-
Redirects the current request to a new URL based on the given parameters and default values for unspecified parameters.
- issueRedirect(ServletRequest, ServletResponse, String, Map, boolean) - Static method in class org.apache.shiro.web.util.WebUtils
-
Redirects the current request to a new URL based on the given parameters and default values for unspecified parameters.
- issueRedirect(ServletRequest, ServletResponse, String, Map, boolean, boolean) - Static method in class org.apache.shiro.web.util.WebUtils
-
Redirects the current request to a new URL based on the given parameters.
- issueSuccessRedirect(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.AuthenticationFilter
-
Redirects to user to the previously attempted URL after a successful login.
- isTerminated() - Method in class org.apache.shiro.concurrent.SubjectAwareExecutorService
- isTimedOut() - Method in class org.apache.shiro.session.mgt.SimpleSession
-
Determines if this session is expired.
- isTrue(boolean) - Static method in class org.apache.shiro.util.Assert
-
Assert a boolean expression, throwing
IllegalArgumentException
if the test result isfalse
. - isTrue(boolean, String) - Static method in class org.apache.shiro.util.Assert
-
Assert a boolean expression, throwing
IllegalArgumentException
if the test result isfalse
. - isTrue(ServletRequest, String) - Static method in class org.apache.shiro.web.util.WebUtils
-
Checks to see if a request param is considered true using a loose matching strategy for general values that indicate that something is true or enabled, etc.
- isTypedProperty(Object, String, Class) - Method in class org.apache.shiro.config.ReflectionBuilder
- isUserInRole(String) - Method in class org.apache.shiro.web.jaxrs.ShiroSecurityContext
- isUserInRole(String) - Method in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
- isUsername(String) - Method in class org.apache.shiro.realm.text.PropertiesRealm
- isValid() - Method in class org.apache.shiro.session.mgt.SimpleSession
- isValid() - Method in interface org.apache.shiro.session.mgt.ValidatingSession
- isValid(SessionKey) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
- isValid(SessionKey) - Method in interface org.apache.shiro.session.mgt.NativeSessionManager
-
Returns
true
if the associated session is valid (it exists and is not stopped nor expired),false
otherwise. - isWeb(Object) - Static method in class org.apache.shiro.web.util.WebUtils
- iterator() - Method in class org.apache.shiro.subject.SimplePrincipalCollection
- iterator() - Method in class org.apache.shiro.subject.SimplePrincipalMap
- iterator() - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
J
- JAVA_13 - Static variable in class org.apache.shiro.util.JavaEnvironment
-
Deprecated.Constant identifying the 1.3.x JVM (JDK 1.3).
- JAVA_14 - Static variable in class org.apache.shiro.util.JavaEnvironment
-
Deprecated.Constant identifying the 1.4.x JVM (J2SE 1.4).
- JAVA_15 - Static variable in class org.apache.shiro.util.JavaEnvironment
-
Deprecated.Constant identifying the 1.5 JVM (Java 5).
- JAVA_16 - Static variable in class org.apache.shiro.util.JavaEnvironment
-
Deprecated.Constant identifying the 1.6 JVM (Java 6).
- JAVA_17 - Static variable in class org.apache.shiro.util.JavaEnvironment
-
Deprecated.Constant identifying the 1.7 JVM.
- JAVA_18 - Static variable in class org.apache.shiro.util.JavaEnvironment
-
Deprecated.Constant identifying the 1.8 JVM.
- JavaEnvironment - Class in org.apache.shiro.util
-
Deprecated.This class is no longer used in Shiro and will be removed in the next major version.
- JavaEnvironment() - Constructor for class org.apache.shiro.util.JavaEnvironment
-
Deprecated.
- JavaUuidSessionIdGenerator - Class in org.apache.shiro.session.mgt.eis
-
SessionIdGenerator
that generates String values of JDKUUID
's as the session IDs. - JavaUuidSessionIdGenerator() - Constructor for class org.apache.shiro.session.mgt.eis.JavaUuidSessionIdGenerator
- JcaCipherService - Class in org.apache.shiro.crypto
-
Abstract
CipherService
implementation utilizing Java's JCA APIs. - JcaCipherService(String) - Constructor for class org.apache.shiro.crypto.JcaCipherService
-
Creates a new
JcaCipherService
instance which will use the specified cipheralgorithmName
for all encryption, decryption, and key operations. - JdbcRealm - Class in org.apache.shiro.realm.jdbc
-
Realm that allows authentication and authorization via JDBC calls.
- JdbcRealm() - Constructor for class org.apache.shiro.realm.jdbc.JdbcRealm
- JdbcRealm.SaltStyle - Enum in org.apache.shiro.realm.jdbc
-
Password hash salt configuration.
- JdbcUtils - Class in org.apache.shiro.util
-
A set of static helper methods for managing JDBC API objects.
- jetty - Static variable in class org.apache.shiro.testing.web.AbstractContainerIT
- JndiCallback - Interface in org.apache.shiro.jndi
-
Callback interface to be implemented by classes that need to perform an operation (such as a lookup) in a JNDI context.
- JndiLdapContextFactory - Class in org.apache.shiro.realm.ldap
-
LdapContextFactory
implementation using the default Sun/Oracle JNDI Ldap API, utilizing JNDI environment properties and anInitialContext
. - JndiLdapContextFactory() - Constructor for class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
Default no-argument constructor that initializes the backing
environment template
with thecontextFactoryClassName
equal tocom.sun.jndi.ldap.LdapCtxFactory
(the Sun/Oracle default) and the defaultreferral
behavior tofollow
. - JndiLdapRealm - Class in org.apache.shiro.realm.ldap
-
Deprecated.Renamed to
DefaultLdapRealm
, this class will be removed prior to 2.0 - JndiLdapRealm() - Constructor for class org.apache.shiro.realm.ldap.JndiLdapRealm
-
Deprecated.
- JndiLocator - Class in org.apache.shiro.jndi
-
Convenient superclass for JNDI accessors, providing "jndiTemplate" and "jndiEnvironment" bean properties.
- JndiLocator() - Constructor for class org.apache.shiro.jndi.JndiLocator
- JndiObjectFactory<T> - Class in org.apache.shiro.jndi
-
A factory implementation intended to be used to look up objects in jndi.
- JndiObjectFactory() - Constructor for class org.apache.shiro.jndi.JndiObjectFactory
- JndiRealmFactory - Class in org.apache.shiro.realm.jndi
-
Looks up one or more Realm instances from JNDI using specified
jndiNames
. - JndiRealmFactory() - Constructor for class org.apache.shiro.realm.jndi.JndiRealmFactory
- JndiTemplate - Class in org.apache.shiro.jndi
-
Helper class that simplifies JNDI operations.
- JndiTemplate() - Constructor for class org.apache.shiro.jndi.JndiTemplate
-
Create a new JndiTemplate instance.
- JndiTemplate(Properties) - Constructor for class org.apache.shiro.jndi.JndiTemplate
-
Create a new JndiTemplate instance, using the given environment.
- join(Iterator<?>, String) - Static method in class org.apache.shiro.util.StringUtils
-
Joins the elements of the provided
Iterator
into a single String containing the provided elements.
K
- keys() - Method in interface org.apache.shiro.cache.Cache
-
Returns a view of all the keys for entries contained in this cache.
- keys() - Method in class org.apache.shiro.cache.ehcache.EhCache
- keys() - Method in class org.apache.shiro.cache.MapCache
- keySet() - Method in class org.apache.shiro.config.Ini
- keySet() - Method in class org.apache.shiro.config.Ini.Section
- keySet() - Method in class org.apache.shiro.subject.SimplePrincipalMap
- keySet() - Method in class org.apache.shiro.util.MapContext
- keySet() - Method in class org.apache.shiro.util.SoftHashMap
L
- LacksPermissionTag - Class in org.apache.shiro.web.tags
- LacksPermissionTag() - Constructor for class org.apache.shiro.web.tags.LacksPermissionTag
- LacksRoleTag - Class in org.apache.shiro.web.tags
- LacksRoleTag() - Constructor for class org.apache.shiro.web.tags.LacksRoleTag
- lastIndexOf(Object) - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
- LAX - org.apache.shiro.web.servlet.Cookie.SameSiteOptions
-
Cookies are allowed to be sent with top-level navigations and will be sent along with GET requests initiated by third party website.
- LdapContextFactory - Interface in org.apache.shiro.realm.ldap
-
Interface that encapsulates the creation of
LdapContext
objects that are used byDefaultLdapRealm
s to perform authentication attempts and query for authorization data. - LdapUtils - Class in org.apache.shiro.realm.ldap
-
Utility class providing static methods to make working with LDAP easier.
- LdapUtils() - Constructor for class org.apache.shiro.realm.ldap.LdapUtils
- lifecycleBeanPostProcessor() - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration
- lifecycleBeanPostProcessor() - Method in class org.apache.shiro.spring.config.AbstractShiroBeanConfiguration
- lifecycleBeanPostProcessor() - Method in class org.apache.shiro.spring.config.ShiroBeanConfiguration
- LifecycleBeanPostProcessor - Class in org.apache.shiro.spring
-
Bean post processor for Spring that automatically calls the init() and/or destroy() methods on Shiro objects that implement the
Initializable
orDestroyable
interfaces, respectfully. - LifecycleBeanPostProcessor() - Constructor for class org.apache.shiro.spring.LifecycleBeanPostProcessor
-
Default Constructor.
- LifecycleBeanPostProcessor(int) - Constructor for class org.apache.shiro.spring.LifecycleBeanPostProcessor
-
Constructor with definable
order value
. - LifecycleUtils - Class in org.apache.shiro.util
-
Utility class to help call
Initializable.init()
andDestroyable.destroy()
methods cleanly on any object. - LifecycleUtils() - Constructor for class org.apache.shiro.util.LifecycleUtils
- listIterator() - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
- listIterator(int) - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
- load(InputStream) - Method in class org.apache.shiro.config.Ini
-
Loads the INI-formatted text backed by the given InputStream into this instance.
- load(Reader) - Method in class org.apache.shiro.config.Ini
-
Loads the INI-formatted text backed by the given Reader into this instance.
- load(String) - Method in class org.apache.shiro.config.Ini
-
Loads the specified raw INI-formatted text into this instance.
- load(Scanner) - Method in class org.apache.shiro.config.Ini
-
Loads the INI-formatted text backed by the given Scanner.
- loadDefaultClassPathIni() - Static method in class org.apache.shiro.config.IniFactorySupport
-
Deprecated.Returns a new Ini instance created from the default
classpath:shiro.ini
file, ornull
if the file does not exist. - loadFromPath(String) - Method in class org.apache.shiro.config.Ini
-
Loads data from the specified resource path into this current
Ini
instance. - loadIniFromConfig() - Method in class org.apache.shiro.web.servlet.IniShiroFilter
-
Deprecated.
- loadIniFromPath() - Method in class org.apache.shiro.web.servlet.IniShiroFilter
-
Deprecated.
- LockedAccountException - Exception in org.apache.shiro.authc
-
A special kind of DisabledAccountException, this exception is thrown when attempting to authenticate and the corresponding account has been disabled explicitly due to being locked.
- LockedAccountException() - Constructor for exception org.apache.shiro.authc.LockedAccountException
-
Creates a new LockedAccountException.
- LockedAccountException(String) - Constructor for exception org.apache.shiro.authc.LockedAccountException
-
Constructs a new LockedAccountException.
- LockedAccountException(String, Throwable) - Constructor for exception org.apache.shiro.authc.LockedAccountException
-
Constructs a new LockedAccountException.
- LockedAccountException(Throwable) - Constructor for exception org.apache.shiro.authc.LockedAccountException
-
Constructs a new LockedAccountException.
- log - Static variable in class org.apache.shiro.hazelcast.cache.HazelcastCacheManager
- LoggingBeanEventListener - Class in org.apache.shiro.config.event
-
A stock bean listener implementation that logs all BeanEvents as TRACE log statements.
- LoggingBeanEventListener() - Constructor for class org.apache.shiro.config.event.LoggingBeanEventListener
- logical() - Method in annotation type org.apache.shiro.authz.annotation.RequiresPermissions
-
The logical operation for the permission checks in case multiple roles are specified.
- logical() - Method in annotation type org.apache.shiro.authz.annotation.RequiresRoles
-
The logical operation for the permission check in case multiple roles are specified.
- Logical - Enum in org.apache.shiro.authz.annotation
-
An enum for specifying a logical operation that can be used for interpreting authorization annotations
- login(AuthenticationToken) - Method in interface org.apache.shiro.subject.Subject
-
Performs a login attempt for this Subject/user.
- login(AuthenticationToken) - Method in class org.apache.shiro.subject.support.DelegatingSubject
- login(Subject, AuthenticationToken) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
-
First authenticates the
AuthenticationToken
argument, and if successful, constructs aSubject
instance representing the authenticated account's identity. - login(Subject, AuthenticationToken) - Method in interface org.apache.shiro.mgt.SecurityManager
-
Logs in the specified Subject using the given
authenticationToken
, returning an updated Subject instance reflecting the authenticated state if successful or throwingAuthenticationException
if it is not. - LoginController - Class in org.apache.shiro.samples
- LoginController() - Constructor for class org.apache.shiro.samples.LoginController
- loginTemplate() - Method in class org.apache.shiro.samples.LoginController
- loginUrl - Variable in class org.apache.shiro.spring.web.config.AbstractShiroWebFilterConfiguration
- logout - org.apache.shiro.web.filter.mgt.DefaultFilter
- logout() - Method in interface org.apache.shiro.subject.Subject
-
Logs out this Subject and invalidates and/or removes any associated entities, such as a
Session
and authorization data. - logout() - Method in class org.apache.shiro.subject.support.DelegatingSubject
- logout(Subject) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
- logout(Subject) - Method in interface org.apache.shiro.mgt.SecurityManager
-
Logs out the specified Subject from the system.
- LOGOUT - Static variable in class org.apache.shiro.guice.web.ShiroWebModule
- LogoutAware - Interface in org.apache.shiro.authc
-
An SPI interface allowing cleanup logic to be executed during logout of a previously authenticated Subject/user.
- LogoutFilter - Class in org.apache.shiro.web.filter.authc