Package org.togglz.core.user
Interface UserProvider
- All Known Implementing Classes:
JAASUserProvider,NoOpUserProvider,SingleUserProvider,ThreadLocalUserProvider
public interface UserProvider
Implementations of this class a responsible to identify the current user acting in the application.
- Author:
- Christian Kaltepoth
-
Method Summary
-
Method Details
-
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
-