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

org.casbin.spring.boot.autoconfigure.properties.CasbinExceptionProperties Maven / Gradle / Ivy

The newest version!
package org.casbin.spring.boot.autoconfigure.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author fangzhengjin
 * @version V1.0
 * @title CasbinExceptionProperties
 * @package org.casbin.spring.boot.autoconfigure.properties
 * @description
 * @date 2019/9/24 15:25
 */
@ConfigurationProperties("casbin.exception")
public class CasbinExceptionProperties {

    /**
     * Whether to throw an exception when the delete strategy fails
     */
    private boolean removePolicyFailed = false;

    public boolean isRemovePolicyFailed() {
        return removePolicyFailed;
    }

    public void setRemovePolicyFailed(boolean removePolicyFailed) {
        this.removePolicyFailed = removePolicyFailed;
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy