com.github.taccisum.shiro.web.ShiroWebProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shiro-starter Show documentation
Show all versions of shiro-starter Show documentation
another spring boot starter for shiro
package com.github.taccisum.shiro.web;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
/**
* @author tac - [email protected]
* @since 2018/9/3
*/
@ConfigurationProperties("shiro.web")
public class ShiroWebProperties {
private ShiroMode mode = ShiroMode.SESSION;
private Boolean isRedirectEnabled = true;
private Map> filterChainDefinition = new LinkedHashMap<>();
public ShiroMode getMode() {
return mode;
}
public void setMode(ShiroMode mode) {
this.mode = mode;
}
public Boolean getRedirectEnabled() {
return isRedirectEnabled;
}
public void setRedirectEnabled(Boolean redirectEnabled) {
isRedirectEnabled = redirectEnabled;
}
public Map> getFilterChainDefinition() {
return filterChainDefinition;
}
public void setFilterChainDefinition(Map> filterChainDefinition) {
this.filterChainDefinition = filterChainDefinition;
}
}