public class NoOpUserProvider extends Object implements UserProvider
UserProvider can be used if user-dependent feature toggling isn't used at all.| Constructor and Description |
|---|
NoOpUserProvider() |
| Modifier and Type | Method and Description |
|---|---|
FeatureUser |
getCurrentUser()
Return a
FeatureUser instance representing the current user. |
public FeatureUser getCurrentUser()
UserProviderFeatureUser instance representing the current user. This method should return null if the
implementation is unable to determine the user.getCurrentUser in interface UserProvidernullCopyright © 2018. All Rights Reserved.