public interface AuthenticationManager
Modifier and Type | Method and Description |
---|---|
UserAccount |
getCurrentUser()
Returns the
UserAccount of the currently logged in user or null if no-one is currently logged
in. |
boolean |
matches(Password candidate,
Password existing)
Returns whether the given candidate
Password matches the given existing one. |
UserAccount getCurrentUser()
UserAccount
of the currently logged in user or null if no-one is currently logged
in.