All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.taccisum.shiro.web.ShiroWebProperties Maven / Gradle / Ivy

There is a newer version: 2.3.0
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy