Class HandleregShiroFilter

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.shirofilter.AuthserviceShiroFilterBase
no.priv.bang.handlereg.web.security.HandleregShiroFilter
All Implemented Interfaces:
javax.servlet.Filter, org.apache.shiro.lang.util.Nameable

public class HandleregShiroFilter extends no.priv.bang.authservice.web.security.shirofilter.AuthserviceShiroFilterBase
This is an OSGi DS component that provides a Filter service. This filter service will be put in front of the servlets in the "/handlereg" webcontext, and will handle authentication and verify authorization to the servlet paths.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final org.apache.shiro.config.Ini
     

    Fields inherited from class no.priv.bang.authservice.web.security.shirofilter.AuthserviceShiroFilterBase

    cipherKeyService, realm, session, shiroConfigService

    Fields inherited from class org.apache.shiro.web.servlet.OncePerRequestFilter

    ALREADY_FILTERED_SUFFIX

    Fields inherited from class org.apache.shiro.web.servlet.AbstractFilter

    filterConfig
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    setCipherKeyService(no.priv.bang.authservice.definitions.CipherKeyService cipherKeyService)
     
    void
    setRealm(org.apache.shiro.realm.Realm realm)
     
    void
    setSession(org.apache.shiro.session.mgt.eis.SessionDAO session)
     
    void
    setShiroConfigService(no.priv.bang.authservice.definitions.AuthserviceShiroConfigService shiroConfigService)
     

    Methods inherited from class no.priv.bang.authservice.web.security.shirofilter.AuthserviceShiroFilterBase

    createShiroIniWebEnvironment, createShiroWebEnvironmentFromIniFile

    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, setShiroFilterConfiguration, setStaticSecurityManagerEnabled, updateSessionLastAccessTime, wrapServletRequest, wrapServletResponse

    Methods inherited from class org.apache.shiro.web.servlet.OncePerRequestFilter

    doFilter, getAlreadyFilteredAttributeName, isEnabled, isEnabled, isFilterOncePerRequest, setEnabled, setFilterOncePerRequest, 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

    Methods inherited from class org.apache.shiro.web.servlet.ServletContextSupport

    getContextAttribute, getContextInitParam, getServletContext, removeContextAttribute, setContextAttribute, setServletContext, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • INI_FILE

      private static final org.apache.shiro.config.Ini INI_FILE
  • Constructor Details

    • HandleregShiroFilter

      public HandleregShiroFilter()
  • Method Details

    • setRealm

      public void setRealm(org.apache.shiro.realm.Realm realm)
    • setSession

      public void setSession(org.apache.shiro.session.mgt.eis.SessionDAO session)
    • setCipherKeyService

      public void setCipherKeyService(no.priv.bang.authservice.definitions.CipherKeyService cipherKeyService)
    • setShiroConfigService

      public void setShiroConfigService(no.priv.bang.authservice.definitions.AuthserviceShiroConfigService shiroConfigService)
    • activate

      public void activate()