public class ServletUserProvider extends Object implements UserProvider
UserProvider that uses HttpServletRequest.getUserPrincipal() to obtain the user.| Constructor and Description |
|---|
ServletUserProvider(String featureAdminRole)
This constructor requires you to supply the name of the role that identifies users to be feature admins.
|
| Modifier and Type | Method and Description |
|---|---|
FeatureUser |
getCurrentUser() |
public ServletUserProvider(String featureAdminRole)
featureAdminRole - the feature admin role namepublic FeatureUser getCurrentUser()
getCurrentUser in interface UserProviderCopyright © 2022. All rights reserved.