Package org.togglz.core.user
Interface UserProvider
-
- All Known Implementing Classes:
JAASUserProvider,NoOpUserProvider,SingleUserProvider,ThreadLocalUserProvider
public interface UserProviderImplementations of this class a responsible to identify the current user acting in the application.- Author:
- Christian Kaltepoth
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FeatureUsergetCurrentUser()Return aFeatureUserinstance representing the current user.
-
-
-
Method Detail
-
getCurrentUser
FeatureUser getCurrentUser()
Return aFeatureUserinstance representing the current user. This method should returnnullif the implementation is unable to determine the user.- Returns:
- current user or
null
-
-