@Configuration
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnProperty(name="shiro.web.enabled",
matchIfMissing=true)
public class ShiroWebFilterConfiguration
extends org.apache.shiro.spring.web.config.AbstractShiroWebFilterConfiguration
| Modifier and Type | Field and Description |
|---|---|
static String |
FILTER_NAME |
static String |
REGISTRATION_BEAN_NAME |
| Constructor and Description |
|---|
ShiroWebFilterConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.boot.web.servlet.FilterRegistrationBean<org.apache.shiro.web.servlet.AbstractShiroFilter> |
filterShiroFilterRegistrationBean() |
protected List<String> |
globalFilters() |
protected org.apache.shiro.spring.web.ShiroFilterFactoryBean |
shiroFilterFactoryBean() |
public static final String REGISTRATION_BEAN_NAME
public static final String FILTER_NAME
@Bean @ConditionalOnMissingBean protected org.apache.shiro.spring.web.ShiroFilterFactoryBean shiroFilterFactoryBean()
shiroFilterFactoryBean in class org.apache.shiro.spring.web.config.AbstractShiroWebFilterConfiguration@Bean(name="filterShiroFilterRegistrationBean")
@ConditionalOnMissingBean(name="filterShiroFilterRegistrationBean")
protected org.springframework.boot.web.servlet.FilterRegistrationBean<org.apache.shiro.web.servlet.AbstractShiroFilter> filterShiroFilterRegistrationBean()
throws Exception
ExceptionCopyright © 2004–2023 The Apache Software Foundation. All rights reserved.