Class AuthserviceShiroFilter
- java.lang.Object
-
- org.apache.shiro.web.servlet.ServletContextSupport
-
- org.apache.shiro.web.servlet.AbstractFilter
-
- org.apache.shiro.web.servlet.NameableFilter
-
- org.apache.shiro.web.servlet.OncePerRequestFilter
-
- org.apache.shiro.web.servlet.AbstractShiroFilter
-
- no.priv.bang.authservice.web.security.AuthserviceShiroFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
,org.apache.shiro.util.Nameable
public class AuthserviceShiroFilter extends org.apache.shiro.web.servlet.AbstractShiroFilter
This class will show ups aFilter
OSGi service, and will be picked up by the pax web whiteboard. The filter maps URLs in the webapp to users and roles.
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.shiro.config.Ini
INI_FILE
private org.apache.shiro.realm.Realm
realm
private org.apache.shiro.session.mgt.eis.SessionDAO
session
-
Constructor Summary
Constructors Constructor Description AuthserviceShiroFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate()
void
setRealm(org.apache.shiro.realm.Realm realm)
void
setSession(org.apache.shiro.session.mgt.eis.SessionDAO session)
-
Methods inherited from class org.apache.shiro.web.servlet.AbstractShiroFilter
createDefaultSecurityManager, createSubject, doFilterInternal, executeChain, getExecutionChain, getFilterChainResolver, getSecurityManager, init, isHttpSessions, isStaticSecurityManagerEnabled, onFilterConfigSet, prepareServletRequest, prepareServletResponse, setFilterChainResolver, setSecurityManager, setStaticSecurityManagerEnabled, updateSessionLastAccessTime, wrapServletRequest, wrapServletResponse
-
Methods inherited from class org.apache.shiro.web.servlet.OncePerRequestFilter
doFilter, getAlreadyFilteredAttributeName, isEnabled, isEnabled, setEnabled, shouldNotFilter
-
Methods inherited from class org.apache.shiro.web.servlet.NameableFilter
getName, setName, toStringBuilder
-
Methods inherited from class org.apache.shiro.web.servlet.AbstractFilter
destroy, getFilterConfig, getInitParam, init, setFilterConfig
-
-