
org.frameworkset.web.token.Application Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bboss-ticket Show documentation
Show all versions of bboss-ticket Show documentation
support session share between application cluster nodes and cross domain application nodes.support good application session monitor and session data statitic module.demo site http://session.bbossgroups.com/
package org.frameworkset.web.token;
/**
*
* @author yinbp
*
*/
public class Application {
private String appid;
private String secret;
private String certAlgorithm;
public Integer getRefreshTicket() {
return refreshTicket;
}
public void setRefreshTicket(Integer refreshTicket) {
this.refreshTicket = refreshTicket;
}
/**
* 每次校验持久性ticket时是否刷新ticket访问时间
* null:不刷新
* 0: 不刷新
* 1: 刷新
*/
private Integer refreshTicket;
public String getCertAlgorithm() {
return certAlgorithm;
}
public void setCertAlgorithm(String certAlgorithm) {
this.certAlgorithm = certAlgorithm;
}
/**
* ticket有效期
*/
private long ticketlivetime;
private long dualtokenlivetime;
private long temptokenlivetime;
/**
* 签名key
*/
private String signkey ;
/**
* 数据加密key
*/
private String encryptKey;
private Boolean sign = true;
public String getAppid() {
return appid;
}
public void setAppid(String appid) {
this.appid = appid;
}
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public long getTicketlivetime() {
return ticketlivetime;
}
public void setTicketlivetime(long ticketlivetime) {
this.ticketlivetime = ticketlivetime;
}
public long getDualtokenlivetime() {
return dualtokenlivetime;
}
public void setDualtokenlivetime(long dualtokenlivetime) {
this.dualtokenlivetime = dualtokenlivetime;
}
public long getTemptokenlivetime() {
return temptokenlivetime;
}
public void setTemptokenlivetime(long temptokenlivetime) {
this.temptokenlivetime = temptokenlivetime;
}
public Boolean isSign() {
return sign;
}
public void setSign(Boolean sign) {
this.sign = sign;
}
public String getSignkey() {
return signkey;
}
public void setSignkey(String signkey) {
this.signkey = signkey;
}
public String getEncryptKey() {
return encryptKey;
}
public void setEncryptKey(String encryptKey) {
this.encryptKey = encryptKey;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy