public interface CurrentUserProvider
Modifier and Type | Method and Description |
---|---|
UserIdentity |
getUser()
Provides the current logged user.
|
void |
logout()
Logout the current user if he can be.
|
UserIdentity getUser()
null
if there is no logged user.void logout() throws ProcessingException
ProcessingException
- If an error occurred during the logout process