public static class AuthenticationTokenManager.Token extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
_comment
The token associated comment
|
protected Date |
_creationDate
The token creation date
|
protected Date |
_endDate
The token end date
|
protected String |
_id
The token identifier
|
protected Date |
_lastUpdateDate
The token last update date
|
protected String |
_type
The token type
|
| Modifier | Constructor and Description |
|---|---|
protected |
Token(String id,
String type,
String comment,
Date creationDate,
Date endDate,
Date lastUpdateDate)
Creates a Token
|
| Modifier and Type | Method and Description |
|---|---|
String |
getComment()
Get the associated creation comment
|
Date |
getCreationDate()
Get the creation date of the token
|
Date |
getEndDate()
Get the end date of the token validity
|
String |
getId()
Get the token identifier
|
Date |
getLastUpdateDate()
Get the last update date of the token
|
String |
getType()
Get the token type
|
protected Date _creationDate
protected Date _lastUpdateDate
protected Token(String id, String type, String comment, Date creationDate, Date endDate, Date lastUpdateDate)
id - The identifiertype - The type of tokencomment - The comment. Can be null.creationDate - The creation date. Can be null.endDate - The end date. Can be null.lastUpdateDate - The last update date. Can be null.public String getComment()
public Date getCreationDate()
public Date getEndDate()
public Date getLastUpdateDate()