docs: public static short getMembershipScope(String scope) {
          if (scope != null) {
              scope = scope.trim();
              if (LdapConstants.LDAP_DIRECT_GROUP_MEMBERSHIP_STRING.equalsIgnoreCase(scope)) {
                  return LdapConstants.LDAP_DIRECT_GROUP_MEMBERSHIP;
              } else if (LdapConstants.LDAP_NESTED_GROUP_MEMBERSHIP_STRING.equalsIgnoreCase(scope)) {
                  return LdapConstants.LDAP_NESTED_GROUP_MEMBERSHIP;
              } else if (LdapConstants.LDAP_ALL_GROUP_MEMBERSHIP_STRING.equalsIgnoreCase(scope)) {
                  return LdapConstants.LDAP_ALL_GROUP_MEMBERSHIP;
              } else {
                  return LdapConstants.LDAP_DIRECT_GROUP_MEMBERSHIP;
              }
          } else {
              return LdapConstants.LDAP_DIRECT_GROUP_MEMBERSHIP;
          }
      }