org.swiftboot.shiro.config.CookieConfigBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swiftboot-shiro Show documentation
Show all versions of swiftboot-shiro Show documentation
shiro supporting for swiftboot web applications
package org.swiftboot.shiro.config;
/**
* @author swiftech
**/
public class CookieConfigBean {
private String domain = "localhost";
private String path = "/";
private String name = "swiftboot_shiro_token";
/**
* Cookie 过期时间,单位秒,默认半小时
*/
private int maxAge = 1800;
public String getDomain() {
return domain;
}
public void setDomain(String domain) {
this.domain = domain;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getMaxAge() {
return maxAge;
}
public void setMaxAge(int maxAge) {
this.maxAge = maxAge;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy