super(id);
// ------------------------
// Creation date
// ------------------------
add(new Label("creationDate", new Model(userTO.getCreationDate() != null
? SyncopeSession.get().getDateFormat().format(userTO.getCreationDate())
: "")));
// ------------------------
// ------------------------
// Change password date
// ------------------------
add(new Label("changePwdDate", new Model(userTO.getChangePwdDate() != null
? SyncopeSession.get().getDateFormat().format(userTO.getChangePwdDate())
: "")));
// ------------------------
// ------------------------
// Last login date
// ------------------------
add(new Label("lastLoginDate", new Model(userTO.getLastLoginDate() != null
? SyncopeSession.get().getDateFormat().format(userTO.getLastLoginDate())
: "")));
// ------------------------
// ------------------------
// Failed logins
// ------------------------
add(new Label("failedLogins", new Model(userTO.getFailedLogins() != null
? userTO.getFailedLogins()
: "")));
// ------------------------
// ------------------------
// Token
// ------------------------
add(new Label("token", new Model(userTO.getToken() != null
? userTO.getToken()
: "")));
// ------------------------
// ------------------------
// Token expire time
// ------------------------
add(new Label("tokenExpireTime", new Model(userTO.getTokenExpireTime() != null
? userTO.getTokenExpireTime()
: "")));
// ------------------------
}