Package org.togglz.core.user
Class NoOpUserProvider
java.lang.Object
org.togglz.core.user.NoOpUserProvider
- All Implemented Interfaces:
UserProvider
This implementation of
UserProvider can be used if user-dependent feature toggling isn't used at all.- Author:
- Christian Kaltepoth
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NoOpUserProvider
public NoOpUserProvider()
-
-
Method Details
-
getCurrentUser
Description copied from interface:UserProviderReturn aFeatureUserinstance representing the current user. This method should returnnullif the implementation is unable to determine the user.- Specified by:
getCurrentUserin interfaceUserProvider- Returns:
- current user or
null
-