Add active and statusChangedOn fields

pull/1611/head
Manoj Garai 2024-03-14 11:46:41 +00:00
parent 19243821ed
commit 4b3f1de1be
1 changed files with 34 additions and 0 deletions

View File

@ -149,6 +149,8 @@ public class ClientDetailsEntity implements ClientDetails {
private Date createdAt; // time the client was created
private boolean clearAccessTokensOnRefresh = true; // do we clear access tokens on refresh?
private Integer deviceCodeValiditySeconds; // timeout for device codes
private boolean active = true;
private Date statusChangedOn;
/** fields for UMA */
private Set<String> claimsRedirectUris;
@ -982,6 +984,38 @@ public class ClientDetailsEntity implements ClientDetails {
this.clearAccessTokensOnRefresh = clearAccessTokensOnRefresh;
}
/**
* @return the active
*/
@Basic
@Column(name = "active")
public boolean isActive() {
return active;
}
/**
* @param active the active to set
*/
public void setActive(boolean active) {
this.active = active;
}
/**
* @return the status changed on
*/
@Basic
@Column(name = "status_changed_on")
public Date getStatusChangedOn() {
return statusChangedOn;
}
/**
* @param statusChangedOn the status changed on to set
*/
public void setStatusChangedOn(Date statusChangedOn) {
this.statusChangedOn = statusChangedOn;
}
/**
* @return the claimsRedirectUris
*/