Class ServletUserProvider

  • All Implemented Interfaces:
    UserProvider

    public class ServletUserProvider
    extends Object
    implements UserProvider
    Implementation of UserProvider that uses HttpServletRequest.getUserPrincipal() to obtain the user.
    Author:
    Christian Kaltepoth
    • Constructor Detail

      • ServletUserProvider

        public ServletUserProvider​(String featureAdminRole)
        This constructor requires you to supply the name of the role that identifies users to be feature admins.
        Parameters:
        featureAdminRole - the feature admin role name