]>
git.argeo.org Git - gpl/argeo-slc.git/blob - cms/org.argeo.cms.integration/src/org/argeo/cms/integration/TokenDescriptor.java
1 package org
.argeo
.cms
.integration
;
3 import java
.io
.Serializable
;
5 import com
.fasterxml
.jackson
.annotation
.JsonIgnoreProperties
;
7 /** A serializable descriptor of a token. */
8 @JsonIgnoreProperties(ignoreUnknown
= true)
9 public class TokenDescriptor
implements Serializable
{
10 private static final long serialVersionUID
= -6607393871416803324L;
13 private String username
;
14 private String expiryDate
;
15 // private Set<String> roles;
17 public String
getToken() {
21 public void setToken(String token
) {
25 public String
getUsername() {
29 public void setUsername(String username
) {
30 this.username
= username
;
33 // public Set<String> getRoles() {
37 // public void setRoles(Set<String> roles) {
38 // this.roles = roles;
41 public String
getExpiryDate() {
45 public void setExpiryDate(String expiryDate
) {
46 this.expiryDate
= expiryDate
;