class TomcatUserManager extends BaseTomcatManager implements UserManager,
                                                                    ContextualManager {

    @Override
    public void assignRoles(String username,
                            Collection<String> roles) throws SecurityManagementException {
        Set<String> userGroups = SecurityManagementUtils.groupsToString(SecurityManagementUtils.getGroups(userSystemManager,
                                                                                                          username));
        userGroups.addAll(roles);
        doAssignGroups(username,
                       userGroups);
    }

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

}