public interface AuthenticationManager
Modifier and Type | Method and Description |
---|---|
Optional<UserAccount> |
getCurrentUser()
Returns the
UserAccount of the currently logged in user or Optional.empty() if no-one is currently
logged in. |
boolean |
matches(Password candidate,
Password existing)
Returns whether the given candidate
Password matches the given existing one. |
Optional<UserAccount> getCurrentUser()
UserAccount
of the currently logged in user or Optional.empty()
if no-one is currently
logged in.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.