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.
|
public ServletUserProvider(String featureAdminRole)
featureAdminRole
- the feature admin role namepublic FeatureUser getCurrentUser()
getCurrentUser
in interface UserProvider
Copyright © 2013. All Rights Reserved.