final class Authentication
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.sql.Date |
passwordChanged
Date of the user's last password change, or
null if it never was changed |
private User |
user
Object representing the authenticated user
|
Constructor and Description |
---|
Authentication(User user,
java.sql.Date passwordChanged)
Constructor
|
Modifier and Type | Method and Description |
---|---|
(package private) java.sql.Date |
getPasswordChanged()
Get the date of the user's last password change, or
null if it never was changed. |
(package private) User |
getUser()
Get the object representing the authenticated user.
|
private final User user
private final java.sql.Date passwordChanged
null
if it never was changedAuthentication(User user, java.sql.Date passwordChanged)
user
- Object representing the authenticated user.passwordChanged
- Date of the user's last password change, or null
if it never was changed.User getUser()
java.sql.Date getPasswordChanged()
null
if it never was changed.