- 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 another
Session
, 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 specified Permission
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(Throwable) - 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.
- 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.Section - Class in org.apache.shiro.config
-
An
Ini.Section
is String-key-to-String-value Map, identifiable by a
name
unique within an
Ini
instance.
- INI_REALM_NAME - Static variable in class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.
- IniFactorySupport<T> - Class in org.apache.shiro.config
-
- 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
-
- IniRealm - Class in org.apache.shiro.realm.text
-
- IniRealm() - Constructor for class org.apache.shiro.realm.text.IniRealm
-
- IniRealm(Ini) - Constructor for class org.apache.shiro.realm.text.IniRealm
-
This constructor will immediately process the definitions in the Ini
argument.
- IniRealm(String) - Constructor for class org.apache.shiro.realm.text.IniRealm
-
This constructor will immediately process the definitions in the Ini
resolved from the specified
resourcePath
.
- IniSecurityManagerFactory - Class in org.apache.shiro.config
-
- IniSecurityManagerFactory() - Constructor for class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.
Creates a new instance.
- IniSecurityManagerFactory(Ini) - Constructor for class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.
- IniSecurityManagerFactory(String) - Constructor for class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.
- IniShiroFilter - Class in org.apache.shiro.web.servlet
-
- 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 backing
HazelcastInstance
.
- 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(Object) - Static method in class org.apache.shiro.util.LifecycleUtils
-
- init(Initializable) - 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() - Method in class org.apache.shiro.web.env.IniWebEnvironment
-
Initializes this instance by resolving any potential (explicit or resource-configured)
Ini
configuration and calling
configure
for actual instance configuration.
- init(FilterConfig) - Method in class org.apache.shiro.web.servlet.AbstractFilter
-
- 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
-
- initEnvironment(ServletContext) - Method in class org.apache.shiro.web.env.EnvironmentLoader
-
- initFilter(Filter) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
-
- 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
-
WebEnvironment
implementation configured by an
Ini
instance or
Ini
resource locations.
- 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(Throwable) - 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.
- 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.
- invalidate() - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
-
- InvalidPermissionStringException - Exception in org.apache.shiro.authz.permission
-
- InvalidPermissionStringException(String, String) - Constructor for exception org.apache.shiro.authz.permission.InvalidPermissionStringException
-
Constructs a new exception with the given message and permission string.
- 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(Throwable) - 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.
- 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 the
assertAuthorized
method first.
- invoke(MethodInvocation) - Method in class org.apache.shiro.authz.aop.AuthorizingMethodInterceptor
-
Invokes the specified method (
methodInvocation.proceed
()
if authorization is allowed by first
calling
assertAuthorized
.
- invoke(RemoteInvocation, Object) - Method in class org.apache.shiro.spring.remoting.SecureRemoteInvocationExecutor
-
- invoke(MethodInvocation) - Method in class org.apache.shiro.spring.security.interceptor.AopAllianceAnnotationsAuthorizingMethodInterceptor
-
Creates a Shiro
MethodInvocation
instance and then immediately calls
super.invoke
.
- 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
-
- 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.BasicHttpAuthenticationFilter
-
The Basic authentication filter can be configured with a list of HTTP methods to which it should apply.
- isAccessAllowed(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.authc.UserFilter
-
Returns
true
if the request is a
loginRequest
or
if the current
subject
is not
null
,
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 (the
mappedValue
argument is a
String[]
array), and
delegates the permission check for the newly constructed permission(s) to the superclass
isAccessAllowed
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()
.
- isAssignable(Class, Class) - Static method in class org.apache.shiro.util.Assert
-
Assert that superType.isAssignableFrom(subType)
is true
.
- isAssignable(Class, Class, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that superType.isAssignableFrom(subType)
is true
.
- isAtLeastVersion14() - Static method in class org.apache.shiro.util.JavaEnvironment
-
Convenience method to determine if the current JVM is at least Java 1.4.
- isAtLeastVersion15() - Static method in class org.apache.shiro.util.JavaEnvironment
-
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
-
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 constructed Subject
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 a
CacheManager
has been
configured
,
false
otherwise.
- isAuthenticationCachingEnabled(AuthenticationToken, AuthenticationInfo) - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
- isAuthorizationCachingEnabled() - Method in class org.apache.shiro.realm.AuthorizingRealm
-
Returns
true
if authorization caching should be utilized if a
CacheManager
has been
configured
,
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.
- 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
-
- isCompatible(Object) - Static method in class org.apache.shiro.util.ByteSource.Util
-
Returns
true
if the specified object can be easily represented as a
ByteSource
using
the
ByteSource.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(Collection) - Static method in class org.apache.shiro.util.CollectionUtils
-
Returns
true
if the specified
Collection
is
null
or
empty
,
false
otherwise.
- isEmpty(Map) - Static method in class org.apache.shiro.util.CollectionUtils
-
Returns
true
if the specified
Map
is
null
or
empty
,
false
otherwise.
- isEmpty(PrincipalCollection) - Static method in class org.apache.shiro.util.CollectionUtils
-
- 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
-
- 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(ServletRequest, ServletResponse, String, Object) - Method in class org.apache.shiro.web.filter.PathMatchingFilter
-
- 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 the
FilterChain
.
- 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 the FilterChain
.
- 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.
- 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() - Method in class org.apache.shiro.crypto.JcaCipherService
-
- 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 a
HashRequest
does not specify a salt,
false
otherwise.
- isHashSalted() - Method in class org.apache.shiro.authc.credential.HashedCredentialsMatcher
-
- 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.
- 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.
- isLoginAttempt(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
-
Determines whether the incoming request is an attempt to log in.
- isLoginAttempt(String) - Method in class org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
-
Default implementation that returns
true
if the specified
authzHeader
starts with the same (case-insensitive) characters specified by the
authzScheme
,
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.
- isLoginRequest(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
-
- isLoginSubmission(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
-
This default implementation merely returns true
if the request is an HTTP POST
,
false
otherwise.
- isNew() - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
-
- isNull(Object, String) - Static method in class org.apache.shiro.util.Assert
-
Assert that an object is null
.
- isNull(Object) - Static method in class org.apache.shiro.util.Assert
-
Assert that an object is null
.
- isPattern(String) - Method in class org.apache.shiro.util.AntPathMatcher
-
- isPermissive(Object) - Method in class org.apache.shiro.web.filter.authc.AuthenticatingFilter
-
- 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, 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, 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, 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, String) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
- isPermitted(PrincipalCollection, Permission) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
- isPermitted(PrincipalCollection, String...) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
- isPermitted(PrincipalCollection, List<Permission>) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
- isPermitted(Permission) - Method in class org.apache.shiro.authz.SimpleRole
-
- isPermitted(PrincipalCollection, String) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
-
- isPermitted(PrincipalCollection, Permission) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
-
- isPermitted(PrincipalCollection, String...) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
-
- isPermitted(PrincipalCollection, List<Permission>) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
-
- isPermitted(PrincipalCollection, String) - Method in class org.apache.shiro.realm.AuthorizingRealm
-
- isPermitted(PrincipalCollection, Permission) - Method in class org.apache.shiro.realm.AuthorizingRealm
-
- isPermitted(Permission, AuthorizationInfo) - Method in class org.apache.shiro.realm.AuthorizingRealm
-
- isPermitted(PrincipalCollection, String...) - Method in class org.apache.shiro.realm.AuthorizingRealm
-
- isPermitted(PrincipalCollection, List<Permission>) - Method in class org.apache.shiro.realm.AuthorizingRealm
-
- isPermitted(List<Permission>, AuthorizationInfo) - Method in class org.apache.shiro.realm.AuthorizingRealm
-
- 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(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(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(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(String) - Method in class org.apache.shiro.subject.support.DelegatingSubject
-
- isPermitted(Permission) - Method in class org.apache.shiro.subject.support.DelegatingSubject
-
- isPermitted(String...) - Method in class org.apache.shiro.subject.support.DelegatingSubject
-
- isPermitted(List<Permission>) - Method in class org.apache.shiro.subject.support.DelegatingSubject
-
- isPermitted(String) - Method in class org.apache.shiro.web.tags.PermissionTag
-
- 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, 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, String...) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
- isPermittedAll(PrincipalCollection, Collection<Permission>) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
- isPermittedAll(PrincipalCollection, String...) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
-
- isPermittedAll(PrincipalCollection, Collection<Permission>) - 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 class org.apache.shiro.realm.AuthorizingRealm
-
- isPermittedAll(Collection<Permission>, AuthorizationInfo) - 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(Collection<Permission>) - Method in interface org.apache.shiro.subject.Subject
-
Returns true
if this Subject implies all of the specified permissions, false
otherwise.
- isPermittedAll(String...) - Method in class org.apache.shiro.subject.support.DelegatingSubject
-
- isPermittedAll(Collection<Permission>) - Method in class org.apache.shiro.subject.support.DelegatingSubject
-
- 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 this
Subject
has an identity (it is not anonymous) and the identity
(aka
principals
) 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(AuthenticationToken) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Determines whether or not remember me services should be performed for the specified token.
- 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
current request
, false
otherwise.
- isRememberMe(ServletRequest) - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
-
- 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 this Subject
is 'running as' another identity other than its original one or
false
otherwise (normal Subject
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 or
false
if managed by Shiro directly (called 'native' sessions).
- isSessionCreationEnabled() - Method in interface org.apache.shiro.subject.SubjectContext
-
Returns true
if the constructed Subject
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
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(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 called
subject.getSession()
already), Shiro will use that existing session to store subject state.
If a Subject does not yet have a Session, this implementation checks the
sessionStorageEnabled
property:
If
sessionStorageEnabled
is true (the default setting), a new session may be created to persist
Subject state if necessary.
If
sessionStorageEnabled
is
false
, a new session will
not be created to persist
session state.
Most applications use Sessions and are OK with the default
true
setting for
sessionStorageEnabled
.
- isSessionStorageEnabled() - Method in class org.apache.shiro.mgt.DefaultSessionStorageEvaluator
-
Returns true
if any Subject's Session
may be used to persist that Subject
's state,
false
otherwise.
- 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 specified
Subject
's
session
may be used to persist that Subject's
state,
false
otherwise.
- isSessionStorageEnabled(Subject) - Method in class org.apache.shiro.web.mgt.DefaultWebSessionStorageEvaluator
-
- 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.servlet.AbstractShiroFilter
-
- 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, 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.
- 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.
- 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, String) - Static method in class org.apache.shiro.util.Assert
-
Assert a boolean expression, throwing IllegalArgumentException
if the test result is false
.
- isTrue(boolean) - Static method in class org.apache.shiro.util.Assert
-
Assert a boolean expression, throwing IllegalArgumentException
if the test result is false
.
- 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(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.
- isValid() - Method in class org.apache.shiro.session.mgt.SimpleSession
-
- isValid() - Method in interface org.apache.shiro.session.mgt.ValidatingSession
-
- 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
-
- objectPermissions - Variable in class org.apache.shiro.authz.SimpleAuthorizationInfo
-
Collection of all object-based permissions associated with the account.
- objects - Variable in class org.apache.shiro.env.DefaultEnvironment
-
- objectToBytes(Object) - Method in class org.apache.shiro.codec.CodecSupport
-
Default implementation throws a CodecException immediately since it can't infer how to convert the Object
to a byte array.
- objectToString(Object) - Method in class org.apache.shiro.codec.CodecSupport
-
Default implementation merely returns objectArgument.toString()
.
- onAccessDenied(ServletRequest, ServletResponse) - Method in class org.apache.shiro.cas.CasFilter
-
Deprecated.
Execute login by creating
token
and logging subject
with this token.
- onAccessDenied(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.AccessControlFilter
-
Processes requests where the subject was denied access as determined by the
isAccessAllowed
method, retaining the
mappedValue
that was used during configuration.
- onAccessDenied(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.AccessControlFilter
-
Processes requests where the subject was denied access as determined by the
isAccessAllowed
method.
- onAccessDenied(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
-
Processes unauthenticated requests.
- onAccessDenied(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
-
- onAccessDenied(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.PassThruAuthenticationFilter
-
- onAccessDenied(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.UserFilter
-
This default implementation simply calls
saveRequestAndRedirectToLogin
and then immediately returns
false
, thereby preventing the chain from continuing so the redirect may
execute.
- onAccessDenied(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authz.AuthorizationFilter
-
Handles the response when access has been denied.
- onAccessDenied(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.authz.PortFilter
-
Redirects the request to the same exact incoming URL, but with the port listed in the filter's configuration.
- OncePerRequestFilter - Class in org.apache.shiro.web.servlet
-
Filter base class that guarantees to be just executed once per request,
on any servlet container.
- OncePerRequestFilter() - Constructor for class org.apache.shiro.web.servlet.OncePerRequestFilter
-
- onChange(Session) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
-
- onChange(Session) - Method in class org.apache.shiro.session.mgt.DefaultSessionManager
-
- onDoStartTag() - Method in class org.apache.shiro.web.tags.AuthenticatedTag
-
- onDoStartTag() - Method in class org.apache.shiro.web.tags.GuestTag
-
- onDoStartTag() - Method in class org.apache.shiro.web.tags.NotAuthenticatedTag
-
- onDoStartTag() - Method in class org.apache.shiro.web.tags.PermissionTag
-
- onDoStartTag() - Method in class org.apache.shiro.web.tags.PrincipalTag
-
- onDoStartTag() - Method in class org.apache.shiro.web.tags.RoleTag
-
- onDoStartTag() - Method in class org.apache.shiro.web.tags.SecureTag
-
- onDoStartTag() - Method in class org.apache.shiro.web.tags.UserTag
-
- ONE_YEAR - Static variable in interface org.apache.shiro.web.servlet.Cookie
-
The number of seconds in one year (= 60 * 60 * 24 * 365).
- oneByType(Class<T>) - Method in interface org.apache.shiro.subject.PrincipalCollection
-
Returns the first discovered principal assignable from the specified type, or null
if there are none
of the specified type.
- oneByType(Class<T>) - Method in class org.apache.shiro.subject.SimplePrincipalCollection
-
- oneByType(Class<T>) - Method in class org.apache.shiro.subject.SimplePrincipalMap
-
- onEquals(SimpleSession) - Method in class org.apache.shiro.session.mgt.SimpleSession
-
Provides an attribute-based comparison (no ID comparison) - incurred only when 'this' or the
session object being compared for equality do not have a session id.
- onEvent(BeanEvent) - Method in class org.apache.shiro.config.event.LoggingBeanEventListener
-
- onEvent(Object) - Method in interface org.apache.shiro.event.support.EventListener
-
Handles the specified event.
- onEvent(Object) - Method in class org.apache.shiro.event.support.SingleArgumentMethodEventListener
-
- onExpiration(Session, ExpiredSessionException, SessionKey) - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
-
- onExpiration(Session) - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
-
- onExpiration(Session) - Method in class org.apache.shiro.session.mgt.DefaultSessionManager
-
- onExpiration(Session) - Method in interface org.apache.shiro.session.SessionListener
-
Notification callback that occurs when the corresponding Session has expired.
- onExpiration(Session) - Method in class org.apache.shiro.session.SessionListenerAdapter
-
Adapter no-op implementation - does nothing and returns immediately.
- onExpiration(Session, ExpiredSessionException, SessionKey) - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionManager
-
- onFailedLogin(Subject, AuthenticationToken, AuthenticationException) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Reacts to a failed login by immediately
forgetting
any
previously remembered identity.
- onFailedLogin(AuthenticationToken, AuthenticationException, Subject) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
-
- onFailedLogin(Subject, AuthenticationToken, AuthenticationException) - Method in interface org.apache.shiro.mgt.RememberMeManager
-
Reacts to a failed authentication attempt, typically by forgetting any previously remembered principals for the
Subject.
- onFailure(AuthenticationToken, AuthenticationException) - Method in interface org.apache.shiro.authc.AuthenticationListener
-
Callback triggered when an authentication attempt for a Subject
has failed.
- onFilterConfigSet() - Method in class org.apache.shiro.web.servlet.AbstractFilter
-
Template method to be overridden by subclasses to perform initialization logic at start-up.
- onFilterConfigSet() - Method in class org.apache.shiro.web.servlet.AbstractShiroFilter
-
- onInit() - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- onInit() - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Template method for subclasses to implement any initialization logic.
- onInit() - Method in class org.apache.shiro.realm.AuthorizingRealm
-
Initializes this realm and potentially enables a cache, depending on configuration.
- onInit() - Method in class org.apache.shiro.realm.ldap.AbstractLdapRealm
-
- onInit() - Method in class org.apache.shiro.realm.text.IniRealm
-
- onInit() - Method in class org.apache.shiro.realm.text.PropertiesRealm
-
- onInit() - Method in class org.apache.shiro.realm.text.TextConfigurationRealm
-
Will call 'processDefinitions' on startup.
- onInvalidation(Session, InvalidSessionException, SessionKey) - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
-
- onInvalidation(Session, InvalidSessionException, SessionKey) - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionManager
-
- onLoginFailure(AuthenticationToken, AuthenticationException, ServletRequest, ServletResponse) - Method in class org.apache.shiro.cas.CasFilter
-
Deprecated.
If login has failed, redirect user to the CAS error page (no ticket or ticket validation failed) except if the user is already
authenticated, in which case redirect to the default success url.
- onLoginFailure(AuthenticationToken, AuthenticationException, ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.AuthenticatingFilter
-
- onLoginFailure(AuthenticationToken, AuthenticationException, ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
-
- onLoginSuccess(AuthenticationToken, Subject, ServletRequest, ServletResponse) - Method in class org.apache.shiro.cas.CasFilter
-
Deprecated.
If login has been successful, redirect user to the original protected url.
- onLoginSuccess(AuthenticationToken, Subject, ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.AuthenticatingFilter
-
- onLoginSuccess(AuthenticationToken, Subject, ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
-
- onLogout(PrincipalCollection) - Method in class org.apache.shiro.authc.AbstractAuthenticator
-
This implementation merely calls
notifyLogout
to allow any registered listeners
to react to the logout.
- onLogout(PrincipalCollection) - Method in interface org.apache.shiro.authc.AuthenticationListener
-
Callback triggered when a Subject
logs-out of the system.
- onLogout(PrincipalCollection) - Method in interface org.apache.shiro.authc.LogoutAware
-
Callback triggered when a Subject
logs out of the system.
- onLogout(PrincipalCollection) - Method in class org.apache.shiro.authc.pam.ModularRealmAuthenticator
-
First calls
super.onLogout(principals)
to ensure a logout notification is issued, and for each
wrapped
Realm
that implements the
LogoutAware
interface, calls
((LogoutAware)realm).onLogout(principals)
to allow each realm the opportunity to perform
logout/cleanup operations during an user-logout.
- onLogout(Subject) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Reacts to a subject logging out of the application and immediately
forgets
any previously stored identity and returns.
- onLogout(Subject) - Method in interface org.apache.shiro.mgt.RememberMeManager
-
Reacts to a Subject logging out of the application, typically by forgetting any previously remembered
principals for the Subject.
- onLogout(PrincipalCollection) - Method in class org.apache.shiro.realm.CachingRealm
-
If caching is enabled, this will clear any cached data associated with the specified account identity.
- onLogoutRequestNotAPost(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.LogoutFilter
-
This method is called when postOnlyLogout
is true
, and the request was NOT a POST
.
- onPreHandle(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.AccessControlFilter
-
- onPreHandle(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.authc.AnonymousFilter
-
Always returns true
allowing unchecked access to the underlying path or resource.
- onPreHandle(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.PathMatchingFilter
-
This default implementation always returns true
and should be overridden by subclasses for custom
logic if necessary.
- onPreHandle(ServletRequest, ServletResponse, Object) - Method in class org.apache.shiro.web.filter.session.NoSessionCreationFilter
-
- onRememberedPrincipalFailure(RuntimeException, SubjectContext) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Called when an exception is thrown while trying to retrieve principals.
- onStart(Session, SessionContext) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
-
Template method that allows subclasses to react to a new session being created.
- onStart(Session) - Method in interface org.apache.shiro.session.SessionListener
-
Notification callback that occurs when the corresponding Session has started.
- onStart(Session) - Method in class org.apache.shiro.session.SessionListenerAdapter
-
Adapter no-op implementation - does nothing and returns immediately.
- onStart(Session, SessionContext) - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionManager
-
Stores the Session's ID, usually as a Cookie, to associate with future requests.
- onStop(Session, SessionKey) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
-
- onStop(Session) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
-
- onStop(Session) - Method in class org.apache.shiro.session.mgt.DefaultSessionManager
-
- onStop(Session) - Method in interface org.apache.shiro.session.SessionListener
-
Notification callback that occurs when the corresponding Session has stopped, either programmatically via
Session.stop()
or automatically upon a subject logging out.
- onStop(Session) - Method in class org.apache.shiro.session.SessionListenerAdapter
-
Adapter no-op implementation - does nothing and returns immediately.
- onStop(Session, SessionKey) - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionManager
-
- onSuccess(AuthenticationToken, AuthenticationInfo) - Method in interface org.apache.shiro.authc.AuthenticationListener
-
Callback triggered when an authentication attempt for a Subject
has succeeded.
- onSuccessfulLogin(Subject, AuthenticationToken, AuthenticationInfo) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Reacts to the successful login attempt by first always
forgetting
any previously
stored identity.
- onSuccessfulLogin(AuthenticationToken, AuthenticationInfo, Subject) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
-
- onSuccessfulLogin(Subject, AuthenticationToken, AuthenticationInfo) - Method in interface org.apache.shiro.mgt.RememberMeManager
-
Reacts to a successful authentication attempt, typically saving the principals to be retrieved ('remembered')
for future system access.
- OperationMode - Enum in org.apache.shiro.crypto
-
A cipher
mode of operation
directs a cipher algorithm how to convert data during the encryption or decryption process.
- org.apache.shiro - package org.apache.shiro
-
This package primarily exists as a root classpath distinction, but it does contain two core classes widely used
by applications,
SecurityUtils
and
ShiroException
.
- org.apache.shiro.aop - package org.apache.shiro.aop
-
Components used to support the framework's AOP/interception support classes.
- org.apache.shiro.aspectj - package org.apache.shiro.aspectj
-
AspectJ support for enabling
dynamic authorization using Shiro's annotations.
- org.apache.shiro.authc - package org.apache.shiro.authc
-
Core interfaces and exceptions concerning Authentication (the act of logging-in).
- org.apache.shiro.authc.credential - package org.apache.shiro.authc.credential
-
Support for validating
credentials (such as passwords or X509 certificates) during
authentication via the
CredentialsMatcher
interface and its supporting implementations.
- org.apache.shiro.authc.pam - package org.apache.shiro.authc.pam
-
Support for
PAM, or
Pluggable
Authentication
Modules, which is
the capability to authenticate a user against multiple configurable (pluggable)
modules (Shiro
calls these
Realm
s).
- org.apache.shiro.authz - package org.apache.shiro.authz
-
Core interfaces and exceptions supporting Authorization (access control).
- org.apache.shiro.authz.annotation - package org.apache.shiro.authz.annotation
-
Annotations used to restrict which classes, instances, or methods may be accessed or invoked depending on the
caller's access abilities or authentication state.
- org.apache.shiro.authz.aop - package org.apache.shiro.authz.aop
-
Contains AOP implementation support classes specifically used for authorization operations, particularly supporting
AOP Method Interceptors and JSR-175 metadata Annotations.
- org.apache.shiro.authz.permission - package org.apache.shiro.authz.permission
-
Support and default implementations for Shiro's
Permission
interface.
- org.apache.shiro.cache - package org.apache.shiro.cache
-
Caching support used to enhance performance for security operations.
- org.apache.shiro.cache.ehcache - package org.apache.shiro.cache.ehcache
-
Ehcache-based implementations of Shiro's
cache interfaces.
- org.apache.shiro.cas - package org.apache.shiro.cas
-
- org.apache.shiro.codec - package org.apache.shiro.codec
-
Components for encoding and decoding of data across multiple formats, especially useful in Shiro's
cryptography and web functionality.
- org.apache.shiro.concurrent - package org.apache.shiro.concurrent
-
- org.apache.shiro.config - package org.apache.shiro.config
-
Components that support configuring Shiro in any application.
- org.apache.shiro.config.event - package org.apache.shiro.config.event
-
- org.apache.shiro.crypto - package org.apache.shiro.crypto
-
Cryptography Cipher and Hashing components that greatly simplify the JDK's cryptography concepts and
add additional convenient behavior.
- org.apache.shiro.crypto.hash - package org.apache.shiro.crypto.hash
-
Cryptographic Hashing components that greatly simplify one-way data hashing in an application.
- org.apache.shiro.crypto.hash.format - package org.apache.shiro.crypto.hash.format
-
- org.apache.shiro.dao - package org.apache.shiro.dao
-
Package containing various components useful when building Data Access Objects (DAOs), including a generic
Data Access Exception hierarchy.
- org.apache.shiro.env - package org.apache.shiro.env
-
Concepts used to represent Shiro's aggregate state in an application.
- org.apache.shiro.event - package org.apache.shiro.event
-
- org.apache.shiro.event.support - package org.apache.shiro.event.support
-
- org.apache.shiro.guice - package org.apache.shiro.guice
-
- org.apache.shiro.guice.aop - package org.apache.shiro.guice.aop
-
- org.apache.shiro.guice.web - package org.apache.shiro.guice.web
-
- org.apache.shiro.hazelcast.cache - package org.apache.shiro.hazelcast.cache
-
- org.apache.shiro.io - package org.apache.shiro.io
-
Support for reading and writing (input/output) raw data from multiple resource locations.
- org.apache.shiro.jndi - package org.apache.shiro.jndi
-
Enables accessing objects located in JNDI that might be useful when configuring a Shiro-enabled application.
- org.apache.shiro.ldap - package org.apache.shiro.ldap
-
- org.apache.shiro.mgt - package org.apache.shiro.mgt
-
Provides the master
SecurityManager
interface and a default implementation
hierarchy for managing all aspects of Shiro's functionality in an application.
- org.apache.shiro.realm - package org.apache.shiro.realm
-
Components and sub-packages used in supporting the core
Realm
interface.
- org.apache.shiro.realm.activedirectory - package org.apache.shiro.realm.activedirectory
-
Realms that acquire security data from a Microsoft Active Directory.
- org.apache.shiro.realm.jdbc - package org.apache.shiro.realm.jdbc
-
Realms that acquire security data from an RDBMS (Relational Database Management System) using the
JDBC API.
- org.apache.shiro.realm.jndi - package org.apache.shiro.realm.jndi
-
Support for acquiring Realms from JNDI, particularly useful for configuring Shiro in JEE or EJB environments.
- org.apache.shiro.realm.ldap - package org.apache.shiro.realm.ldap
-
Realms that acquire security data from an LDAP (Lightweight Directory Access Protocol) server
utilizing LDAP/Naming APIs.
- org.apache.shiro.realm.text - package org.apache.shiro.realm.text
-
Realms that acquire security data from text-based data sources such as File
s or
text streams.
- org.apache.shiro.samples - package org.apache.shiro.samples
-
- org.apache.shiro.session - package org.apache.shiro.session
-
Components related to managing sessions, the time-based data contexts in which a Subject
interacts with an application.
- org.apache.shiro.session.mgt - package org.apache.shiro.session.mgt
-
- org.apache.shiro.session.mgt.eis - package org.apache.shiro.session.mgt.eis
-
EIS (Enterprise Information System)-tier components that can perform CRUD operations for sessions
using any EIS API.
- org.apache.shiro.session.mgt.quartz - package org.apache.shiro.session.mgt.quartz
-
Quartz-based implementations of
components that help
SessionManager implementations maintain sessions (timed expiration, orphan cleanup,
etc).
- org.apache.shiro.spring - package org.apache.shiro.spring
-
- org.apache.shiro.spring.aop - package org.apache.shiro.spring.aop
-
- org.apache.shiro.spring.boot.autoconfigure - package org.apache.shiro.spring.boot.autoconfigure
-
- org.apache.shiro.spring.config - package org.apache.shiro.spring.config
-
- org.apache.shiro.spring.config.web.autoconfigure - package org.apache.shiro.spring.config.web.autoconfigure
-
- org.apache.shiro.spring.remoting - package org.apache.shiro.spring.remoting
-
Support to enable Spring-based remote method invocations to carry a Shiro session ID as part of the
invocation payload, allowing remote clients to perform security operations.
- org.apache.shiro.spring.security.interceptor - package org.apache.shiro.spring.security.interceptor
-
Spring AOP support for enabling Shiro annotations in Spring-configured applications.
- org.apache.shiro.spring.web - package org.apache.shiro.spring.web
-
Spring-specific components for use in Spring-based web applications.
- org.apache.shiro.spring.web.config - package org.apache.shiro.spring.web.config
-
- org.apache.shiro.subject - package org.apache.shiro.subject
-
Components supporting the
Subject
interface, the most important concept in
Shiro's API.
- org.apache.shiro.subject.support - package org.apache.shiro.subject.support
-
Concrete support implementations of most of the org.apache.shiro.subject
interfaces.
- org.apache.shiro.testing.web - package org.apache.shiro.testing.web
-
- org.apache.shiro.tools.hasher - package org.apache.shiro.tools.hasher
-
- org.apache.shiro.util - package org.apache.shiro.util
-
Your run-of-the-mill 'util' package for components and logic widely used across the framework that can't
find their home into a proper OO hierarchy (or, most likely for things used across many hierarchies).
- org.apache.shiro.web - package org.apache.shiro.web
-
Shiro's web support module to support security in any web-enabled application.
- org.apache.shiro.web.config - package org.apache.shiro.web.config
-
Web-specific implementation extensions to the org.apache.shiro.config
components.
- org.apache.shiro.web.env - package org.apache.shiro.web.env
-
- org.apache.shiro.web.filter - package org.apache.shiro.web.filter
-
Base package supporting all Servlet
Filter
implementations used to control
access to web pages and URL resources.
- org.apache.shiro.web.filter.authc - package org.apache.shiro.web.filter.authc
-
Servlet
Filter
implementations specific to controlling access based on a
subject's authentication status, or those that can execute authentications (log-ins) directly.
- org.apache.shiro.web.filter.authz - package org.apache.shiro.web.filter.authz
-
Servlet
Filter
implementations that perform authorization (access control)
checks based on the Subject's abilities (for example, role or permission checks).
- org.apache.shiro.web.filter.mgt - package org.apache.shiro.web.filter.mgt
-
The filter 'mgt' (management) package contains components used in managing Filters that are available for
filter chain construction, the filter chains themselves, as well as resolving filter chains based by name.
- org.apache.shiro.web.filter.session - package org.apache.shiro.web.filter.session
-
- org.apache.shiro.web.jaxrs - package org.apache.shiro.web.jaxrs
-
- org.apache.shiro.web.mgt - package org.apache.shiro.web.mgt
-
- org.apache.shiro.web.servlet - package org.apache.shiro.web.servlet
-
Shiro-specific implementations of the Servlet API (Servlet Filters, et al).
- org.apache.shiro.web.session - package org.apache.shiro.web.session
-
Components supporting Session management in web-enabled applications.
- org.apache.shiro.web.session.mgt - package org.apache.shiro.web.session.mgt
-
- org.apache.shiro.web.subject - package org.apache.shiro.web.subject
-
Web-specific
Subject
interfaces to enable
Subject
use in web
environments.
- org.apache.shiro.web.subject.support - package org.apache.shiro.web.subject.support
-
Supporting implementations of org.apache.shiro.web.subject
package interfaces.
- org.apache.shiro.web.tags - package org.apache.shiro.web.tags
-
Provides the Shiro JSP Tag Library implementations.
- org.apache.shiro.web.util - package org.apache.shiro.web.util
-
- SaltedAuthenticationInfo - Interface in org.apache.shiro.authc
-
Interface representing account information that may use a salt when hashing credentials.
- saltStyle - Variable in class org.apache.shiro.realm.jdbc.JdbcRealm
-
- save(Subject) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
-
Saves the subject's state to a persistent location for future reference if necessary.
- save(Subject) - Method in class org.apache.shiro.mgt.DefaultSubjectDAO
-
- save(Subject) - Method in interface org.apache.shiro.mgt.SubjectDAO
-
Persists the specified Subject's state for later access.
- SAVED_REQUEST_KEY - Static variable in class org.apache.shiro.web.util.WebUtils
-
Session
key used to save a request and later restore it, for example when redirecting to a
requested page after login, equal to
shiroSavedRequest
.
- SavedRequest - Class in org.apache.shiro.web.util
-
Maintains request data for a request that was redirected, so that after authentication
the user can be redirected to the originally requested page.
- SavedRequest(HttpServletRequest) - Constructor for class org.apache.shiro.web.util.SavedRequest
-
Constructs a new instance from the given HTTP request.
- saveRequest(ServletRequest) - Method in class org.apache.shiro.web.filter.AccessControlFilter
-
- saveRequest(ServletRequest) - Static method in class org.apache.shiro.web.util.WebUtils
-
- saveRequestAndRedirectToLogin(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.AccessControlFilter
-
Convenience method for subclasses to use when a login redirect is required.
- saveTo(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.shiro.web.servlet.Cookie
-
- saveTo(HttpServletRequest, HttpServletResponse) - Method in class org.apache.shiro.web.servlet.SimpleCookie
-
- saveToSession(Subject) - Method in class org.apache.shiro.mgt.DefaultSubjectDAO
-
Saves the subject's state (it's principals and authentication state) to its
session
.
- schedule(Runnable, long, TimeUnit) - Method in class org.apache.shiro.concurrent.SubjectAwareScheduledExecutorService
-
- schedule(Callable<V>, long, TimeUnit) - Method in class org.apache.shiro.concurrent.SubjectAwareScheduledExecutorService
-
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.apache.shiro.concurrent.SubjectAwareScheduledExecutorService
-
- scheduler - Variable in class org.apache.shiro.realm.text.PropertiesRealm
-
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.apache.shiro.concurrent.SubjectAwareScheduledExecutorService
-
- scope(Key<T>, Provider<T>) - Method in class org.apache.shiro.guice.ShiroSessionScope
-
- searchBase - Variable in class org.apache.shiro.realm.ldap.AbstractLdapRealm
-
- searchBase - Variable in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
- searchFilter - Variable in class org.apache.shiro.realm.ldap.AbstractLdapRealm
-
- SECTION_PREFIX - Static variable in class org.apache.shiro.config.Ini
-
- SECTION_SUFFIX - Static variable in class org.apache.shiro.config.Ini
-
- SECURE_ATTRIBUTE_NAME - Static variable in class org.apache.shiro.web.servlet.SimpleCookie
-
- SecureRandomNumberGenerator - Class in org.apache.shiro.crypto
-
- SecureRandomNumberGenerator() - Constructor for class org.apache.shiro.crypto.SecureRandomNumberGenerator
-
Creates a new instance with a default backing
SecureRandom
and a
defaultNextBytesSize
of
16
, which equals 128 bits, a size commonly
used in cryptographic algorithms.
- SecureRemoteInvocationExecutor - Class in org.apache.shiro.spring.remoting
-
An implementation of the Spring RemoteInvocationExecutor
that binds a sessionId
to the incoming thread to make it available to the SecurityManager
implementation during the thread execution.
- SecureRemoteInvocationExecutor() - Constructor for class org.apache.shiro.spring.remoting.SecureRemoteInvocationExecutor
-
- SecureRemoteInvocationFactory - Class in org.apache.shiro.spring.remoting
-
A RemoteInvocationFactory
that passes the session ID to the server via a
RemoteInvocation
attribute
.
- SecureRemoteInvocationFactory() - Constructor for class org.apache.shiro.spring.remoting.SecureRemoteInvocationFactory
-
- SecureRemoteInvocationFactory(String) - Constructor for class org.apache.shiro.spring.remoting.SecureRemoteInvocationFactory
-
- SecureTag - Class in org.apache.shiro.web.tags
-
- SecureTag() - Constructor for class org.apache.shiro.web.tags.SecureTag
-
- SECURITY_MANAGER_KEY - Static variable in class org.apache.shiro.util.ThreadContext
-
- SECURITY_MANAGER_NAME - Static variable in class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.
- SecurityManager - Interface in org.apache.shiro.mgt
-
A SecurityManager
executes all security operations for all Subjects (aka users) across a
single application.
- securityManager(List<Realm>) - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration
-
- securityManager(List<Realm>) - Method in class org.apache.shiro.spring.config.AbstractShiroConfiguration
-
- securityManager(List<Realm>) - Method in class org.apache.shiro.spring.config.ShiroConfiguration
-
- securityManager(List<Realm>) - Method in class org.apache.shiro.spring.config.web.autoconfigure.ShiroWebAutoConfiguration
-
- securityManager - Variable in class org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor
-
- securityManager - Variable in class org.apache.shiro.spring.web.config.AbstractShiroWebFilterConfiguration
-
- securityManager(List<Realm>) - Method in class org.apache.shiro.spring.web.config.ShiroWebConfiguration
-
- securityManager - Variable in class org.apache.shiro.subject.support.DelegatingSubject
-
- SecurityUtils - Class in org.apache.shiro
-
Accesses the currently accessible Subject
for the calling code depending on runtime environment.
- SecurityUtils() - Constructor for class org.apache.shiro.SecurityUtils
-
- sendChallenge(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
-
Builds the challenge for authorization by setting a HTTP
401
(Unauthorized) status as well as the
response's
AUTHENTICATE_HEADER
.
- sendRedirect(HttpServletRequest, HttpServletResponse, String, boolean) - Method in class org.apache.shiro.web.util.RedirectView
-
Send a redirect back to the HTTP client
- SerializationException - Exception in org.apache.shiro.io
-
Root exception for problems either serializing or de-serializing data.
- SerializationException() - Constructor for exception org.apache.shiro.io.SerializationException
-
Creates a new SerializationException.
- SerializationException(String) - Constructor for exception org.apache.shiro.io.SerializationException
-
Constructs a new SerializationException.
- SerializationException(Throwable) - Constructor for exception org.apache.shiro.io.SerializationException
-
Constructs a new SerializationException.
- SerializationException(String, Throwable) - Constructor for exception org.apache.shiro.io.SerializationException
-
Constructs a new SerializationException.
- serialize(T) - Method in class org.apache.shiro.io.DefaultSerializer
-
- serialize(T) - Method in interface org.apache.shiro.io.Serializer
-
Converts the specified Object into a byte[] array.
- serialize(Object) - Method in class org.apache.shiro.io.XmlSerializer
-
Serializes the specified
source
into a byte[] array by using the
XMLEncoder
to encode the object out to a
ByteArrayOutputStream
, where the resulting byte[] array is returned.
- serialize(PrincipalCollection) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Serializes the given
principals
by serializing them to a byte array by using the
serializer
's
serialize
method.
- Serializer<T> - Interface in org.apache.shiro.io
-
A Serializer
converts objects to raw binary data and vice versa, enabling persistent storage
of objects to files, HTTP cookies, or other mechanism.
- SERVLET_REQUEST_KEY - Static variable in class org.apache.shiro.web.util.WebUtils
-
- SERVLET_RESPONSE_KEY - Static variable in class org.apache.shiro.web.util.WebUtils
-
- ServletContainerSessionManager - Class in org.apache.shiro.web.session.mgt
-
SessionManager implementation providing
Session
implementations that are merely wrappers for the
Servlet container's
HttpSession
.
- ServletContainerSessionManager() - Constructor for class org.apache.shiro.web.session.mgt.ServletContainerSessionManager
-
- servletContext - Variable in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
-
- servletContext - Variable in class org.apache.shiro.web.servlet.ShiroHttpSession
-
- ServletContextSupport - Class in org.apache.shiro.web.servlet
-
Base implementation for any components that need to access the web application's
ServletContext
.
- ServletContextSupport() - Constructor for class org.apache.shiro.web.servlet.ServletContextSupport
-
- Session - Interface in org.apache.shiro.session
-
A Session
is a stateful data context associated with a single Subject (user, daemon process,
etc) who interacts with a software system over a period of time.
- session(Session) - Method in class org.apache.shiro.subject.Subject.Builder
-
Ensures the
Subject
being built will use the specified
Session
instance.
- session - Variable in class org.apache.shiro.subject.support.DelegatingSubject
-
- session - Variable in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
-
- session - Variable in class org.apache.shiro.web.servlet.ShiroHttpSession
-
- SESSION_CREATION_ENABLED - Static variable in class org.apache.shiro.subject.support.DefaultSubjectContext
-
- SESSION_ID_KEY - Static variable in class org.apache.shiro.spring.remoting.SecureRemoteInvocationFactory
-
- SESSION_ID_URL_REWRITING_ENABLED - Static variable in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
-
- SessionContext - Interface in org.apache.shiro.session.mgt
-
A
SessionContext
is a 'bucket' of data presented to a
SessionFactory
which interprets
this data to construct
Session
instances.
- sessionCookieTemplate() - Method in class org.apache.shiro.spring.config.web.autoconfigure.ShiroWebAutoConfiguration
-
- sessionCookieTemplate() - Method in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
- sessionCookieTemplate() - Method in class org.apache.shiro.spring.web.config.ShiroWebConfiguration
-
- sessionCreationEnabled(boolean) - Method in class org.apache.shiro.subject.Subject.Builder
-
Configures whether or not the created Subject instance can create a new Session
if one does not
already exist.
- sessionCreationEnabled - Variable in class org.apache.shiro.subject.support.DelegatingSubject
-
- sessionDAO - Variable in class org.apache.shiro.session.mgt.DefaultSessionManager
-
- SessionDAO - Interface in org.apache.shiro.session.mgt.eis
-
Data Access Object design pattern specification to enable
Session
access to an
EIS (Enterprise Information System).
- sessionDAO() - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration
-
- sessionDAO() - Method in class org.apache.shiro.spring.config.AbstractShiroConfiguration
-
- sessionDAO() - Method in class org.apache.shiro.spring.config.ShiroConfiguration
-
- sessionDAO() - Method in class org.apache.shiro.spring.config.web.autoconfigure.ShiroWebAutoConfiguration
-
- sessionDAO() - Method in class org.apache.shiro.spring.web.config.ShiroWebConfiguration
-
- SessionException - Exception in org.apache.shiro.session
-
General security exception attributed to problems during interaction with the system during
a session.
- SessionException() - Constructor for exception org.apache.shiro.session.SessionException
-
Creates a new SessionException.
- SessionException(String) - Constructor for exception org.apache.shiro.session.SessionException
-
Constructs a new SessionException.
- SessionException(Throwable) - Constructor for exception org.apache.shiro.session.SessionException
-
Constructs a new SessionException.
- SessionException(String, Throwable) - Constructor for exception org.apache.shiro.session.SessionException
-
Constructs a new SessionException.
- SessionFactory - Interface in org.apache.shiro.session.mgt
-
A simple factory class that instantiates concrete
Session
instances.
- sessionFactory() - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration
-
- sessionFactory() - Method in class org.apache.shiro.spring.config.AbstractShiroConfiguration
-
- sessionFactory() - Method in class org.apache.shiro.spring.config.ShiroConfiguration
-
- sessionFactory() - Method in class org.apache.shiro.spring.config.web.autoconfigure.ShiroWebAutoConfiguration
-
- sessionFactory() - Method in class org.apache.shiro.spring.web.config.ShiroWebConfiguration
-
- sessionId(Serializable) - Method in class org.apache.shiro.subject.Subject.Builder
-
Enables building a
Subject
instance that owns the
Session
with the
specified
sessionId
.
- sessionIdCookieDomain - Variable in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
- sessionIdCookieEnabled - Variable in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
- sessionIdCookieMaxAge - Variable in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
- sessionIdCookieName - Variable in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
- sessionIdCookiePath - Variable in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
- sessionIdCookieSecure - Variable in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
- SessionIdGenerator - Interface in org.apache.shiro.session.mgt.eis
-
Interface allowing pluggable session ID generation strategies to be used with various
SessionDAO
implementations.
- sessionIdUrlRewritingEnabled - Variable in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
- SessionKey - Interface in org.apache.shiro.session.mgt
-
A
SessionKey
is a key that allows look-up of any particular
Session
instance.
- SessionListener - Interface in org.apache.shiro.session
-
Interface to be implemented by components that wish to be notified of events that occur during a
Session
's life cycle.
- SessionListenerAdapter - Class in org.apache.shiro.session
-
Simple adapter implementation of the
SessionListener
interface, effectively providing
no-op implementations of all methods.
- SessionListenerAdapter() - Constructor for class org.apache.shiro.session.SessionListenerAdapter
-
- SessionManager - Interface in org.apache.shiro.session.mgt
-
A SessionManager manages the creation, maintenance, and clean-up of all application
Session
s.
- sessionManager() - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration
-
- sessionManager() - Method in class org.apache.shiro.spring.config.AbstractShiroConfiguration
-
- sessionManager() - Method in class org.apache.shiro.spring.config.ShiroConfiguration
-
- sessionManager() - Method in class org.apache.shiro.spring.config.web.autoconfigure.ShiroWebAutoConfiguration
-
- sessionManager() - Method in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
- sessionManager() - Method in class org.apache.shiro.spring.web.config.ShiroWebConfiguration
-
- sessionManagerDeleteInvalidSessions - Variable in class org.apache.shiro.spring.config.AbstractShiroConfiguration
-
- SessionsSecurityManager - Class in org.apache.shiro.mgt
-
- SessionsSecurityManager() - Constructor for class org.apache.shiro.mgt.SessionsSecurityManager
-
Default no-arg constructor, internally creates a suitable default
SessionManager
delegate
instance.
- SessionStorageEvaluator - Interface in org.apache.shiro.mgt
-
Evaluates whether or not Shiro may use a
Subject
's
Session
to persist that
Subject
's internal state.
- sessionStorageEvaluator() - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration
-
- sessionStorageEvaluator() - Method in class org.apache.shiro.spring.config.AbstractShiroConfiguration
-
- sessionStorageEvaluator() - Method in class org.apache.shiro.spring.config.ShiroConfiguration
-
- sessionStorageEvaluator() - Method in class org.apache.shiro.spring.config.web.autoconfigure.ShiroWebAutoConfiguration
-
- sessionStorageEvaluator() - Method in class org.apache.shiro.spring.web.config.ShiroWebConfiguration
-
- sessionValidationInterval - Variable in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
-
- sessionValidationScheduler - Variable in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
-
Scheduler used to validate sessions on a regular basis.
- SessionValidationScheduler - Interface in org.apache.shiro.session.mgt
-
Interface that should be implemented by classes that can control validating sessions on a regular
basis.
- sessionValidationSchedulerEnabled - Variable in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
-
- set(int, Filter) - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
-
- setActions(Set<String>) - Method in class org.apache.shiro.authz.permission.DomainPermission
-
- setActiveSessionsCache(Cache<Serializable, Session>) - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
Sets the cache instance to use for storing active sessions.
- setActiveSessionsCacheName(String) - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
Sets the name of the active sessions cache to be returned by the CacheManager
.
- setAdditionalEnvironment(Map<String, String>) - Method in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
These entries are added to the environment map before initializing the LDAP context.
- setAlgorithmName(String) - Method in class org.apache.shiro.crypto.hash.HashRequest.Builder
-
Sets the name of the hash algorithm the
HashService
should use when computing the
Hash
.
- setAnnotationClass(Class<? extends Annotation>) - Method in class org.apache.shiro.aop.AnnotationHandler
-
Sets the type of annotation this handler will inspect and process.
- setAnnotationClass(Class<? extends Annotation>) - Method in class org.apache.shiro.event.support.AnnotationEventListenerResolver
-
Sets the type of annotation that indicates a method that should be represented as an
EventListener
.
- setApplicationName(String) - Method in class org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
-
Sets the name to use in the ServletResponse's WWW-Authenticate
header.
- setAttribute(SessionKey, Object, Object) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
-
- setAttribute(Object, Object) - Method in class org.apache.shiro.session.mgt.DelegatingSession
-
- setAttribute(Object, Object) - Method in class org.apache.shiro.session.mgt.ImmutableProxiedSession
-
Immediately
throws
an
InvalidSessionException
in all
cases because this proxy is immutable.
- setAttribute(SessionKey, Object, Object) - Method in interface org.apache.shiro.session.mgt.NativeSessionManager
-
Binds the specified value
to the associated session uniquely identified by the attributeKey
.
- setAttribute(Object, Object) - Method in class org.apache.shiro.session.mgt.SimpleSession
-
- setAttribute(Object, Object) - Method in class org.apache.shiro.session.ProxiedSession
-
Immediately delegates to the underlying proxied session.
- setAttribute(Object, Object) - Method in interface org.apache.shiro.session.Session
-
Binds the specified value
to this session, uniquely identified by the specified
key
name.
- setAttribute(String, Object) - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
-
- setAttribute(Object, Object) - Method in class org.apache.shiro.web.session.HttpServletSession
-
- setAttributes(Map<Object, Object>) - Method in class org.apache.shiro.session.mgt.SimpleSession
-
- setAuthcScheme(String) - Method in class org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
-
Sets the HTTP WWW-Authenticate
header scheme that this filter will use when sending the
HTTP Basic challenge response.
- setAuthenticated(boolean) - Method in interface org.apache.shiro.subject.SubjectContext
-
Sets whether or not the constructed Subject
instance should be considered as authenticated.
- setAuthenticated(boolean) - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
-
- setAuthentication(String) - Method in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
Sets the type of LDAP authentication to perform when connecting to the LDAP server.
- setAuthenticationCache(Cache<Object, AuthenticationInfo>) - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Sets an explicit
Cache
instance to use for authentication caching.
- setAuthenticationCacheName(String) - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
- setAuthenticationCachingEnabled(boolean) - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Sets whether or not authentication caching should be utilized if a
CacheManager
has been
configured
,
false
otherwise.
- setAuthenticationInfo(AuthenticationInfo) - Method in interface org.apache.shiro.subject.SubjectContext
-
- setAuthenticationInfo(AuthenticationInfo) - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
-
- setAuthenticationListeners(Collection<AuthenticationListener>) - Method in class org.apache.shiro.authc.AbstractAuthenticator
-
- setAuthenticationMechanism(String) - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
Sets the type of LDAP authentication mechanism to use when connecting to the LDAP server.
- setAuthenticationQuery(String) - Method in class org.apache.shiro.realm.jdbc.JdbcRealm
-
Overrides the default query used to retrieve a user's password during authentication.
- setAuthenticationStrategy(AuthenticationStrategy) - Method in class org.apache.shiro.authc.pam.ModularRealmAuthenticator
-
Allows overriding the default AuthenticationStrategy
utilized during multi-realm log-in attempts.
- setAuthenticationToken(AuthenticationToken) - Method in interface org.apache.shiro.subject.SubjectContext
-
- setAuthenticationToken(AuthenticationToken) - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
-
- setAuthenticationTokenClass(Class<? extends AuthenticationToken>) - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Sets the authenticationToken class supported by this realm.
- setAuthenticator(Authenticator) - Method in class org.apache.shiro.mgt.AuthenticatingSecurityManager
-
Sets the delegate Authenticator
instance that this SecurityManager uses to perform all
authentication operations.
- setAuthorizationCache(Cache<Object, AuthorizationInfo>) - Method in class org.apache.shiro.realm.AuthorizingRealm
-
- setAuthorizationCacheName(String) - Method in class org.apache.shiro.realm.AuthorizingRealm
-
- setAuthorizationCachingEnabled(boolean) - Method in class org.apache.shiro.realm.AuthorizingRealm
-
Sets whether or not authorization caching should be utilized if a
CacheManager
has been
configured
,
false
otherwise.
- setAuthorizedHosts(String) - Method in class org.apache.shiro.web.filter.authz.HostFilter
-
- setAuthorizer(Authorizer) - Method in class org.apache.shiro.mgt.AuthorizingSecurityManager
-
Sets the underlying Authorizer instance to which this SecurityManager implementation will
delegate all of its authorization calls.
- setAuthzScheme(String) - Method in class org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
-
Sets the HTTP Authorization
header value that this filter will respond to as indicating a
login request.
- setBlockSize(int) - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
-
Sets the block cipher's block size to be used when constructing
Cipher
transformation string.
- setBytes(byte[]) - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.
Sets the raw bytes stored by this hash instance.
- setBytes(byte[]) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Sets the raw bytes stored by this hash instance.
- setCacheManager(CacheManager) - Method in interface org.apache.shiro.cache.CacheManagerAware
-
Sets the available CacheManager instance on this component.
- setCacheManager(CacheManager) - Method in class org.apache.shiro.cache.ehcache.EhCacheManager
-
Sets the wrapped Ehcache CacheManager
instance.
- setCacheManager(CacheManager) - Method in class org.apache.shiro.mgt.CachingSecurityManager
-
Sets the CacheManager used by this SecurityManager
and potentially any of its
children components.
- setCacheManager(CacheManager) - Method in class org.apache.shiro.realm.CachingRealm
-
Sets the CacheManager to be used for data caching to reduce EIS round trips.
- setCacheManager(CacheManager) - Method in class org.apache.shiro.session.mgt.DefaultSessionManager
-
- setCacheManager(CacheManager) - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
- setCacheManagerConfigFile(String) - Method in class org.apache.shiro.cache.ehcache.EhCacheManager
-
Sets the resource location of the config file used to initialize the wrapped
EhCache CacheManager instance.
- setCachingEnabled(boolean) - Method in class org.apache.shiro.realm.CachingRealm
-
- setCasServerUrlPrefix(String) - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- setCasService(String) - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- setCipherKey(byte[]) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Convenience method that sets the cipher key to use for both encryption and decryption.
- setCipherService(CipherService) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Sets the CipherService
to use for encrypting and decrypting serialized identity data to prevent easy
inspection of Subject identity data.
- setComment(String) - Method in interface org.apache.shiro.web.servlet.Cookie
-
- setComment(String) - Method in class org.apache.shiro.web.servlet.SimpleCookie
-
- setConfig(Config) - Method in class org.apache.shiro.hazelcast.cache.HazelcastCacheManager
-
Sets the Hazelcast
Config
object to use to create a backing
HazelcastInstance
if one is not
supplied
.
- setConfig(String) - Method in class org.apache.shiro.web.servlet.IniShiroFilter
-
Deprecated.
- setConfigLocations(String) - Method in interface org.apache.shiro.config.ResourceConfigurable
-
Convenience method that accepts a comma-delimited string of config locations (resource paths).
- setConfigLocations(String[]) - Method in interface org.apache.shiro.config.ResourceConfigurable
-
Sets the configuration locations (resource paths) that will be used to configure the instance.
- setConfigLocations(String) - Method in class org.apache.shiro.web.env.ResourceBasedWebEnvironment
-
- setConfigLocations(String[]) - Method in class org.apache.shiro.web.env.ResourceBasedWebEnvironment
-
- setConfigPath(String) - Method in class org.apache.shiro.web.servlet.IniShiroFilter
-
Deprecated.
Sets the config path to be used to load a .ini file for configuration if a configuration is
not specified via the
config
attribute.
- setContext(ServletContext) - Method in class org.apache.shiro.web.servlet.ShiroHttpServletResponse
-
- setContextAttribute(String, Object) - Method in class org.apache.shiro.web.servlet.ServletContextSupport
-
- setContextFactory(LdapContextFactory) - Method in class org.apache.shiro.realm.ldap.DefaultLdapRealm
-
Sets the LdapContextFactory instance used to acquire connections to the LDAP directory during authentication
attempts and authorization queries.
- setContextFactoryClassName(String) - Method in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
The context factory to use.
- setContextFactoryClassName(String) - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
The name of the ContextFactory class to use.
- setContextRelative(boolean) - Method in class org.apache.shiro.web.util.RedirectView
-
Set whether to interpret a given URL that starts with a slash ("/")
as relative to the current ServletContext, i.e.
- setCookie(Cookie) - Method in class org.apache.shiro.web.mgt.CookieRememberMeManager
-
Sets the cookie 'template' that will be used to set all attributes of outgoing rememberMe cookies created by
this RememberMeManager
.
- setCredentials(Object) - Method in class org.apache.shiro.authc.SimpleAccount
-
Sets this Account's credentials that verify one or more of the Account's
principals
, such as a password or private key.
- setCredentials(Object) - Method in class org.apache.shiro.authc.SimpleAuthenticationInfo
-
Sets the credentials that verify the principals/identity of the associated Realm account.
- setCredentialsExpired(boolean) - Method in class org.apache.shiro.authc.SimpleAccount
-
Sets whether or not the Account's credentials are expired.
- setCredentialsMatcher(CredentialsMatcher) - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Sets the CrendialsMatcher used during an authentication attempt to verify submitted credentials with those
stored in the system.
- setCredentialsSalt(ByteSource) - Method in class org.apache.shiro.authc.SimpleAccount
-
Sets the salt to use to hash this Account's credentials (eg for password hashing), or null
if no salt
is used or credentials are not hashed at all.
- setCredentialsSalt(ByteSource) - Method in class org.apache.shiro.authc.SimpleAuthenticationInfo
-
Sets the salt used to hash the credentials, or null
if no salt was used or credentials were not
hashed at all.
- setDataSource(DataSource) - Method in class org.apache.shiro.realm.jdbc.JdbcRealm
-
Sets the datasource that should be used to retrieve connections used by this realm.
- setDecryptionCipherKey(byte[]) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Sets the decryption key to use for decryption operations.
- setDefaultNextBytesSize(int) - Method in class org.apache.shiro.crypto.SecureRandomNumberGenerator
-
Sets the size of the generated byte array for calls to
nextBytes()
.
- setDefaultPermissions(String) - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- setDefaultRoles(String) - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- setDefaults(Map<String, ?>) - Method in class org.apache.shiro.config.IniFactorySupport
-
Deprecated.
Sets the default objects used by this factory.
- setDefaultValue(String) - Method in class org.apache.shiro.web.tags.PrincipalTag
-
- setDeleteInvalidSessions(boolean) - Method in class org.apache.shiro.session.mgt.DefaultSessionManager
-
Sets whether or not sessions should be automatically deleted after they are discovered to be invalid.
- setDeniedHosts(String) - Method in class org.apache.shiro.web.filter.authz.HostFilter
-
- setDomain(String) - Method in class org.apache.shiro.authz.permission.DomainPermission
-
- setDomain(String) - Method in interface org.apache.shiro.web.servlet.Cookie
-
- setDomain(String) - Method in class org.apache.shiro.web.servlet.SimpleCookie
-
- setEnabled(boolean) - Method in class org.apache.shiro.web.servlet.OncePerRequestFilter
-
Sets whether or not this filter generally executes for any request.
- setEncodingScheme(String) - Method in class org.apache.shiro.web.util.RedirectView
-
Set the encoding scheme for this view.
- setEncryptionCipherKey(byte[]) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Sets the encryption key to use for encryption operations.
- setEnvironment(Properties) - Method in class org.apache.shiro.jndi.JndiTemplate
-
Set the environment for the JNDI InitialContext.
- setEnvironment(Map) - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
Sets the base JNDI environment template to use when acquiring LDAP connections.
- setEventBus(EventBus) - Method in interface org.apache.shiro.event.EventBusAware
-
Sets the available EventBus
that may be used for publishing and subscribing to/from events.
- setEventBus(EventBus) - Method in class org.apache.shiro.mgt.CachingSecurityManager
-
Sets the EventBus used by this SecurityManager
and potentially any of its
children components.
- setEventBus(EventBus) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
-
Sets the EventBus to use to publish SessionEvents.
- setEventListenerResolver(EventListenerResolver) - Method in class org.apache.shiro.event.support.DefaultEventBus
-
- setExpired(boolean) - Method in class org.apache.shiro.session.mgt.SimpleSession
-
- setFailureAttribute(ServletRequest, AuthenticationException) - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
-
- setFailureKeyAttribute(String) - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
-
- setFailureUrl(String) - Method in class org.apache.shiro.cas.CasFilter
-
Deprecated.
- setFilterChainDefinitionMap(Map<String, String>) - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
-
Sets the chainName-to-chainDefinition map of chain definitions to use for creating filter chains intercepted
by the Shiro Filter.
- setFilterChainDefinitions(String) - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
-
- setFilterChainManager(FilterChainManager) - Method in class org.apache.shiro.web.filter.mgt.PathMatchingFilterChainResolver
-
- setFilterChainResolver(FilterChainResolver) - Method in class org.apache.shiro.web.env.DefaultWebEnvironment
-
- setFilterChainResolver(FilterChainResolver) - Method in interface org.apache.shiro.web.env.MutableWebEnvironment
-
- setFilterChainResolver(FilterChainResolver) - Method in class org.apache.shiro.web.servlet.AbstractShiroFilter
-
- setFilterChains(Map<String, NamedFilterList>) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
-
- setFilterConfig(FilterConfig) - Method in class org.apache.shiro.web.config.IniFilterChainResolverFactory
-
- setFilterConfig(FilterConfig) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
-
Sets the FilterConfig
provided by the Servlet container at webapp startup.
- setFilterConfig(FilterConfig) - Method in class org.apache.shiro.web.servlet.AbstractFilter
-
Sets the FilterConfig and the ServletContext
as attributes of this class for use by
subclasses.
- setFilters(Map<String, Filter>) - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
-
- setFilters(Map<String, Filter>) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
-
- setFormatClassNames(Map<String, String>) - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
-
- setGenerateInitializationVectors(boolean) - Method in class org.apache.shiro.crypto.JcaCipherService
-
- setGeneratePublicSalt(boolean) - Method in class org.apache.shiro.crypto.hash.DefaultHashService
-
Sets whether or not a public salt should be randomly generated and used to compute a hash if a
HashRequest
does not specify a salt.
- setGlobalSessionTimeout(long) - Method in class org.apache.shiro.session.mgt.AbstractSessionManager
-
Sets the system-wide default time in milliseconds that any session may remain idle before expiring.
- setGroupRolesMap(Map<String, String>) - Method in class org.apache.shiro.realm.activedirectory.ActiveDirectoryRealm
-
- setHandler(AnnotationHandler) - Method in class org.apache.shiro.aop.AnnotationMethodInterceptor
-
Sets the AnnotationHandler
used to perform authorization behavior based on
an annotation discovered at runtime.
- setHashAlgorithmName(String) - Method in class org.apache.shiro.authc.credential.HashedCredentialsMatcher
-
Sets the
Hash
algorithmName
to use
when performing hashes for credentials matching.
- setHashAlgorithmName(String) - Method in interface org.apache.shiro.crypto.hash.ConfigurableHashService
-
Sets the name of the
MessageDigest
algorithm that will be used to compute
hashes.
- setHashAlgorithmName(String) - Method in class org.apache.shiro.crypto.hash.DefaultHashService
-
- setHashFormat(HashFormat) - Method in class org.apache.shiro.authc.credential.DefaultPasswordService
-
- setHashFormatFactory(HashFormatFactory) - Method in class org.apache.shiro.authc.credential.DefaultPasswordService
-
- setHashIterations(int) - Method in class org.apache.shiro.authc.credential.HashedCredentialsMatcher
-
Sets the number of times a submitted AuthenticationToken
's credentials will be hashed before comparing
to the credentials stored in the system.
- setHashIterations(int) - Method in interface org.apache.shiro.crypto.hash.ConfigurableHashService
-
Sets the number of hash iterations that will be performed during hash computation.
- setHashIterations(int) - Method in class org.apache.shiro.crypto.hash.DefaultHashService
-
- setHashSalted(boolean) - Method in class org.apache.shiro.authc.credential.HashedCredentialsMatcher
-
- setHashService(HashService) - Method in class org.apache.shiro.authc.credential.DefaultPasswordService
-
- setHazelcastInstance(HazelcastInstance) - Method in class org.apache.shiro.hazelcast.cache.HazelcastCacheManager
-
Sets the
HazelcastInstance
from which named
ConcurrentMap
instances will be acquired to create
MapCache
instances.
- setHost(String) - Method in class org.apache.shiro.authc.UsernamePasswordToken
-
Sets the host name or IP string from where the authentication attempt occurs.
- setHost(String) - Method in class org.apache.shiro.session.mgt.DefaultSessionContext
-
- setHost(String) - Method in interface org.apache.shiro.session.mgt.SessionContext
-
Sets the originating host name or IP address (as a String) from where the Subject
is initiating the
Session
.
- setHost(String) - Method in class org.apache.shiro.session.mgt.SimpleSession
-
- setHost(String) - Method in interface org.apache.shiro.subject.SubjectContext
-
Sets the host name or IP that should reflect the constructed Subject
's originating location.
- setHost(String) - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
-
- setHost(String) - Method in class org.apache.shiro.web.session.HttpServletSession
-
- setHostAddress(String) - Method in exception org.apache.shiro.authz.HostUnauthorizedException
-
Sets the host associated with this exception.
- setHttp10Compatible(boolean) - Method in class org.apache.shiro.web.util.RedirectView
-
Set whether to stay compatible with HTTP 1.0 clients.
- setHttpOnly(boolean) - Method in interface org.apache.shiro.web.servlet.Cookie
-
- setHttpOnly(boolean) - Method in class org.apache.shiro.web.servlet.SimpleCookie
-
- setId(Serializable) - Method in class org.apache.shiro.session.mgt.SimpleSession
-
- setIni(Ini) - Method in class org.apache.shiro.config.IniFactorySupport
-
Deprecated.
- setIni(Ini) - Method in class org.apache.shiro.realm.text.IniRealm
-
Sets the Ini instance used to configure this realm.
- setIni(Ini) - Method in class org.apache.shiro.web.env.IniWebEnvironment
-
- setInitializationVectorSize(int) - Method in class org.apache.shiro.crypto.JcaCipherService
-
Sets the algorithm-specific initialization vector size in bits (not bytes!) to be used when generating
initialization vectors.
- setInterpolator(Interpolator) - Method in class org.apache.shiro.config.ReflectionBuilder
-
Sets the
Interpolator
used when evaluating the right side of the expressions.
- setInterval(long) - Method in class org.apache.shiro.session.mgt.ExecutorServiceSessionValidationScheduler
-
- setIterations(int) - Method in class org.apache.shiro.crypto.hash.HashRequest.Builder
-
Sets the number of requested hash iterations to be performed when computing the final Hash
result.
- setIterations(int) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Sets the iterations used to previously compute AN ALREADY GENERATED HASH.
- setJndiEnvironment(Properties) - Method in class org.apache.shiro.jndi.JndiLocator
-
Set the JNDI environment to use for JNDI lookups.
- setJndiNames(Collection<String>) - Method in class org.apache.shiro.realm.jndi.JndiRealmFactory
-
Sets the JNDI names that will be used to look up Realm(s) from JNDI.
- setJndiNames(String) - Method in class org.apache.shiro.realm.jndi.JndiRealmFactory
-
Specifies a comma-delimited list of JNDI names to lookup, each one corresponding to a jndi-bound
Realm
.
- setJndiTemplate(JndiTemplate) - Method in class org.apache.shiro.jndi.JndiLocator
-
Set the JNDI template to use for JNDI lookups.
- setKeySize(int) - Method in class org.apache.shiro.crypto.JcaCipherService
-
Sets the size in bits (not bytes) of generated cipher keys.
- setLastAccessTime(Date) - Method in class org.apache.shiro.session.mgt.SimpleSession
-
- setLdapContextFactory(LdapContextFactory) - Method in class org.apache.shiro.realm.ldap.AbstractLdapRealm
-
Configures the
LdapContextFactory
implementation that is used to create LDAP connections for
authentication and authorization.
- setLocked(boolean) - Method in class org.apache.shiro.authc.SimpleAccount
-
Sets whether or not the account is locked and can be used to login.
- setLoginUrl(String) - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
-
Sets the application's login URL to be assigned to all acquired Filters that subclass
AccessControlFilter
.
- setLoginUrl(String) - Method in class org.apache.shiro.web.filter.AccessControlFilter
-
Sets the login URL used to authenticate a user.
- setLoginUrl(String) - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
-
- setMaxAge(int) - Method in interface org.apache.shiro.web.servlet.Cookie
-
- setMaxAge(int) - Method in class org.apache.shiro.web.servlet.SimpleCookie
-
- setMaxInactiveInterval(int) - Method in class org.apache.shiro.web.servlet.ShiroHttpSession
-
- setMethodInterceptors(Collection<AuthorizingAnnotationMethodInterceptor>) - Method in class org.apache.shiro.authz.aop.AnnotationsAuthorizingMethodInterceptor
-
Sets the method interceptors to execute for the annotated method.
- setMode(OperationMode) - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
-
Sets the cipher operation mode of operation to be used when constructing the
Cipher
transformation string.
- setModeName(String) - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
-
Sets the cipher operation mode name to be used when constructing the
Cipher
transformation string.
- setName(String) - Method in class org.apache.shiro.authz.SimpleRole
-
- setName(String) - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
- setName(String) - Method in class org.apache.shiro.realm.AuthorizingRealm
-
- setName(String) - Method in class org.apache.shiro.realm.CachingRealm
-
- setName(String) - Method in interface org.apache.shiro.util.Nameable
-
Sets the (preferably application unique) name for this component.
- setName(String) - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
-
- setName(String) - Method in interface org.apache.shiro.web.servlet.Cookie
-
- setName(String) - Method in class org.apache.shiro.web.servlet.NameableFilter
-
Sets the filter's name.
- setName(String) - Method in class org.apache.shiro.web.servlet.SimpleCookie
-
- setName(String) - Method in class org.apache.shiro.web.tags.PermissionTag
-
- setName(String) - Method in class org.apache.shiro.web.tags.RoleTag
-
- setObject(String, Object) - Method in class org.apache.shiro.env.DefaultEnvironment
-
- setObjectPermissions(Set<Permission>) - Method in class org.apache.shiro.authc.SimpleAccount
-
Sets all object-based permissions assigned directly to this Account (not any of its realms).
- setObjectPermissions(Set<Permission>) - Method in class org.apache.shiro.authz.SimpleAuthorizationInfo
-
Sets the object-based permissions assigned directly to the account.
- setObjects(Map<String, ?>) - Method in class org.apache.shiro.config.ReflectionBuilder
-
- setPaddingScheme(PaddingScheme) - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
-
Sets the padding scheme to be used when constructing the
Cipher
transformation string.
- setPaddingSchemeName(String) - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
-
Sets the padding scheme name to be used when constructing the
Cipher
transformation string, or
null
if the JCA Provider default mode for
the specified
algorithm
should be used.
- setParts(String, Set<String>, Set<String>) - Method in class org.apache.shiro.authz.permission.DomainPermission
-
- setParts(String) - Method in class org.apache.shiro.authz.permission.WildcardPermission
-
- setParts(String, boolean) - Method in class org.apache.shiro.authz.permission.WildcardPermission
-
- setParts(List<Set<String>>) - Method in class org.apache.shiro.authz.permission.WildcardPermission
-
Sets the pre-split String parts of this WildcardPermission
.
- setPassword(char[]) - Method in class org.apache.shiro.authc.UsernamePasswordToken
-
Sets the password for submission during an authentication attempt.
- setPasswordParam(String) - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
-
Sets the request parameter name to look for when acquiring the password.
- setPasswordService(PasswordService) - Method in class org.apache.shiro.authc.credential.PasswordMatcher
-
- setPath(String) - Method in interface org.apache.shiro.web.servlet.Cookie
-
- setPath(String) - Method in class org.apache.shiro.web.servlet.SimpleCookie
-
- setPathMatcher(PatternMatcher) - Method in class org.apache.shiro.web.filter.mgt.PathMatchingFilterChainResolver
-
Sets the PatternMatcher
used when determining if an incoming request's path
matches a configured filter chain.
- setPathSeparator(String) - Method in class org.apache.shiro.util.AntPathMatcher
-
Set the path separator to use for pattern parsing.
- setPermissionAttributeNames(String) - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- setPermissionResolver(PermissionResolver) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
- setPermissionResolver(PermissionResolver) - Method in interface org.apache.shiro.authz.permission.PermissionResolverAware
-
Sets the specified PermissionResolver on this instance.
- setPermissionResolver(PermissionResolver) - Method in class org.apache.shiro.realm.AuthorizingRealm
-
- setPermissions(Set<Permission>) - Method in class org.apache.shiro.authz.SimpleRole
-
- setPermissionsLookupEnabled(boolean) - Method in class org.apache.shiro.realm.jdbc.JdbcRealm
-
Enables lookup of permissions during authorization.
- setPermissionsQuery(String) - Method in class org.apache.shiro.realm.jdbc.JdbcRealm
-
Overrides the default query used to retrieve a user's permissions during authorization.
- setPoolingEnabled(boolean) - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
Sets whether or not connection pooling should be used when possible and appropriate.
- setPort(int) - Method in class org.apache.shiro.web.filter.authz.PortFilter
-
- setPostOnlyLogout(boolean) - 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.
- setPrincipals(PrincipalCollection) - Method in class org.apache.shiro.authc.SimpleAccount
-
Sets the principals, aka the identifying attributes (username, user id, first name, last name, etc) of this
Account.
- setPrincipals(PrincipalCollection) - Method in class org.apache.shiro.authc.SimpleAuthenticationInfo
-
Sets the identifying principal(s) represented by this instance.
- setPrincipals(PrincipalCollection) - Method in interface org.apache.shiro.subject.SubjectContext
-
Sets the principals (aka identity) that the constructed Subject
should reflect.
- setPrincipals(PrincipalCollection) - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
-
- setPrincipalSuffix(String) - Method in class org.apache.shiro.realm.ldap.AbstractLdapRealm
-
- setPrincipalSuffix(String) - Method in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
A suffix appended to the username.
- setPrivateSalt(ByteSource) - Method in interface org.apache.shiro.crypto.hash.ConfigurableHashService
-
Sets the 'private' (internal) salt to be paired with a 'public' (random or supplied) salt during hash computation.
- setPrivateSalt(ByteSource) - Method in class org.apache.shiro.crypto.hash.DefaultHashService
-
- setProperty(String) - Method in class org.apache.shiro.web.tags.PrincipalTag
-
- setRandom(Random) - Method in class org.apache.shiro.session.mgt.eis.RandomSessionIdGenerator
-
- setRandomNumberGenerator(RandomNumberGenerator) - Method in interface org.apache.shiro.crypto.hash.ConfigurableHashService
-
Sets a source of randomness used to generate public salts that will in turn be used during hash computation.
- setRandomNumberGenerator(RandomNumberGenerator) - Method in class org.apache.shiro.crypto.hash.DefaultHashService
-
- setRealm(Realm) - Method in class org.apache.shiro.mgt.RealmSecurityManager
-
- setRealmPrincipal(String, String, Object) - Method in interface org.apache.shiro.subject.PrincipalMap
-
- setRealmPrincipal(String, String, Object) - Method in class org.apache.shiro.subject.SimplePrincipalMap
-
- setRealmPrincipals(String, Map<String, Object>) - Method in interface org.apache.shiro.subject.PrincipalMap
-
- setRealmPrincipals(String, Map<String, Object>) - Method in class org.apache.shiro.subject.SimplePrincipalMap
-
- setRealms(Collection<Realm>) - Method in class org.apache.shiro.authc.pam.ModularRealmAuthenticator
-
Sets all realms used by this Authenticator, providing PAM (Pluggable Authentication Module) configuration.
- setRealms(Collection<Realm>) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
Sets the realms wrapped by this Authorizer
which are consulted during an authorization check.
- setRealms(Collection<Realm>) - Method in class org.apache.shiro.mgt.RealmSecurityManager
-
Sets the realms managed by this SecurityManager instance.
- setRedirectUrl(String) - Method in class org.apache.shiro.web.filter.authc.LogoutFilter
-
Sets the URL to where the user will be redirected after logout.
- setReferral(String) - Method in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
Sets the LDAP referral property.
- setReferral(String) - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
Sets the LDAP referral behavior when creating a connection.
- setReflectionBuilder(ReflectionBuilder) - Method in class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.
Sets the ReflectionBuilder that will be used to create the SecurityManager based on the contents of
the Ini configuration.
- setReloadIntervalSeconds(int) - Method in class org.apache.shiro.realm.text.PropertiesRealm
-
Sets the interval in seconds at which the property file will be checked for changes and reloaded.
- setRememberMe(boolean) - Method in class org.apache.shiro.authc.UsernamePasswordToken
-
Sets if the submitting user wishes their identity (principal(s)) to be remembered across sessions.
- setRememberMe(boolean) - Method in class org.apache.shiro.cas.CasToken
-
Deprecated.
- setRememberMeAttributeName(String) - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- setRememberMeManager(RememberMeManager) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
-
- setRememberMeParam(String) - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
-
Sets the request parameter name to look for when acquiring the rememberMe boolean value.
- setRequest(ShiroHttpServletRequest) - Method in class org.apache.shiro.web.servlet.ShiroHttpServletResponse
-
- setRequest(ServletRequest) - Method in class org.apache.shiro.web.subject.WebSubject.Builder
-
Called by the WebSubject.Builder
constructor, this method places the request object in the
context map for later retrieval.
- setRequiredType(Class<? extends T>) - Method in class org.apache.shiro.jndi.JndiObjectFactory
-
- setResolver(AnnotationResolver) - Method in class org.apache.shiro.aop.AnnotationMethodInterceptor
-
Returns the AnnotationResolver
to use to acquire annotations from intercepted
methods at runtime.
- setResourceName(String) - Method in class org.apache.shiro.jndi.JndiObjectFactory
-
- setResourcePath(String) - Method in class org.apache.shiro.realm.text.IniRealm
-
- setResourcePath(String) - Method in class org.apache.shiro.realm.text.PropertiesRealm
-
Sets the path of the properties file to load user, role, and permission information from.
- setResourceRef(boolean) - Method in class org.apache.shiro.jndi.JndiLocator
-
Set whether the lookup occurs in a J2EE container, i.e.
- setResources(Map<Object, Object>) - Static method in class org.apache.shiro.util.ThreadContext
-
Allows a caller to explicitly set the entire resource map.
- setResponse(ServletResponse) - Method in class org.apache.shiro.web.subject.WebSubject.Builder
-
Called by the WebSubject.Builder
constructor, this method places the response object in the
context map for later retrieval.
- setRoleAttributeNames(String) - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- setRoleDefinitions(String) - Method in class org.apache.shiro.realm.text.TextConfigurationRealm
-
Sets a newline (\n) delimited String that defines role-to-permission definitions.
- setRolePermissionResolver(RolePermissionResolver) - Method in class org.apache.shiro.authz.ModularRealmAuthorizer
-
- setRolePermissionResolver(RolePermissionResolver) - Method in interface org.apache.shiro.authz.permission.RolePermissionResolverAware
-
Sets the specified RolePermissionResolver on this instance.
- setRolePermissionResolver(RolePermissionResolver) - Method in class org.apache.shiro.realm.AuthorizingRealm
-
- setRoles(Set<String>) - Method in class org.apache.shiro.authc.SimpleAccount
-
Sets the Account's assigned roles.
- setRoles(Set<String>) - Method in class org.apache.shiro.authz.SimpleAuthorizationInfo
-
Sets the roles assigned to the account.
- setSalt(ByteSource) - Method in class org.apache.shiro.crypto.hash.HashRequest.Builder
-
Sets a salt to be used by the
HashService
during hash computation.
- setSalt(Object) - Method in class org.apache.shiro.crypto.hash.HashRequest.Builder
-
Sets a salt to be used by the
HashService
during hash computation.
- setSalt(ByteSource) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Sets the salt used to previously compute AN ALREADY GENERATED HASH.
- setSaltStyle(JdbcRealm.SaltStyle) - Method in class org.apache.shiro.realm.jdbc.JdbcRealm
-
Sets the salt style.
- setScheduler(Scheduler) - Method in class org.apache.shiro.session.mgt.quartz.QuartzSessionValidationScheduler
-
- setSearchBase(String) - Method in class org.apache.shiro.realm.ldap.AbstractLdapRealm
-
- setSearchBase(String) - Method in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
- setSearchFilter(String) - Method in class org.apache.shiro.realm.ldap.AbstractLdapRealm
-
- setSearchPackages(Set<String>) - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
-
- setSectionProperty(String, String, String) - Method in class org.apache.shiro.config.Ini
-
Sets a name/value pair for the section with the given sectionName
.
- setSecure(boolean) - Method in interface org.apache.shiro.web.servlet.Cookie
-
- setSecure(boolean) - Method in class org.apache.shiro.web.servlet.SimpleCookie
-
- setSecureRandom(SecureRandom) - Method in class org.apache.shiro.crypto.JcaCipherService
-
Sets a source of randomness for encryption operations.
- setSecureRandom(SecureRandom) - Method in class org.apache.shiro.crypto.SecureRandomNumberGenerator
-
- setSecurityManager(SecurityManager) - Method in class org.apache.shiro.env.DefaultEnvironment
-
- setSecurityManager(SecurityManager) - Static method in class org.apache.shiro.SecurityUtils
-
Sets a VM (static) singleton SecurityManager, specifically for transparent use in the
getSubject()
implementation.
- setSecurityManager(SecurityManager) - Method in class org.apache.shiro.spring.remoting.SecureRemoteInvocationExecutor
-
- setSecurityManager(SecurityManager) - Method in class org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor
-
- setSecurityManager(SecurityManager) - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
-
Sets the application SecurityManager
instance to be used by the constructed Shiro Filter.
- setSecurityManager(SecurityManager) - Method in interface org.apache.shiro.subject.SubjectContext
-
Sets the SecurityManager instance that should be used to back the constructed
Subject
instance
(typically used to support
DelegatingSubject
implementations).
- setSecurityManager(SecurityManager) - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
-
- setSecurityManager(SecurityManager) - Method in class org.apache.shiro.web.env.DefaultWebEnvironment
-
- setSecurityManager(WebSecurityManager) - Method in class org.apache.shiro.web.servlet.AbstractShiroFilter
-
- setSecurityManagerFactory(WebIniSecurityManagerFactory) - Method in class org.apache.shiro.web.env.IniWebEnvironment
-
Allows for setting the SecurityManager factory which will be used to create the SecurityManager.
- setSecurityManagerName(String) - Method in class org.apache.shiro.env.DefaultEnvironment
-
- setSeed(byte[]) - Method in class org.apache.shiro.crypto.SecureRandomNumberGenerator
-
Seeds the backing
SecureRandom
instance with additional seed data.
- setSerializer(Serializer<PrincipalCollection>) - Method in class org.apache.shiro.mgt.AbstractRememberMeManager
-
Sets the
Serializer
used to serialize and deserialize
PrincipalCollection
instances for
persistent remember me storage.
- setServletContext(ServletContext) - Method in class org.apache.shiro.web.env.DefaultWebEnvironment
-
- setServletContext(ServletContext) - Method in interface org.apache.shiro.web.env.MutableWebEnvironment
-
- setServletContext(ServletContext) - Method in class org.apache.shiro.web.servlet.ServletContextSupport
-
- setServletRequest(ServletRequest) - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionContext
-
- setServletRequest(ServletRequest) - Method in interface org.apache.shiro.web.session.mgt.WebSessionContext
-
Sets the ServletRequest
received by the servlet container triggering the creation of the
Session
instance.
- setServletRequest(ServletRequest) - Method in class org.apache.shiro.web.subject.support.DefaultWebSubjectContext
-
- setServletRequest(ServletRequest) - Method in interface org.apache.shiro.web.subject.WebSubjectContext
-
Sets the ServletRequest
received by the servlet container triggering the creation of the
Subject
instance.
- setServletResponse(ServletResponse) - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionContext
-
- setServletResponse(ServletResponse) - Method in interface org.apache.shiro.web.session.mgt.WebSessionContext
-
Sets the paired
ServletResponse
corresponding to the associated
servletRequest
.
- setServletResponse(ServletResponse) - Method in class org.apache.shiro.web.subject.support.DefaultWebSubjectContext
-
- setServletResponse(ServletResponse) - Method in interface org.apache.shiro.web.subject.WebSubjectContext
-
Sets the paired
ServletResponse
corresponding to the associated
servletRequest
.
- setSession(Session) - Method in interface org.apache.shiro.subject.SubjectContext
-
Sets the Session
to use when building the Subject
instance.
- setSession(Session) - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
-
- setSessionCreationEnabled(boolean) - Method in interface org.apache.shiro.subject.SubjectContext
-
Sets whether or not the constructed Subject
instance should be allowed to create a session,
false
otherwise.
- setSessionCreationEnabled(boolean) - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
-
- setSessionDAO(SessionDAO) - Method in class org.apache.shiro.session.mgt.DefaultSessionManager
-
- setSessionFactory(SessionFactory) - Method in class org.apache.shiro.session.mgt.DefaultSessionManager
-
Sets the
SessionFactory
used to generate new
Session
instances.
- setSessionId(Serializable) - Method in class org.apache.shiro.session.mgt.DefaultSessionContext
-
- setSessionId(Serializable) - Method in class org.apache.shiro.session.mgt.DefaultSessionKey
-
- setSessionId(Serializable) - Method in interface org.apache.shiro.session.mgt.SessionContext
-
- setSessionId(Serializable) - Method in interface org.apache.shiro.subject.SubjectContext
-
Sets the session id of the session that should be associated with the constructed
Subject
instance.
- setSessionId(Serializable) - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
-
- setSessionIdCookie(Cookie) - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionManager
-
- setSessionIdCookieEnabled(boolean) - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionManager
-
- setSessionIdGenerator(SessionIdGenerator) - Method in class org.apache.shiro.session.mgt.eis.AbstractSessionDAO
-
- setSessionIdUrlRewritingEnabled(boolean) - Method in class org.apache.shiro.web.session.mgt.DefaultWebSessionManager
-
- setSessionListeners(Collection<SessionListener>) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
-
- setSessionManager(SessionManager) - Method in class org.apache.shiro.mgt.SessionsSecurityManager
-
Sets the underlying delegate
SessionManager
instance that will be used to support this implementation's
SessionManager method calls.
- setSessionManager(ValidatingSessionManager) - Method in class org.apache.shiro.session.mgt.ExecutorServiceSessionValidationScheduler
-
- setSessionManager(ValidatingSessionManager) - Method in class org.apache.shiro.session.mgt.quartz.QuartzSessionValidationScheduler
-
- setSessionManager(SessionManager) - Method in class org.apache.shiro.web.mgt.DefaultWebSecurityManager
-
- setSessionMode(String) - Method in class org.apache.shiro.web.mgt.DefaultWebSecurityManager
-
- setSessionStorageEnabled(boolean) - Method in class org.apache.shiro.mgt.DefaultSessionStorageEvaluator
-
Sets if any Subject's Session
may be used to persist that Subject
's state.
- setSessionStorageEvaluator(SessionStorageEvaluator) - Method in class org.apache.shiro.mgt.DefaultSubjectDAO
-
Sets the SessionStorageEvaluator
that will determine if a Subject
's state may be persisted in
the Subject's session.
- setSessionValidationInterval(long) - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
-
If using the underlying default
SessionValidationScheduler (that is, the
setSessionValidationScheduler
method is
never called) , this method allows one to specify how
frequently session should be validated (to check for orphans).
- setSessionValidationInterval(long) - Method in class org.apache.shiro.session.mgt.quartz.QuartzSessionValidationScheduler
-
- setSessionValidationScheduler(SessionValidationScheduler) - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
-
- setSessionValidationSchedulerEnabled(boolean) - Method in class org.apache.shiro.session.mgt.AbstractValidatingSessionManager
-
- setSingleton(boolean) - Method in class org.apache.shiro.util.AbstractFactory
-
- setSource(ByteSource) - Method in class org.apache.shiro.crypto.hash.HashRequest.Builder
-
Sets the source data that will be hashed by a
HashService
.
- setSource(Object) - Method in class org.apache.shiro.crypto.hash.HashRequest.Builder
-
Sets the source data that will be hashed by a
HashService
.
- setStartTimestamp(Date) - Method in class org.apache.shiro.session.mgt.SimpleSession
-
- setStaticSecurityManagerEnabled(boolean) - Method in class org.apache.shiro.web.servlet.AbstractShiroFilter
-
- setStopTimestamp(Date) - Method in class org.apache.shiro.session.mgt.SimpleSession
-
- setStoredCredentialsHexEncoded(boolean) - Method in class org.apache.shiro.authc.credential.HashedCredentialsMatcher
-
Sets the indicator if this system's stored credential hash is Hex encoded or not.
- setStreamingBlockSize(int) - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
-
- setStreamingBufferSize(int) - Method in class org.apache.shiro.crypto.JcaCipherService
-
- setStreamingMode(OperationMode) - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
-
Sets the transformation string mode to be used for streaming operations only.
- setStreamingModeName(String) - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
-
Sets the transformation string mode name to be used for streaming operations only.
- setStreamingPaddingScheme(PaddingScheme) - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
-
- setStreamingPaddingSchemeName(String) - Method in class org.apache.shiro.crypto.DefaultBlockCipherService
-
- setStringPermissions(Set<String>) - Method in class org.apache.shiro.authc.SimpleAccount
-
Sets the String-based permissions assigned to this Account.
- setStringPermissions(Set<String>) - Method in class org.apache.shiro.authz.SimpleAuthorizationInfo
-
Sets the string-based permissions assigned directly to the account.
- setSubject(Subject) - Method in interface org.apache.shiro.subject.SubjectContext
-
Sets the existing Subject
that may be in use at the time the new Subject
instance is
being created.
- setSubject(Subject) - Method in class org.apache.shiro.subject.support.DefaultSubjectContext
-
- setSubjectDAO(SubjectDAO) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
-
Sets the SubjectDAO
responsible for persisting Subject state, typically used after login or when an
Subject identity is discovered (eg after RememberMe services).
- setSubjectDAO(SubjectDAO) - Method in class org.apache.shiro.web.mgt.DefaultWebSecurityManager
-
- setSubjectFactory(SubjectFactory) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
-
Sets the
SubjectFactory
responsible for creating
Subject
instances exposed to the application.
- setSuccessUrl(String) - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
-
Sets the application's after-login success URL to be assigned to all acquired Filters that subclass
AuthenticationFilter
.
- setSuccessUrl(String) - Method in class org.apache.shiro.web.filter.authc.AuthenticationFilter
-
Sets the default/fallback success url to use as the default location a user is sent after logging in.
- setSystemPassword(String) - Method in class org.apache.shiro.realm.ldap.AbstractLdapRealm
-
- setSystemPassword(String) - Method in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
The system password that will be used when connecting to the LDAP server to retrieve authorization
information about a user.
- setSystemPassword(String) - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
Sets the password of the
systemUsername
that will be used when creating an
LDAP connection used for authorization queries.
- setSystemUsername(String) - Method in class org.apache.shiro.realm.ldap.AbstractLdapRealm
-
- setSystemUsername(String) - Method in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
The system username that will be used when connecting to the LDAP server to retrieve authorization
information about a user.
- setSystemUsername(String) - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
Sets the system username that will be used when creating an LDAP connection used for authorization queries.
- setTargetExecutor(Executor) - Method in class org.apache.shiro.concurrent.SubjectAwareExecutor
-
Sets target Executor instance that will actually execute the subject-associated Runnable instances.
- setTargetExecutor(Executor) - Method in class org.apache.shiro.concurrent.SubjectAwareExecutorService
-
- setTargetExecutor(Executor) - Method in class org.apache.shiro.concurrent.SubjectAwareScheduledExecutorService
-
- setTargetExecutorService(ExecutorService) - Method in class org.apache.shiro.concurrent.SubjectAwareExecutorService
-
- setTargetExecutorService(ExecutorService) - Method in class org.apache.shiro.concurrent.SubjectAwareScheduledExecutorService
-
- setTargets(Set<String>) - Method in class org.apache.shiro.authz.permission.DomainPermission
-
- setTargetScheduledExecutorService(ScheduledExecutorService) - Method in class org.apache.shiro.concurrent.SubjectAwareScheduledExecutorService
-
- setThreadNamePrefix(String) - Method in class org.apache.shiro.session.mgt.ExecutorServiceSessionValidationScheduler
-
- setTimeout(SessionKey, long) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
-
- setTimeout(long) - Method in class org.apache.shiro.session.mgt.DelegatingSession
-
- setTimeout(long) - Method in class org.apache.shiro.session.mgt.ImmutableProxiedSession
-
Immediately
throws
an
InvalidSessionException
in all
cases because this proxy is immutable.
- setTimeout(SessionKey, long) - Method in interface org.apache.shiro.session.mgt.NativeSessionManager
-
Sets the time in milliseconds that the associated session may remain idle before expiring.
- setTimeout(long) - Method in class org.apache.shiro.session.mgt.SimpleSession
-
- setTimeout(long) - Method in class org.apache.shiro.session.ProxiedSession
-
Immediately delegates to the underlying proxied session.
- setTimeout(long) - Method in interface org.apache.shiro.session.Session
-
Sets the time in milliseconds that the session may remain idle before expiring.
- setTimeout(long) - Method in class org.apache.shiro.web.session.HttpServletSession
-
- setType(String) - Method in class org.apache.shiro.web.tags.PrincipalTag
-
- setUnauthorizedUrl(String) - Method in class org.apache.shiro.spring.web.ShiroFilterFactoryBean
-
Sets the application's 'unauthorized' URL to be assigned to all acquired Filters that subclass
AuthorizationFilter
.
- setUnauthorizedUrl(String) - Method in class org.apache.shiro.web.filter.authz.AuthorizationFilter
-
Sets the URL to which users should be redirected if they are denied access to an underlying path or resource.
- setUrl(String) - Method in class org.apache.shiro.realm.ldap.AbstractLdapRealm
-
- setUrl(String) - Method in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
The LDAP url to connect to.
- setUrl(String) - Method in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
The LDAP url to connect to.
- setUrl(String) - Method in class org.apache.shiro.web.util.RedirectView
-
- setUsePooling(boolean) - Method in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
Determines whether or not LdapContext pooling is enabled for connections made using the system
user account.
- setUserDefinitions(String) - Method in class org.apache.shiro.realm.text.TextConfigurationRealm
-
Sets a newline (\n) delimited String that defines user-to-password-and-role(s) key/value pairs according
to the following format:
- setUserDnTemplate(String) - Method in class org.apache.shiro.realm.ldap.DefaultLdapRealm
-
Sets the User Distinguished Name (DN) template to use when creating User DNs at runtime.
- setUserId(String) - Method in class org.apache.shiro.cas.CasToken
-
Deprecated.
- setUsername(String) - Method in class org.apache.shiro.authc.UsernamePasswordToken
-
Sets the username for submission during an authentication attempt.
- setUsernameParam(String) - Method in class org.apache.shiro.web.filter.authc.FormAuthenticationFilter
-
Sets the request parameter name to look for when acquiring the username.
- setUserRolesQuery(String) - Method in class org.apache.shiro.realm.jdbc.JdbcRealm
-
Overrides the default query used to retrieve a user's roles during authorization.
- setUseXmlFormat(boolean) - Method in class org.apache.shiro.realm.text.PropertiesRealm
-
Determines whether or not the properties XML format should be used.
- setValidationProtocol(String) - Method in class org.apache.shiro.cas.CasRealm
-
Deprecated.
- setValue(String) - Method in interface org.apache.shiro.web.servlet.Cookie
-
- setValue(String) - Method in class org.apache.shiro.web.servlet.SimpleCookie
-
- setVersion(int) - Method in interface org.apache.shiro.web.servlet.Cookie
-
- setVersion(int) - Method in class org.apache.shiro.web.servlet.SimpleCookie
-
- setWebSecurityManager(WebSecurityManager) - Method in class org.apache.shiro.web.env.DefaultWebEnvironment
-
- setWebSecurityManager(WebSecurityManager) - Method in interface org.apache.shiro.web.env.MutableWebEnvironment
-
- Sha1CredentialsMatcher - Class in org.apache.shiro.authc.credential
-
- Sha1CredentialsMatcher() - Constructor for class org.apache.shiro.authc.credential.Sha1CredentialsMatcher
-
Deprecated.
- Sha1Hash - Class in org.apache.shiro.crypto.hash
-
Generates an SHA-1 Hash (Secure Hash Standard, NIST FIPS 180-1) from a given input source with an
optional salt and hash iterations.
- Sha1Hash() - Constructor for class org.apache.shiro.crypto.hash.Sha1Hash
-
- Sha1Hash(Object) - Constructor for class org.apache.shiro.crypto.hash.Sha1Hash
-
- Sha1Hash(Object, Object) - Constructor for class org.apache.shiro.crypto.hash.Sha1Hash
-
- Sha1Hash(Object, Object, int) - Constructor for class org.apache.shiro.crypto.hash.Sha1Hash
-
- Sha256CredentialsMatcher - Class in org.apache.shiro.authc.credential
-
- Sha256CredentialsMatcher() - Constructor for class org.apache.shiro.authc.credential.Sha256CredentialsMatcher
-
Deprecated.
- Sha256Hash - Class in org.apache.shiro.crypto.hash
-
Generates an SHA-256 Hash from a given input source with an optional salt and hash iterations.
- Sha256Hash() - Constructor for class org.apache.shiro.crypto.hash.Sha256Hash
-
- Sha256Hash(Object) - Constructor for class org.apache.shiro.crypto.hash.Sha256Hash
-
- Sha256Hash(Object, Object) - Constructor for class org.apache.shiro.crypto.hash.Sha256Hash
-
- Sha256Hash(Object, Object, int) - Constructor for class org.apache.shiro.crypto.hash.Sha256Hash
-
- Sha384CredentialsMatcher - Class in org.apache.shiro.authc.credential
-
- Sha384CredentialsMatcher() - Constructor for class org.apache.shiro.authc.credential.Sha384CredentialsMatcher
-
Deprecated.
- Sha384Hash - Class in org.apache.shiro.crypto.hash
-
Generates an SHA-384 Hash from a given input source with an optional salt and hash iterations.
- Sha384Hash() - Constructor for class org.apache.shiro.crypto.hash.Sha384Hash
-
- Sha384Hash(Object) - Constructor for class org.apache.shiro.crypto.hash.Sha384Hash
-
- Sha384Hash(Object, Object) - Constructor for class org.apache.shiro.crypto.hash.Sha384Hash
-
- Sha384Hash(Object, Object, int) - Constructor for class org.apache.shiro.crypto.hash.Sha384Hash
-
- Sha512CredentialsMatcher - Class in org.apache.shiro.authc.credential
-
- Sha512CredentialsMatcher() - Constructor for class org.apache.shiro.authc.credential.Sha512CredentialsMatcher
-
Deprecated.
- Sha512Hash - Class in org.apache.shiro.crypto.hash
-
Generates an SHA-512 Hash from a given input source with an optional salt and hash iterations.
- Sha512Hash() - Constructor for class org.apache.shiro.crypto.hash.Sha512Hash
-
- Sha512Hash(Object) - Constructor for class org.apache.shiro.crypto.hash.Sha512Hash
-
- Sha512Hash(Object, Object) - Constructor for class org.apache.shiro.crypto.hash.Sha512Hash
-
- Sha512Hash(Object, Object, int) - Constructor for class org.apache.shiro.crypto.hash.Sha512Hash
-
- Shiro1CryptFormat - Class in org.apache.shiro.crypto.hash.format
-
- Shiro1CryptFormat() - Constructor for class org.apache.shiro.crypto.hash.format.Shiro1CryptFormat
-
- ShiroAnnotationFilterFeature - Class in org.apache.shiro.web.jaxrs
-
Wraps
filters
around JAX-RS resources that are annotated with Shiro annotations.
- ShiroAnnotationFilterFeature() - Constructor for class org.apache.shiro.web.jaxrs.ShiroAnnotationFilterFeature
-
- ShiroAnnotationProcessorAutoConfiguration - Class in org.apache.shiro.spring.boot.autoconfigure
-
- ShiroAnnotationProcessorAutoConfiguration() - Constructor for class org.apache.shiro.spring.boot.autoconfigure.ShiroAnnotationProcessorAutoConfiguration
-
- ShiroAnnotationProcessorAutoConfiguration - Class in org.apache.shiro.spring.config.web.autoconfigure
-
- ShiroAnnotationProcessorAutoConfiguration() - Constructor for class org.apache.shiro.spring.config.web.autoconfigure.ShiroAnnotationProcessorAutoConfiguration
-
- ShiroAnnotationProcessorConfiguration - Class in org.apache.shiro.spring.config
-
- ShiroAnnotationProcessorConfiguration() - Constructor for class org.apache.shiro.spring.config.ShiroAnnotationProcessorConfiguration
-
- ShiroAopModule - Class in org.apache.shiro.guice.aop
-
Install this module to enable Shiro AOP functionality in Guice.
- ShiroAopModule() - Constructor for class org.apache.shiro.guice.aop.ShiroAopModule
-
- ShiroAutoConfiguration - Class in org.apache.shiro.spring.boot.autoconfigure
-
- ShiroAutoConfiguration() - Constructor for class org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration
-
- ShiroBeanAutoConfiguration - Class in org.apache.shiro.spring.boot.autoconfigure
-
- ShiroBeanAutoConfiguration() - Constructor for class org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration
-
- ShiroBeanAutoConfiguration - Class in org.apache.shiro.spring.config.web.autoconfigure
-
- ShiroBeanAutoConfiguration() - Constructor for class org.apache.shiro.spring.config.web.autoconfigure.ShiroBeanAutoConfiguration
-
- ShiroBeanConfiguration - Class in org.apache.shiro.spring.config
-
- ShiroBeanConfiguration() - Constructor for class org.apache.shiro.spring.config.ShiroBeanConfiguration
-
- ShiroConfiguration - Class in org.apache.shiro.spring.config
-
- ShiroConfiguration() - Constructor for class org.apache.shiro.spring.config.ShiroConfiguration
-
- shiroEventBusAwareBeanPostProcessor() - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration
-
- shiroEventBusAwareBeanPostProcessor() - Method in class org.apache.shiro.spring.config.AbstractShiroBeanConfiguration
-
- shiroEventBusAwareBeanPostProcessor() - Method in class org.apache.shiro.spring.config.ShiroBeanConfiguration
-
- shiroEventBusAwareBeanPostProcessor() - Method in class org.apache.shiro.spring.config.web.autoconfigure.ShiroBeanAutoConfiguration
-
- ShiroEventBusBeanPostProcessor - Class in org.apache.shiro.spring
-
- ShiroEventBusBeanPostProcessor(EventBus) - Constructor for class org.apache.shiro.spring.ShiroEventBusBeanPostProcessor
-
- ShiroException - Exception in org.apache.shiro
-
Root exception for all Shiro runtime exceptions.
- ShiroException() - Constructor for exception org.apache.shiro.ShiroException
-
Creates a new ShiroException.
- ShiroException(String) - Constructor for exception org.apache.shiro.ShiroException
-
Constructs a new ShiroException.
- ShiroException(Throwable) - Constructor for exception org.apache.shiro.ShiroException
-
Constructs a new ShiroException.
- ShiroException(String, Throwable) - Constructor for exception org.apache.shiro.ShiroException
-
Constructs a new ShiroException.
- ShiroFeature - Class in org.apache.shiro.web.jaxrs
-
- ShiroFeature() - Constructor for class org.apache.shiro.web.jaxrs.ShiroFeature
-
- ShiroFilter - Class in org.apache.shiro.web.servlet
-
Primary Shiro Filter for web applications configuring Shiro via Servlet <listener> in web.xml.
- ShiroFilter() - Constructor for class org.apache.shiro.web.servlet.ShiroFilter
-
- shiroFilterChainDefinition() - Method in class org.apache.shiro.samples.WebApp
-
- shiroFilterChainDefinition - Variable in class org.apache.shiro.spring.web.config.AbstractShiroWebFilterConfiguration
-
- ShiroFilterChainDefinition - Interface in org.apache.shiro.spring.web.config
-
- shiroFilterFactoryBean() - Method in class org.apache.shiro.spring.config.web.autoconfigure.ShiroWebFilterConfiguration
-
- shiroFilterFactoryBean() - Method in class org.apache.shiro.spring.web.config.AbstractShiroWebFilterConfiguration
-
- shiroFilterFactoryBean() - Method in class org.apache.shiro.spring.web.config.ShiroWebFilterConfiguration
-
- ShiroFilterFactoryBean - Class in org.apache.shiro.spring.web
-
FactoryBean
to be used in Spring-based web applications for
defining the master Shiro Filter.
- ShiroFilterFactoryBean() - Constructor for class org.apache.shiro.spring.web.ShiroFilterFactoryBean
-
- ShiroHttpServletRequest - Class in org.apache.shiro.web.servlet
-
A
ShiroHttpServletRequest
wraps the Servlet container's original
ServletRequest
instance, but ensures
that all
HttpServletRequest
invocations that require Shiro's support (
getRemoteUser
,
getSession
, etc) can be executed first by Shiro as necessary before allowing the underlying
Servlet container instance's method to be invoked.
- ShiroHttpServletRequest(HttpServletRequest, ServletContext, boolean) - Constructor for class org.apache.shiro.web.servlet.ShiroHttpServletRequest
-
- ShiroHttpServletResponse - Class in org.apache.shiro.web.servlet
-
HttpServletResponse implementation to support URL Encoding of Shiro Session IDs.
- ShiroHttpServletResponse(HttpServletResponse, ServletContext, ShiroHttpServletRequest) - Constructor for class org.apache.shiro.web.servlet.ShiroHttpServletResponse
-
- ShiroHttpSession - Class in org.apache.shiro.web.servlet
-
Wrapper class that uses a Shiro
Session
under the hood for all session operations instead of the
Servlet Container's session mechanism.
- ShiroHttpSession(Session, HttpServletRequest, ServletContext) - Constructor for class org.apache.shiro.web.servlet.ShiroHttpSession
-
- ShiroModule - Class in org.apache.shiro.guice
-
- ShiroModule() - Constructor for class org.apache.shiro.guice.ShiroModule
-
- ShiroSecurityContext - Class in org.apache.shiro.web.jaxrs
-
A Shiro based
SecurityContext
that exposes the current Shiro
Subject
as a
Principal
.
- ShiroSecurityContext(ContainerRequestContext) - Constructor for class org.apache.shiro.web.jaxrs.ShiroSecurityContext
-
- ShiroSessionScope - Class in org.apache.shiro.guice
-
Guice scope for Shiro sessions.
- ShiroSessionScope() - Constructor for class org.apache.shiro.guice.ShiroSessionScope
-
- ShiroWebAutoConfiguration - Class in org.apache.shiro.spring.config.web.autoconfigure
-
- ShiroWebAutoConfiguration() - Constructor for class org.apache.shiro.spring.config.web.autoconfigure.ShiroWebAutoConfiguration
-
- ShiroWebConfiguration - Class in org.apache.shiro.spring.web.config
-
- ShiroWebConfiguration() - Constructor for class org.apache.shiro.spring.web.config.ShiroWebConfiguration
-
- ShiroWebFilterConfiguration - Class in org.apache.shiro.spring.config.web.autoconfigure
-
- ShiroWebFilterConfiguration() - Constructor for class org.apache.shiro.spring.config.web.autoconfigure.ShiroWebFilterConfiguration
-
- ShiroWebFilterConfiguration - Class in org.apache.shiro.spring.web.config
-
- ShiroWebFilterConfiguration() - Constructor for class org.apache.shiro.spring.web.config.ShiroWebFilterConfiguration
-
- ShiroWebModule - Class in org.apache.shiro.guice.web
-
- ShiroWebModule(ServletContext) - Constructor for class org.apache.shiro.guice.web.ShiroWebModule
-
- ShiroWebModule.FilterConfig<T extends Filter> - Class in org.apache.shiro.guice.web
-
Filter configuration which pairs a Filter class with its configuration used on a path.
- shouldImplicitlyCreateRealm(Ini) - Method in class org.apache.shiro.config.IniSecurityManagerFactory
-
Deprecated.
Returns
true
if the Ini contains account data and a
Realm
should be implicitly
created
to reflect the account data,
false
if no realm should be implicitly
created.
- shouldNotFilter(ServletRequest) - Method in class org.apache.shiro.web.servlet.OncePerRequestFilter
-
- showTagBody(String) - Method in class org.apache.shiro.web.tags.HasAnyRolesTag
-
- showTagBody(String) - Method in class org.apache.shiro.web.tags.HasPermissionTag
-
- showTagBody(String) - Method in class org.apache.shiro.web.tags.HasRoleTag
-
- showTagBody(String) - Method in class org.apache.shiro.web.tags.LacksPermissionTag
-
- showTagBody(String) - Method in class org.apache.shiro.web.tags.LacksRoleTag
-
- showTagBody(String) - Method in class org.apache.shiro.web.tags.PermissionTag
-
- showTagBody(String) - Method in class org.apache.shiro.web.tags.RoleTag
-
- shutdown() - Method in class org.apache.shiro.concurrent.SubjectAwareExecutorService
-
- shutdownNow() - Method in class org.apache.shiro.concurrent.SubjectAwareExecutorService
-
- SIMPLE_AUTHENTICATION_MECHANISM_NAME - Static variable in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
- SimpleAccount - Class in org.apache.shiro.authc
-
Simple implementation of the
Account
interface that
contains principal and credential and authorization information (roles and permissions) as instance variables and
exposes them via getters and setters using standard JavaBean notation.
- SimpleAccount() - Constructor for class org.apache.shiro.authc.SimpleAccount
-
Default no-argument constructor.
- SimpleAccount(Object, Object, String) - Constructor for class org.apache.shiro.authc.SimpleAccount
-
Constructs a SimpleAccount instance for the specified realm with the given principals and credentials.
- SimpleAccount(Object, Object, ByteSource, String) - Constructor for class org.apache.shiro.authc.SimpleAccount
-
Constructs a SimpleAccount instance for the specified realm with the given principals, hashedCredentials and
credentials salt used when hashing the credentials.
- SimpleAccount(Collection, Object, String) - Constructor for class org.apache.shiro.authc.SimpleAccount
-
Constructs a SimpleAccount instance for the specified realm with the given principals and credentials.
- SimpleAccount(PrincipalCollection, Object) - Constructor for class org.apache.shiro.authc.SimpleAccount
-
Constructs a SimpleAccount instance for the specified principals and credentials.
- SimpleAccount(PrincipalCollection, Object, ByteSource) - Constructor for class org.apache.shiro.authc.SimpleAccount
-
Constructs a SimpleAccount instance for the specified principals and credentials.
- SimpleAccount(PrincipalCollection, Object, Set<String>) - Constructor for class org.apache.shiro.authc.SimpleAccount
-
Constructs a SimpleAccount instance for the specified principals and credentials, with the assigned roles.
- SimpleAccount(Object, Object, String, Set<String>, Set<Permission>) - Constructor for class org.apache.shiro.authc.SimpleAccount
-
Constructs a SimpleAccount instance for the specified realm with the given principal and credentials, with the
the assigned roles and permissions.
- SimpleAccount(Collection, Object, String, Set<String>, Set<Permission>) - Constructor for class org.apache.shiro.authc.SimpleAccount
-
Constructs a SimpleAccount instance for the specified realm with the given principals and credentials, with the
the assigned roles and permissions.
- SimpleAccount(PrincipalCollection, Object, Set<String>, Set<Permission>) - Constructor for class org.apache.shiro.authc.SimpleAccount
-
Constructs a SimpleAccount instance from the given principals and credentials, with the
the assigned roles and permissions.
- SimpleAccountRealm - Class in org.apache.shiro.realm
-
A simple implementation of the
Realm
interface that
uses a set of configured user accounts and roles to support authentication and authorization.
- SimpleAccountRealm() - Constructor for class org.apache.shiro.realm.SimpleAccountRealm
-
- SimpleAccountRealm(String) - Constructor for class org.apache.shiro.realm.SimpleAccountRealm
-
- SimpleAuthenticationInfo - Class in org.apache.shiro.authc
-
- SimpleAuthenticationInfo() - Constructor for class org.apache.shiro.authc.SimpleAuthenticationInfo
-
Default no-argument constructor.
- SimpleAuthenticationInfo(Object, Object, String) - Constructor for class org.apache.shiro.authc.SimpleAuthenticationInfo
-
Constructor that takes in a single 'primary' principal of the account and its corresponding credentials,
associated with the specified realm.
- SimpleAuthenticationInfo(Object, Object, ByteSource, String) - Constructor for class org.apache.shiro.authc.SimpleAuthenticationInfo
-
Constructor that takes in a single 'primary' principal of the account, its corresponding hashed credentials,
the salt used to hash the credentials, and the name of the realm to associate with the principals.
- SimpleAuthenticationInfo(PrincipalCollection, Object) - Constructor for class org.apache.shiro.authc.SimpleAuthenticationInfo
-
Constructor that takes in an account's identifying principal(s) and its corresponding credentials that verify
the principals.
- SimpleAuthenticationInfo(PrincipalCollection, Object, ByteSource) - Constructor for class org.apache.shiro.authc.SimpleAuthenticationInfo
-
Constructor that takes in an account's identifying principal(s), hashed credentials used to verify the
principals, and the salt used when hashing the credentials.
- SimpleAuthorizationInfo - Class in org.apache.shiro.authz
-
Simple POJO implementation of the
AuthorizationInfo
interface that stores roles and permissions as internal
attributes.
- SimpleAuthorizationInfo() - Constructor for class org.apache.shiro.authz.SimpleAuthorizationInfo
-
Default no-argument constructor.
- SimpleAuthorizationInfo(Set<String>) - Constructor for class org.apache.shiro.authz.SimpleAuthorizationInfo
-
Creates a new instance with the specified roles and no permissions.
- SimpleByteSource - Class in org.apache.shiro.util
-
- SimpleByteSource(byte[]) - Constructor for class org.apache.shiro.util.SimpleByteSource
-
- SimpleByteSource(char[]) - Constructor for class org.apache.shiro.util.SimpleByteSource
-
Creates an instance by converting the characters to a byte array (assumes UTF-8 encoding).
- SimpleByteSource(String) - Constructor for class org.apache.shiro.util.SimpleByteSource
-
Creates an instance by converting the String to a byte array (assumes UTF-8 encoding).
- SimpleByteSource(ByteSource) - Constructor for class org.apache.shiro.util.SimpleByteSource
-
Creates an instance using the sources bytes directly - it does not create a copy of the
argument's byte array.
- SimpleByteSource(File) - Constructor for class org.apache.shiro.util.SimpleByteSource
-
Creates an instance by converting the file to a byte array.
- SimpleByteSource(InputStream) - Constructor for class org.apache.shiro.util.SimpleByteSource
-
Creates an instance by converting the stream to a byte array.
- SimpleCookie - Class in org.apache.shiro.web.servlet
-
Default
Cookie
implementation.
- SimpleCookie() - Constructor for class org.apache.shiro.web.servlet.SimpleCookie
-
- SimpleCookie(String) - Constructor for class org.apache.shiro.web.servlet.SimpleCookie
-
- SimpleCookie(Cookie) - Constructor for class org.apache.shiro.web.servlet.SimpleCookie
-
- SimpleCredentialsMatcher - Class in org.apache.shiro.authc.credential
-
Simple CredentialsMatcher implementation.
- SimpleCredentialsMatcher() - Constructor for class org.apache.shiro.authc.credential.SimpleCredentialsMatcher
-
- SimpleHash - Class in org.apache.shiro.crypto.hash
-
A
Hash
implementation that allows any
MessageDigest
algorithm name to
be used.
- SimpleHash(String) - Constructor for class org.apache.shiro.crypto.hash.SimpleHash
-
Creates an new instance with only its algorithmName
set - no hashing is performed.
- SimpleHash(String, Object) - Constructor for class org.apache.shiro.crypto.hash.SimpleHash
-
Creates an algorithmName
-specific hash of the specified source
with no salt
using a
single hash iteration.
- SimpleHash(String, Object, Object) - Constructor for class org.apache.shiro.crypto.hash.SimpleHash
-
Creates an algorithmName
-specific hash of the specified source
using the given salt
using a single hash iteration.
- SimpleHash(String, Object, Object, int) - Constructor for class org.apache.shiro.crypto.hash.SimpleHash
-
Creates an algorithmName
-specific hash of the specified source
using the given
salt
a total of hashIterations
times.
- SimpleHashRequest - Class in org.apache.shiro.crypto.hash
-
- SimpleHashRequest(String, ByteSource, ByteSource, int) - Constructor for class org.apache.shiro.crypto.hash.SimpleHashRequest
-
Creates a new SimpleHashRequest instance.
- SimpleNamedFilterList - Class in org.apache.shiro.web.filter.mgt
-
Simple
NamedFilterList
implementation that is supported by a backing
List
instance and a simple
name
property.
- SimpleNamedFilterList(String) - Constructor for class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
-
Creates a new
SimpleNamedFilterList
instance with the specified
name
, defaulting to a new
ArrayList
instance as the backing list.
- SimpleNamedFilterList(String, List<Filter>) - Constructor for class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
-
Creates a new SimpleNamedFilterList
instance with the specified name
and backingList
.
- SimplePrincipalCollection - Class in org.apache.shiro.subject
-
- SimplePrincipalCollection() - Constructor for class org.apache.shiro.subject.SimplePrincipalCollection
-
- SimplePrincipalCollection(Object, String) - Constructor for class org.apache.shiro.subject.SimplePrincipalCollection
-
- SimplePrincipalCollection(Collection, String) - Constructor for class org.apache.shiro.subject.SimplePrincipalCollection
-
- SimplePrincipalCollection(PrincipalCollection) - Constructor for class org.apache.shiro.subject.SimplePrincipalCollection
-
- SimplePrincipalMap - Class in org.apache.shiro.subject
-
- SimplePrincipalMap() - Constructor for class org.apache.shiro.subject.SimplePrincipalMap
-
- SimplePrincipalMap(Map<String, Map<String, Object>>) - Constructor for class org.apache.shiro.subject.SimplePrincipalMap
-
- SimpleRole - Class in org.apache.shiro.authz
-
A simple representation of a security role that has a name and a collection of permissions.
- SimpleRole() - Constructor for class org.apache.shiro.authz.SimpleRole
-
- SimpleRole(String) - Constructor for class org.apache.shiro.authz.SimpleRole
-
- SimpleRole(String, Set<Permission>) - Constructor for class org.apache.shiro.authz.SimpleRole
-
- SimpleSession - Class in org.apache.shiro.session.mgt
-
Simple
Session
JavaBeans-compatible POJO implementation, intended to be used on the
business/server tier.
- SimpleSession() - Constructor for class org.apache.shiro.session.mgt.SimpleSession
-
- SimpleSession(String) - Constructor for class org.apache.shiro.session.mgt.SimpleSession
-
- SimpleSessionFactory - Class in org.apache.shiro.session.mgt
-
SessionFactory
implementation that generates
SimpleSession
instances.
- SimpleSessionFactory() - Constructor for class org.apache.shiro.session.mgt.SimpleSessionFactory
-
- SingleArgumentMethodEventListener - Class in org.apache.shiro.event.support
-
A event listener that invokes a target object's method that accepts a single event argument.
- SingleArgumentMethodEventListener(Object, Method) - Constructor for class org.apache.shiro.event.support.SingleArgumentMethodEventListener
-
- size() - Method in interface org.apache.shiro.cache.Cache
-
Returns the number of entries in the cache.
- size() - Method in class org.apache.shiro.cache.ehcache.EhCache
-
- size() - Method in class org.apache.shiro.cache.MapCache
-
- size() - Method in class org.apache.shiro.config.Ini.Section
-
- size() - Method in class org.apache.shiro.config.Ini
-
- size() - Method in class org.apache.shiro.subject.SimplePrincipalMap
-
- size(Collection) - Static method in class org.apache.shiro.util.CollectionUtils
-
Returns the size of the specified collection or 0
if the collection is null
.
- size(Map) - Static method in class org.apache.shiro.util.CollectionUtils
-
Returns the size of the specified map or 0
if the map is null
.
- size() - Method in class org.apache.shiro.util.MapContext
-
- size() - Method in class org.apache.shiro.util.SoftHashMap
-
- size() - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
-
- SoftHashMap<K,V> - Class in org.apache.shiro.util
-
A
SoftHashMap
is a memory-constrained map that stores its
values in
SoftReference
s.
- SoftHashMap() - Constructor for class org.apache.shiro.util.SoftHashMap
-
- SoftHashMap(int) - Constructor for class org.apache.shiro.util.SoftHashMap
-
Creates a new SoftHashMap with the specified retention size.
- SoftHashMap(Map<K, V>) - Constructor for class org.apache.shiro.util.SoftHashMap
-
Creates a
SoftHashMap
backed by the specified
source
, with a default retention
size of
DEFAULT_RETENTION_SIZE
(100 entries).
- SoftHashMap(Map<K, V>, int) - Constructor for class org.apache.shiro.util.SoftHashMap
-
Creates a SoftHashMap
backed by the specified source
, with the specified retention size.
- split(String) - Static method in class org.apache.shiro.util.StringUtils
-
- split(String, char) - Static method in class org.apache.shiro.util.StringUtils
-
- split(String, char, char) - Static method in class org.apache.shiro.util.StringUtils
-
- split(String, char, char, char) - Static method in class org.apache.shiro.util.StringUtils
-
- split(String, char, char, char, boolean, boolean) - Static method in class org.apache.shiro.util.StringUtils
-
Splits the specified delimited String into tokens, supporting quoted tokens so that quoted strings themselves
won't be tokenized.
- splitChainDefinition(String) - Method in class org.apache.shiro.web.filter.mgt.DefaultFilterChainManager
-
Splits the comma-delimited filter chain definition line into individual filter definition tokens.
- splitKeyValue(String) - Static method in class org.apache.shiro.config.Ini.Section
-
- splitKeyValue(String) - Static method in class org.apache.shiro.util.StringUtils
-
- splitToSet(String, String) - Static method in class org.apache.shiro.util.StringUtils
-
Splits the delimited
string (delimited by the specified separator
character) and returns the
delimited values as a Set
.
- SpringAnnotationResolver - Class in org.apache.shiro.spring.aop
-
AnnotationResolver
implementation that uses Spring's more robust
AnnotationUtils
to find method annotations instead of the JDKs simpler
(and rather lacking)
Method
.
getAnnotation(class)
implementation.
- SpringAnnotationResolver() - Constructor for class org.apache.shiro.spring.aop.SpringAnnotationResolver
-
- SSL - Static variable in class org.apache.shiro.guice.web.ShiroWebModule
-
- SslFilter - Class in org.apache.shiro.web.filter.authz
-
Filter which requires a request to be over SSL.
- SslFilter() - Constructor for class org.apache.shiro.web.filter.authz.SslFilter
-
- start(SessionContext) - Method in class org.apache.shiro.mgt.SessionsSecurityManager
-
- start(SessionContext) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
-
- start(SessionContext) - Method in interface org.apache.shiro.session.mgt.SessionManager
-
Starts a new session based on the specified contextual initialization data, which can be used by the underlying
implementation to determine how exactly to create the internal Session instance.
- start(SessionContext) - Method in class org.apache.shiro.web.session.mgt.ServletContainerSessionManager
-
- startContainer() - Static method in class org.apache.shiro.testing.web.AbstractContainerIT
-
- startReloadThread() - Method in class org.apache.shiro.realm.text.PropertiesRealm
-
- startsWithIgnoreCase(String, String) - Static method in class org.apache.shiro.util.StringUtils
-
Test if the given String starts with the specified prefix,
ignoring upper/lower case.
- state(boolean, String) - Static method in class org.apache.shiro.util.Assert
-
Assert a boolean expression, throwing IllegalStateException
if the test result is false
.
- state(boolean) - Static method in class org.apache.shiro.util.Assert
-
- stop(SessionKey) - Method in class org.apache.shiro.session.mgt.AbstractNativeSessionManager
-
- stop() - Method in class org.apache.shiro.session.mgt.DelegatingSession
-
- stop() - Method in class org.apache.shiro.session.mgt.ImmutableProxiedSession
-
Immediately
throws
an
InvalidSessionException
in all
cases because this proxy is immutable.
- stop(SessionKey) - Method in interface org.apache.shiro.session.mgt.NativeSessionManager
-
Explicitly stops the associated session, thereby releasing all of its resources.
- stop() - Method in class org.apache.shiro.session.mgt.SimpleSession
-
- stop() - Method in class org.apache.shiro.session.ProxiedSession
-
Immediately delegates to the underlying proxied session.
- stop() - Method in interface org.apache.shiro.session.Session
-
Explicitly stops (invalidates) this session and releases all associated resources.
- stop() - Method in class org.apache.shiro.web.session.HttpServletSession
-
- stopContainer() - Static method in class org.apache.shiro.testing.web.AbstractContainerIT
-
- StoppedSessionException - Exception in org.apache.shiro.session
-
Exception thrown when attempting to interact with the system under a session that has been
stopped.
- StoppedSessionException() - Constructor for exception org.apache.shiro.session.StoppedSessionException
-
Creates a new StoppedSessionException.
- StoppedSessionException(String) - Constructor for exception org.apache.shiro.session.StoppedSessionException
-
Constructs a new StoppedSessionException.
- StoppedSessionException(Throwable) - Constructor for exception org.apache.shiro.session.StoppedSessionException
-
Constructs a new StoppedSessionException.
- StoppedSessionException(String, Throwable) - Constructor for exception org.apache.shiro.session.StoppedSessionException
-
Constructs a new StoppedSessionException.
- stopSession(Subject) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
-
- storeSession(Serializable, Session) - Method in class org.apache.shiro.session.mgt.eis.MemorySessionDAO
-
- stringPermissions - Variable in class org.apache.shiro.authz.SimpleAuthorizationInfo
-
Collection of all string-based permissions associated with the account.
- StringUtils - Class in org.apache.shiro.util
-
Simple utility class for String operations useful across the framework.
- StringUtils() - Constructor for class org.apache.shiro.util.StringUtils
-
- subject() - Method in class org.apache.shiro.samples.WebApp
-
- Subject - Interface in org.apache.shiro.subject
-
A Subject
represents state and security operations for a single application user.
- Subject.Builder - Class in org.apache.shiro.subject
-
Builder design pattern implementation for creating
Subject
instances in a simplified way without
requiring knowledge of Shiro's construction techniques.
- SUBJECT_KEY - Static variable in class org.apache.shiro.util.ThreadContext
-
- SubjectAwareExecutor - Class in org.apache.shiro.concurrent
-
Executor
implementation that will automatically first associate any argument
Runnable
instances with the currently available
Subject
and then
dispatch the Subject-enabled runnable to an underlying delegate
Executor
instance.
- SubjectAwareExecutor() - Constructor for class org.apache.shiro.concurrent.SubjectAwareExecutor
-
- SubjectAwareExecutor(Executor) - Constructor for class org.apache.shiro.concurrent.SubjectAwareExecutor
-
- SubjectAwareExecutorService - Class in org.apache.shiro.concurrent
-
- SubjectAwareExecutorService() - Constructor for class org.apache.shiro.concurrent.SubjectAwareExecutorService
-
- SubjectAwareExecutorService(ExecutorService) - Constructor for class org.apache.shiro.concurrent.SubjectAwareExecutorService
-
- SubjectAwareScheduledExecutorService - Class in org.apache.shiro.concurrent
-
- SubjectAwareScheduledExecutorService() - Constructor for class org.apache.shiro.concurrent.SubjectAwareScheduledExecutorService
-
- SubjectAwareScheduledExecutorService(ScheduledExecutorService) - Constructor for class org.apache.shiro.concurrent.SubjectAwareScheduledExecutorService
-
- SubjectCallable<V> - Class in org.apache.shiro.subject.support
-
A
SubjectCallable
associates a
Subject
with a target/delegate
Callable
to ensure proper
Subject
thread-state management when the
Callable
executes.
- SubjectCallable(Subject, Callable<V>) - Constructor for class org.apache.shiro.subject.support.SubjectCallable
-
- SubjectCallable(ThreadState, Callable<V>) - Constructor for class org.apache.shiro.subject.support.SubjectCallable
-
- SubjectContext - Interface in org.apache.shiro.subject
-
A
SubjectContext
is a 'bucket' of data presented to a
SecurityManager
which interprets
this data to construct
Subject
instances.
- subjectDAO - Variable in class org.apache.shiro.mgt.DefaultSecurityManager
-
- SubjectDAO - Interface in org.apache.shiro.mgt
-
A SubjectDAO
is responsible for persisting a Subject instance's internal state such that the Subject instance
can be recreated at a later time if necessary.
- subjectDAO() - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration
-
- subjectDAO() - Method in class org.apache.shiro.spring.config.AbstractShiroConfiguration
-
- subjectDAO() - Method in class org.apache.shiro.spring.config.ShiroConfiguration
-
- subjectDAO() - Method in class org.apache.shiro.spring.config.web.autoconfigure.ShiroWebAutoConfiguration
-
- subjectDAO() - Method in class org.apache.shiro.spring.web.config.ShiroWebConfiguration
-
- subjectFactory - Variable in class org.apache.shiro.mgt.DefaultSecurityManager
-
- SubjectFactory - Interface in org.apache.shiro.mgt
-
A
SubjectFactory
is responsible for constructing
Subject
instances as needed.
- subjectFactory() - Method in class org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration
-
- subjectFactory() - Method in class org.apache.shiro.spring.config.AbstractShiroConfiguration
-
- subjectFactory() - Method in class org.apache.shiro.spring.config.ShiroConfiguration
-
- subjectFactory() - Method in class org.apache.shiro.spring.config.web.autoconfigure.ShiroWebAutoConfiguration
-
- subjectFactory() - Method in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
- subjectFactory() - Method in class org.apache.shiro.spring.web.config.ShiroWebConfiguration
-
- SubjectPrincipalRequestFilter - Class in org.apache.shiro.web.jaxrs
-
- SubjectPrincipalRequestFilter() - Constructor for class org.apache.shiro.web.jaxrs.SubjectPrincipalRequestFilter
-
- SubjectRunnable - Class in org.apache.shiro.subject.support
-
A
SubjectRunnable
ensures that a target/delegate
Runnable
will execute such that any
call to
SecurityUtils.
getSubject()
during the
Runnable
's execution will return the associated
Subject
instance.
- SubjectRunnable(Subject, Runnable) - Constructor for class org.apache.shiro.subject.support.SubjectRunnable
-
Creates a new SubjectRunnable
that, when executed, will execute the target delegate
, but
guarantees that it will run associated with the specified Subject
.
- SubjectRunnable(ThreadState, Runnable) - Constructor for class org.apache.shiro.subject.support.SubjectRunnable
-
Creates a new
SubjectRunnable
that, when executed, will perform thread state
binding
and guaranteed
restoration
before and after the
Runnable
's execution, respectively.
- SubjectThreadState - Class in org.apache.shiro.subject.support
-
Manages thread-state for
Subject
access (supporting
SecurityUtils.
getSubject()
calls)
during a thread's execution.
- SubjectThreadState(Subject) - Constructor for class org.apache.shiro.subject.support.SubjectThreadState
-
Creates a new SubjectThreadState
that will bind and unbind the specified Subject
to the
thread
- subList(int, int) - Method in class org.apache.shiro.web.filter.mgt.SimpleNamedFilterList
-
- submit(Callable<T>) - Method in class org.apache.shiro.concurrent.SubjectAwareExecutorService
-
- submit(Runnable, T) - Method in class org.apache.shiro.concurrent.SubjectAwareExecutorService
-
- submit(Runnable) - Method in class org.apache.shiro.concurrent.SubjectAwareExecutorService
-
- SUBPART_DIVIDER_TOKEN - Static variable in class org.apache.shiro.authz.permission.WildcardPermission
-
- Subscribe - Annotation Type in org.apache.shiro.event
-
Indicates a method is an event consumer.
- successUrl - Variable in class org.apache.shiro.spring.web.config.AbstractShiroWebFilterConfiguration
-
- SUN_CONNECTION_POOLING_PROPERTY - Static variable in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
The Sun LDAP property used to enable connection pooling.
- SUN_CONNECTION_POOLING_PROPERTY - Static variable in class org.apache.shiro.realm.ldap.JndiLdapContextFactory
-
The Sun LDAP property used to enable connection pooling.
- supports(MethodInvocation) - Method in class org.apache.shiro.aop.AnnotationMethodInterceptor
-
Returns true
if this interceptor supports, that is, should inspect, the specified
MethodInvocation
, false
otherwise.
- supports(AuthenticationToken) - Method in class org.apache.shiro.realm.AuthenticatingRealm
-
Convenience implementation that returns
getAuthenticationTokenClass().isAssignableFrom( token.getClass() );.
- supports(AuthenticationToken) - Method in interface org.apache.shiro.realm.Realm
-
Returns
true if this realm wishes to authenticate the Subject represented by the given
AuthenticationToken
instance,
false otherwise.
- systemPassword - Variable in class org.apache.shiro.realm.ldap.AbstractLdapRealm
-
- systemPassword - Variable in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
- systemUsername - Variable in class org.apache.shiro.realm.ldap.AbstractLdapRealm
-
- systemUsername - Variable in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
- UnauthenticatedException - Exception in org.apache.shiro.authz
-
Exception thrown when attempting to execute an authorization action when a successful
authentication hasn't yet occurred.
- UnauthenticatedException() - Constructor for exception org.apache.shiro.authz.UnauthenticatedException
-
Creates a new UnauthenticatedException.
- UnauthenticatedException(String) - Constructor for exception org.apache.shiro.authz.UnauthenticatedException
-
Constructs a new UnauthenticatedException.
- UnauthenticatedException(Throwable) - Constructor for exception org.apache.shiro.authz.UnauthenticatedException
-
Constructs a new UnauthenticatedException.
- UnauthenticatedException(String, Throwable) - Constructor for exception org.apache.shiro.authz.UnauthenticatedException
-
Constructs a new UnauthenticatedException.
- UnauthorizedException - Exception in org.apache.shiro.authz
-
Thrown to indicate a requested operation or access to a requested resource is not allowed.
- UnauthorizedException() - Constructor for exception org.apache.shiro.authz.UnauthorizedException
-
Creates a new UnauthorizedException.
- UnauthorizedException(String) - Constructor for exception org.apache.shiro.authz.UnauthorizedException
-
Constructs a new UnauthorizedException.
- UnauthorizedException(Throwable) - Constructor for exception org.apache.shiro.authz.UnauthorizedException
-
Constructs a new UnauthorizedException.
- UnauthorizedException(String, Throwable) - Constructor for exception org.apache.shiro.authz.UnauthorizedException
-
Constructs a new UnauthorizedException.
- unauthorizedUrl - Variable in class org.apache.shiro.spring.web.config.AbstractShiroWebFilterConfiguration
-
- UnavailableSecurityManagerException - Exception in org.apache.shiro
-
Exception thrown when attempting to acquire the application's SecurityManager
instance, but Shiro's
lookup heuristics cannot find one.
- UnavailableSecurityManagerException(String) - Constructor for exception org.apache.shiro.UnavailableSecurityManagerException
-
- UnavailableSecurityManagerException(String, Throwable) - Constructor for exception org.apache.shiro.UnavailableSecurityManagerException
-
- unbind(String) - Method in class org.apache.shiro.jndi.JndiTemplate
-
Remove the binding for the given name from the current JNDI context.
- unbind(Subject) - Method in class org.apache.shiro.mgt.DefaultSecurityManager
-
- unbindSecurityManager() - Static method in class org.apache.shiro.util.ThreadContext
-
Convenience method that simplifies removal of the application's SecurityManager instance from the thread.
- unbindSubject() - Static method in class org.apache.shiro.util.ThreadContext
-
Convenience method that simplifies removal of a thread-local Subject from the thread.
- uncache(Session) - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
Removes the specified Session from the cache.
- unescapeIfNecessary(String) - Method in class org.apache.shiro.config.ReflectionBuilder
-
- UnknownAccountException - Exception in org.apache.shiro.authc
-
Thrown when attempting to authenticate with a principal that doesn't exist in the system (e.g.
- UnknownAccountException() - Constructor for exception org.apache.shiro.authc.UnknownAccountException
-
Creates a new UnknownAccountException.
- UnknownAccountException(String) - Constructor for exception org.apache.shiro.authc.UnknownAccountException
-
Constructs a new UnknownAccountException.
- UnknownAccountException(Throwable) - Constructor for exception org.apache.shiro.authc.UnknownAccountException
-
Constructs a new UnknownAccountException.
- UnknownAccountException(String, Throwable) - Constructor for exception org.apache.shiro.authc.UnknownAccountException
-
Constructs a new UnknownAccountException.
- UnknownAlgorithmException - Exception in org.apache.shiro.crypto
-
Exception thrown when attempting to lookup or use a cryptographic algorithm that does not exist in the current
JVM environment.
- UnknownAlgorithmException(String) - Constructor for exception org.apache.shiro.crypto.UnknownAlgorithmException
-
- UnknownAlgorithmException(Throwable) - Constructor for exception org.apache.shiro.crypto.UnknownAlgorithmException
-
- UnknownAlgorithmException(String, Throwable) - Constructor for exception org.apache.shiro.crypto.UnknownAlgorithmException
-
- UnknownClassException - Exception in org.apache.shiro.util
-
The Shiro framework's RuntimeException
equivalent of the JDK's
ClassNotFoundException
, to maintain a RuntimeException paradigm.
- UnknownClassException() - Constructor for exception org.apache.shiro.util.UnknownClassException
-
Creates a new UnknownClassException.
- UnknownClassException(String) - Constructor for exception org.apache.shiro.util.UnknownClassException
-
Constructs a new UnknownClassException.
- UnknownClassException(Throwable) - Constructor for exception org.apache.shiro.util.UnknownClassException
-
Constructs a new UnknownClassException.
- UnknownClassException(String, Throwable) - Constructor for exception org.apache.shiro.util.UnknownClassException
-
Constructs a new UnknownClassException.
- UnknownSessionException - Exception in org.apache.shiro.session
-
Exception thrown when attempting to interact with the system under the pretense of a
particular session (e.g.
- UnknownSessionException() - Constructor for exception org.apache.shiro.session.UnknownSessionException
-
Creates a new UnknownSessionException.
- UnknownSessionException(String) - Constructor for exception org.apache.shiro.session.UnknownSessionException
-
Constructs a new UnknownSessionException.
- UnknownSessionException(Throwable) - Constructor for exception org.apache.shiro.session.UnknownSessionException
-
Constructs a new UnknownSessionException.
- UnknownSessionException(String, Throwable) - Constructor for exception org.apache.shiro.session.UnknownSessionException
-
Constructs a new UnknownSessionException.
- unregister(Object) - Method in interface org.apache.shiro.event.EventBus
-
Unregisters all previously-registered event handler methods on the specified instance.
- unregister(Object) - Method in class org.apache.shiro.event.support.DefaultEventBus
-
- UnresolveableReferenceException - Exception in org.apache.shiro.config
-
Exception thrown when a reference to an object is made, but that object cannot be found.
- UnresolveableReferenceException() - Constructor for exception org.apache.shiro.config.UnresolveableReferenceException
-
Creates a new UnresolveableReferenceException.
- UnresolveableReferenceException(String) - Constructor for exception org.apache.shiro.config.UnresolveableReferenceException
-
Constructs a new UnresolveableReferenceException.
- UnresolveableReferenceException(Throwable) - Constructor for exception org.apache.shiro.config.UnresolveableReferenceException
-
Constructs a new UnresolveableReferenceException.
- UnresolveableReferenceException(String, Throwable) - Constructor for exception org.apache.shiro.config.UnresolveableReferenceException
-
Constructs a new UnresolveableReferenceException.
- UnsupportedAuthenticationMechanismException - Exception in org.apache.shiro.ldap
-
- UnsupportedAuthenticationMechanismException(String) - Constructor for exception org.apache.shiro.ldap.UnsupportedAuthenticationMechanismException
-
- UnsupportedAuthenticationMechanismException(String, Throwable) - Constructor for exception org.apache.shiro.ldap.UnsupportedAuthenticationMechanismException
-
- UnsupportedTokenException - Exception in org.apache.shiro.authc.pam
-
Exception thrown during the authentication process when an
AuthenticationToken
implementation is encountered that is not
supported by one or more configured
Realm
s.
- UnsupportedTokenException() - Constructor for exception org.apache.shiro.authc.pam.UnsupportedTokenException
-
Creates a new UnsupportedTokenException.
- UnsupportedTokenException(String) - Constructor for exception org.apache.shiro.authc.pam.UnsupportedTokenException
-
Constructs a new UnsupportedTokenException.
- UnsupportedTokenException(Throwable) - Constructor for exception org.apache.shiro.authc.pam.UnsupportedTokenException
-
Constructs a new UnsupportedTokenException.
- UnsupportedTokenException(String, Throwable) - Constructor for exception org.apache.shiro.authc.pam.UnsupportedTokenException
-
Constructs a new UnsupportedTokenException.
- update(Session) - Method in class org.apache.shiro.session.mgt.eis.CachingSessionDAO
-
- update(Session) - Method in class org.apache.shiro.session.mgt.eis.MemorySessionDAO
-
- update(Session) - Method in interface org.apache.shiro.session.mgt.eis.SessionDAO
-
Updates (persists) data from a previously created Session instance in the EIS identified by
{@link Session#getId() session.getId()}
.
- updateSessionLastAccessTime(ServletRequest, ServletResponse) - Method in class org.apache.shiro.web.servlet.AbstractShiroFilter
-
Updates any 'native' Session's last access time that might exist to the timestamp when this method is called.
- uppercaseFirstChar(String) - Static method in class org.apache.shiro.util.StringUtils
-
Returns the input argument, but ensures the first character is capitalized (if possible).
- url - Variable in class org.apache.shiro.realm.ldap.AbstractLdapRealm
-
- url - Variable in class org.apache.shiro.realm.ldap.DefaultLdapContextFactory
-
Deprecated.
- URL_PREFIX - Static variable in class org.apache.shiro.io.ResourceUtils
-
Resource path prefix that specifies to load from a url location, value is url:
- URL_SESSION_ID_SOURCE - Static variable in class org.apache.shiro.web.servlet.ShiroHttpServletRequest
-
- urlEncode(String, String) - Method in class org.apache.shiro.web.util.RedirectView
-
- URLS - Static variable in class org.apache.shiro.web.config.IniFilterChainResolverFactory
-
- useNativeSessionManager - Variable in class org.apache.shiro.spring.web.config.AbstractShiroWebConfiguration
-
- USER - Static variable in class org.apache.shiro.guice.web.ShiroWebModule
-
- UserAnnotationHandler - Class in org.apache.shiro.authz.aop
-
Checks to see if a @
RequiresUser
annotation
is declared, and if so, ensures the calling
Subject
is
either
authenticated
or remembered via remember
me services before allowing access.
- UserAnnotationHandler() - Constructor for class org.apache.shiro.authz.aop.UserAnnotationHandler
-
Default no-argument constructor that ensures this handler looks for
RequiresUser
annotations.
- UserAnnotationMethodInterceptor - Class in org.apache.shiro.authz.aop
-
Checks to see if a @
RequiresUser
annotation
is declared, and if so, ensures the calling
Subject
is
either
authenticated
or remembered via remember
me services before invoking the method.
- UserAnnotationMethodInterceptor() - Constructor for class org.apache.shiro.authz.aop.UserAnnotationMethodInterceptor
-
Default no-argument constructor that ensures this interceptor looks for
RequiresUser
annotations in a method
declaration.
- UserAnnotationMethodInterceptor(AnnotationResolver) - Constructor for class org.apache.shiro.authz.aop.UserAnnotationMethodInterceptor
-
- UserFilter - Class in org.apache.shiro.web.filter.authc
-
Filter that allows access to resources if the accessor is a known user, which is defined as
having a known principal.
- UserFilter() - Constructor for class org.apache.shiro.web.filter.authc.UserFilter
-
- UsernamePasswordToken - Class in org.apache.shiro.authc
-
A simple username/password authentication token to support the most widely-used authentication mechanism.
- UsernamePasswordToken() - Constructor for class org.apache.shiro.authc.UsernamePasswordToken
-
JavaBeans compatible no-arg constructor.
- UsernamePasswordToken(String, char[]) - Constructor for class org.apache.shiro.authc.UsernamePasswordToken
-
Constructs a new UsernamePasswordToken encapsulating the username and password submitted
during an authentication attempt, with a
null host
and a
rememberMe default of
false.
- UsernamePasswordToken(String, String) - Constructor for class org.apache.shiro.authc.UsernamePasswordToken
-
Constructs a new UsernamePasswordToken encapsulating the username and password submitted
during an authentication attempt, with a
null host
and
a
rememberMe default of
false
- UsernamePasswordToken(String, char[], String) - Constructor for class org.apache.shiro.authc.UsernamePasswordToken
-
Constructs a new UsernamePasswordToken encapsulating the username and password submitted, the
inetAddress from where the attempt is occurring, and a default rememberMe value of false
- UsernamePasswordToken(String, String, String) - Constructor for class org.apache.shiro.authc.UsernamePasswordToken
-
Constructs a new UsernamePasswordToken encapsulating the username and password submitted, the
inetAddress from where the attempt is occurring, and a default
rememberMe value of
false
- UsernamePasswordToken(String, char[], boolean) - Constructor for class org.apache.shiro.authc.UsernamePasswordToken
-
Constructs a new UsernamePasswordToken encapsulating the username and password submitted, as well as if the user
wishes their identity to be remembered across sessions.
- UsernamePasswordToken(String, String, boolean) - Constructor for class org.apache.shiro.authc.UsernamePasswordToken
-
Constructs a new UsernamePasswordToken encapsulating the username and password submitted, as well as if the user
wishes their identity to be remembered across sessions.
- UsernamePasswordToken(String, char[], boolean, String) - Constructor for class org.apache.shiro.authc.UsernamePasswordToken
-
Constructs a new UsernamePasswordToken encapsulating the username and password submitted, if the user
wishes their identity to be remembered across sessions, and the inetAddress from where the attempt is occurring.
- UsernamePasswordToken(String, String, boolean, String) - Constructor for class org.apache.shiro.authc.UsernamePasswordToken
-
Constructs a new UsernamePasswordToken encapsulating the username and password submitted, if the user
wishes their identity to be remembered across sessions, and the inetAddress from where the attempt is occurring.
- userRolesQuery - Variable in class org.apache.shiro.realm.jdbc.JdbcRealm
-
- users - Variable in class org.apache.shiro.realm.SimpleAccountRealm
-
- USERS_LOCK - Variable in class org.apache.shiro.realm.SimpleAccountRealm
-
- USERS_SECTION_NAME - Static variable in class org.apache.shiro.realm.text.IniRealm
-
- UserTag - Class in org.apache.shiro.web.tags
-
JSP tag that renders the tag body if the current user known to the system, either from a successful login attempt
(not necessarily during the current session) or from 'RememberMe' services.
- UserTag() - Constructor for class org.apache.shiro.web.tags.UserTag
-
- useXmlFormat - Variable in class org.apache.shiro.realm.text.PropertiesRealm
-
- Util() - Constructor for class org.apache.shiro.util.ByteSource.Util
-