Package org.ametys.core.user
Interface CurrentUserProvider
- All Known Implementing Classes:
AvalonCurrentUserProvider
,FrontCurrentUserProvider
,WebCurrentUserProvider
public interface CurrentUserProvider
Component which:
- provides the
identity
of the current user. - can logout the the current user.
-
Field Details
-
ROLE
Avalon role.
-
-
Method Details
-
getUser
Provides the current logged user.- Returns:
- the current user or
null
if there is no logged user.
-
logout
Logout the current user if he can be.- Throws:
ProcessingException
- If an error occurred during the logout process
-