class TomcatUserManager extends BaseTomcatManager implements UserManager,
                                                                    ContextualManager {

    @Override
    public void assignGroups(String username,
                             Collection<String> groups) throws SecurityManagementException {
        Set<String> userRoles = SecurityManagementUtils.rolesToString(SecurityManagementUtils.getRoles(userSystemManager,
                                                                                                       username));
        userRoles.addAll(groups);
        doAssignGroups(username,
                       userRoles);
    }

    public  TomcatUserManager();
    public  TomcatUserManager(final Map<String, String> gitPrefs);
    public  TomcatUserManager(final ConfigProperties gitPrefs);

}