Package org.apache.shiro.web.servlet
Shiro-specific implementations of the Servlet API (Servlet Filters, et al).
- See Also:
ShiroFilter
-
Interface Summary Interface Description Cookie Interface representing HTTP cookie operations, supporting pojo-style getters and setters for all attributes which includes HttpOnly support.HttpSessionContext Deprecated. -
Class Summary Class Description AbstractFilter Base abstract Filter simplifying Filter initialization andaccess
to init parameters.AbstractShiroFilter Abstract base class that provides all standard Shiro request filtering behavior and expects subclasses to implement configuration-specific logic (INI, XML, .properties, etc).AdviceFilter A Servlet Filter that enables AOP-style "around" advice for a ServletRequest viapreHandle
,postHandle
, andafterCompletion
hooks.IniShiroFilter Deprecated. in 1.2 in favor of using theShiroFilter
NameableFilter Allows a filter to be named via JavaBeans-compatibleNameableFilter.getName()
/NameableFilter.setName(String)
methods.OncePerRequestFilter Filter base class that guarantees to be just executed once per request, on any servlet container.ProxiedFilterChain A proxied filter chain is aFilterChain
instance that proxies an originalFilterChain
as well as aList
of otherFilter
s that might need to execute prior to the final wrapped original chain.ServletContextSupport Base implementation for any components that need to access the web application'sServletContext
.ShiroFilter Primary Shiro Filter for web applications configuring Shiro via Servlet <listener> in web.xml.ShiroHttpServletRequest AShiroHttpServletRequest
wraps the Servlet container's originalServletRequest
instance, but ensures that allHttpServletRequest
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.ShiroHttpServletResponse HttpServletResponse implementation to support URL Encoding of Shiro Session IDs.ShiroHttpSession Wrapper class that uses a ShiroSession
under the hood for all session operations instead of the Servlet Container's session mechanism.SimpleCookie DefaultCookie
implementation. -
Enum Summary Enum Description Cookie.SameSiteOptions The SameSite attribute of the Set-Cookie HTTP response header allows you to declare if your cookie should be restricted to a first-party or same-site context.