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

com.github.wzc789376152.shiro.properties.ShiroJwtProperty Maven / Gradle / Ivy

The newest version!
package com.github.wzc789376152.shiro.properties;

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

import java.util.List;

@ConfigurationProperties(prefix = "spring.shiro.jwt")
public class ShiroJwtProperty {
    private Boolean enable = false;
    private List headers;
    private Long timeout;
    private Long refreshTimeout;
    private String secret;

    private List ipWhileList;


    public Long getTimeout() {
        return timeout;
    }

    public void setTimeout(Long timeout) {
        this.timeout = timeout;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public List getIpWhileList() {
        return ipWhileList;
    }

    public void setIpWhileList(List ipWhileList) {
        this.ipWhileList = ipWhileList;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public List getHeaders() {
        return headers;
    }

    public void setHeaders(List headers) {
        this.headers = headers;
    }

    public Long getRefreshTimeout() {
        return refreshTimeout;
    }

    public void setRefreshTimeout(Long refreshTimeout) {
        this.refreshTimeout = refreshTimeout;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy