Package org.ametys.site
Class FrontCurrentUserProvider
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.core.impl.user.AvalonCurrentUserProvider
-
- org.ametys.site.FrontCurrentUserProvider
-
- All Implemented Interfaces:
CurrentUserProvider
,LogEnabled
,Contextualizable
,ThreadSafe
public class FrontCurrentUserProvider extends AvalonCurrentUserProvider
CurrentUserProvider
able to logout from a site.
-
-
Field Summary
-
Fields inherited from class org.ametys.plugins.core.impl.user.AvalonCurrentUserProvider
_context
-
Fields inherited from interface org.ametys.core.user.CurrentUserProvider
ROLE
-
-
Constructor Summary
Constructors Constructor Description FrontCurrentUserProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
logout()
Logout the current user if he can be.-
Methods inherited from class org.ametys.plugins.core.impl.user.AvalonCurrentUserProvider
contextualize, getUser
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
FrontCurrentUserProvider
public FrontCurrentUserProvider()
-
-
Method Detail
-
logout
public void logout() throws ProcessingException
Description copied from interface:CurrentUserProvider
Logout the current user if he can be.- Specified by:
logout
in interfaceCurrentUserProvider
- Overrides:
logout
in classAvalonCurrentUserProvider
- Throws:
ProcessingException
- If an error occurred during the logout process
-
-