Class ShiroWebFilterConfiguration
- java.lang.Object
-
- org.apache.shiro.spring.web.config.AbstractShiroWebFilterConfiguration
-
- org.apache.shiro.spring.config.web.autoconfigure.ShiroWebFilterConfiguration
-
@Configuration @ConditionalOnProperty(name="shiro.web.enabled", matchIfMissing=true) public class ShiroWebFilterConfiguration extends AbstractShiroWebFilterConfiguration
- Since:
- 1.4.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
FILTER_NAME
static String
REGISTRATION_BEAN_NAME
-
Fields inherited from class org.apache.shiro.spring.web.config.AbstractShiroWebFilterConfiguration
filterMap, loginUrl, securityManager, shiroFilterChainDefinition, successUrl, unauthorizedUrl
-
-
Constructor Summary
Constructors Constructor Description ShiroWebFilterConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.boot.web.servlet.FilterRegistrationBean<org.apache.shiro.web.servlet.AbstractShiroFilter>
filterShiroFilterRegistrationBean()
protected List<String>
globalFilters()
protected ShiroFilterFactoryBean
shiroFilterFactoryBean()
-
-
-
Field Detail
-
REGISTRATION_BEAN_NAME
public static final String REGISTRATION_BEAN_NAME
- See Also:
- Constant Field Values
-
FILTER_NAME
public static final String FILTER_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ShiroWebFilterConfiguration
public ShiroWebFilterConfiguration()
-
-
Method Detail
-
shiroFilterFactoryBean
@Bean @ConditionalOnMissingBean protected ShiroFilterFactoryBean shiroFilterFactoryBean()
- Overrides:
shiroFilterFactoryBean
in classAbstractShiroWebFilterConfiguration
-
filterShiroFilterRegistrationBean
@Bean(name="filterShiroFilterRegistrationBean") @ConditionalOnMissingBean(name="filterShiroFilterRegistrationBean") protected org.springframework.boot.web.servlet.FilterRegistrationBean<org.apache.shiro.web.servlet.AbstractShiroFilter> filterShiroFilterRegistrationBean() throws Exception
- Throws:
Exception
-
globalFilters
@Bean(name="globalFilters") @ConditionalOnMissingBean protected List<String> globalFilters()
- Overrides:
globalFilters
in classAbstractShiroWebFilterConfiguration
-
-