0% found this document useful (0 votes)
9 views

Practical Spring LDAP: Using Enterprise Java-Based LDAP in Spring Data and Spring Framework 6 2nd Edition Balaji Varanasi pdf download

Practical Spring LDAP is a comprehensive guide for developers on using Spring LDAP to simplify LDAP programming in Java applications. The book covers fundamental concepts, practical testing techniques, and advanced features such as Object-Directory Mapping and LDAP authentication. It is aimed at developers with a basic understanding of Spring Framework and provides best practices for utilizing Spring LDAP effectively.

Uploaded by

swunelora
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Practical Spring LDAP: Using Enterprise Java-Based LDAP in Spring Data and Spring Framework 6 2nd Edition Balaji Varanasi pdf download

Practical Spring LDAP is a comprehensive guide for developers on using Spring LDAP to simplify LDAP programming in Java applications. The book covers fundamental concepts, practical testing techniques, and advanced features such as Object-Directory Mapping and LDAP authentication. It is aimed at developers with a basic understanding of Spring Framework and provides best practices for utilizing Spring LDAP effectively.

Uploaded by

swunelora
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 48

Practical Spring LDAP: Using Enterprise Java-

Based LDAP in Spring Data and Spring Framework 6


2nd Edition Balaji Varanasi download

https://ebookmeta.com/product/practical-spring-ldap-using-
enterprise-java-based-ldap-in-spring-data-and-spring-
framework-6-2nd-edition-balaji-varanasi/

Download more ebook from https://ebookmeta.com


We believe these products will be a great fit for you. Click
the link to download now, or visit ebookmeta.com
to discover even more!

Spring REST: Building Java Microservices and Cloud


Applications Balaji Varanasi

https://ebookmeta.com/product/spring-rest-building-java-
microservices-and-cloud-applications-balaji-varanasi/

Pro Spring Security: Securing Spring Framework 6 and


Boot 3–based Java Applications, Third Edition
Massimo Nardone

https://ebookmeta.com/product/pro-spring-security-securing-
spring-framework-6-and-boot-3-based-java-applications-third-
edition-massimo-nardone/

Beginning Spring Data: Data Access and Persistence for


Spring Framework 6 and Boot 3 1st Edition Andres Sacco

https://ebookmeta.com/product/beginning-spring-data-data-access-
and-persistence-for-spring-framework-6-and-boot-3-1st-edition-
andres-sacco/

Beauty in Chaos 1st Edition Nacole Stayton

https://ebookmeta.com/product/beauty-in-chaos-1st-edition-nacole-
stayton/
The Aliens Are Coming 1st Edition Ben Miller

https://ebookmeta.com/product/the-aliens-are-coming-1st-edition-
ben-miller-2/

Vegan Junk Food 200 Vegan Recipes for the Foods You
Crave Minus the Ingredients You Don t Lane Gold

https://ebookmeta.com/product/vegan-junk-food-200-vegan-recipes-
for-the-foods-you-crave-minus-the-ingredients-you-don-t-lane-
gold/

Real-Time Twilio and Flybase. Build Real-Time Web Apps


Using Twilio and Flybase with Node.js 1st Edition Roger
Stringer

https://ebookmeta.com/product/real-time-twilio-and-flybase-build-
real-time-web-apps-using-twilio-and-flybase-with-node-js-1st-
edition-roger-stringer/

Worlds Worst Conspiracies The Truth is they dont want


you to know 1st Edition Mike Rothschild

https://ebookmeta.com/product/worlds-worst-conspiracies-the-
truth-is-they-dont-want-you-to-know-1st-edition-mike-rothschild/

America Unbound Encyclopedic Literature and Hemispheric


Studies 1st Edition Antonio Barrenechea

https://ebookmeta.com/product/america-unbound-encyclopedic-
literature-and-hemispheric-studies-1st-edition-antonio-
barrenechea/
Let s Taco Bout Love Man of the Month May a fake
relationship curvy girl romance 1st Edition Kat Baxter

https://ebookmeta.com/product/let-s-taco-bout-love-man-of-the-
month-may-a-fake-relationship-curvy-girl-romance-1st-edition-kat-
baxter/
Balaji Varanasi and Andres Sacco

Practical Spring LDAP


Using Enterprise Java-Based LDAP in Spring Data
and Spring Framework 6
2nd ed.
Balaji Varanasi
Salt Lake City, UT, USA

Andres Sacco
Buenos Aires, Buenos Aires, Argentina

ISBN 979-8-8688-0001-6 e-ISBN 979-8-8688-0002-3


https://doi.org/10.1007/979-8-8688-0002-3

© Balaji Varanasi and Andres Sacco 2013, 2023

This work is subject to copyright. All rights are solely and exclusively
licensed by the Publisher, whether the whole or part of the material is
concerned, specifically the rights of translation, reprinting, reuse of
illustrations, recitation, broadcasting, reproduction on microfilms or in
any other physical way, and transmission or information storage and
retrieval, electronic adaptation, computer software, or by similar or
dissimilar methodology now known or hereafter developed.

The use of general descriptive names, registered names, trademarks,


service marks, etc. in this publication does not imply, even in the
absence of a specific statement, that such names are exempt from the
relevant protective laws and regulations and therefore free for general
use.

The publisher, the authors, and the editors are safe to assume that the
advice and information in this book are believed to be true and accurate
at the date of publication. Neither the publisher nor the authors or the
editors give a warranty, expressed or implied, with respect to the
material contained herein or for any errors or omissions that may have
been made. The publisher remains neutral with regard to jurisdictional
claims in published maps and institutional affiliations.
This Apress imprint is published by the registered company APress
Media, LLC, part of Springer Nature.
The registered company address is: 1 New York Plaza, New York, NY
10004, U.S.A.
To my grandparents who taught me the importance of learning new
things all the time.
To my wife and children for supporting me while writing this book.
Introduction
Practical Spring LDAP provides complete coverage of Spring LDAP, a
framework designed to take the pain out of LDAP programming. This
book starts by explaining the fundamental concepts of LDAP and
showing the reader how to set up the development environment. It
then dives into Spring LDAP, analyzing the problems it is designed to
solve. After that, the book focuses on the practical aspects of unit
testing and integration testing with LDAP. An in-depth treatment of
LDAP controls and Spring LDAP features, such as Object-Directory
Mapping and LDIF (LDAP Data Interchange Format) parsing, follows
this. Finally, it concludes with discussions on LDAP authentication and
connection pooling.
What the Book Covers
Chapter 1 starts with an overview of directory servers. It then discusses
the basics of LDAP and introduces the four LDAP information models. It
finishes with an introduction to the LDIF format used for representing
LDAP data.
Chapter 2 focuses on the Java Naming and Directory Interface
(JNDI). In this chapter, you look at creating applications that interact
with LDAP using plain JNDI.
Chapter 3 explains Spring LDAP and why it is an important option in
an enterprise developer’s repertoire. In this chapter, you set up the
development environment to create Spring LDAP applications and
other important tools, such as Maven and a test LDAP server. Finally,
you implement a basic but complete Spring LDAP application using
annotations.
Chapter 4 covers the fundamentals of unit and integration testing.
You then look at setting up an embedded LDAP server for unit testing
your application code; alternatively, you will see how to use
Testcontainers to run LDAP using a docker image. You also review
available tools for generating test data. Finally, you use the Mockito
library to mock test LDAP code.
Chapter 5 introduces the basics of JNDI object factories and uses
these factories for creating objects that are more meaningful to the
application. You then examine a complete Data Access Object (DAO)
layer implementation using Spring LDAP and object factories.
Chapter 6 covers LDAP search. This chapter begins with the
underlying ideas of LDAP search. I then introduce various Spring LDAP
filters that make LDAP searching easier. Finally, you look at creating a
custom search filter to address situations where the current set is
insufficient.
Chapter 7 provides an in-depth overview of LDAP controls that can
be used for extending LDAP server functionality. Then it moves on to
sorting and paging LDAP results using sort and page controls.
Chapter 8 deals with Object-Directory Mapping (ODM), a feature in
Spring LDAP. In this chapter, you look at bridging the gap between the
domain model and the directory server. You then re-implement the DAO
using ODM concepts.
Chapter 9 introduces the important ideas of transactions and
transactional integrity before analyzing the transaction abstractions
provided by Spring Framework. Finally, it takes a look at Spring LDAP’s
compensating transaction support.
Chapter 10 starts with implementing authentication, the most
common operation against LDAP. It then deals with parsing LDIF files
using another feature introduced in Spring. I end the chapter by looking
at the connection pooling support provided by Spring LDAP.

Target Audience
Practical Spring LDAP is intended for developers interested in building
Java/JEE applications using LDAP. It also teaches techniques for
creating unit/integration tests for LDAP applications. The book
assumes basic familiarity with Spring Framework; prior exposure to
LDAP is helpful but optional. Developers already familiar with Spring
LDAP will find best practices and examples to help them get the most
out of the framework.

Prerequisites
You should install Java JDK1 21 or higher on your machine, Maven2 3.8.0
or higher, and some IDE. Some options for the IDE could be Eclipse,3
IntelliJ IDEA,4 Visual Studio Code,5 and others, but you can choose
which is the best for you.
To reduce the complexity of installing all LDAP vendors on your
machine, I recommend you install Docker6 and use it to run each LDAP.
The use and installation of Docker are outside the scope of this book,
but there are some tutorials7 or cheatsheet8 with the most common
commands.

Note If you don’t have it installed on your machine, you can check
Appendixes A, B, and C, which have information about installing the
different tools and loading the information on LDAP.
After installing all the tools, you must check if they are correctly
installed before reading the different chapters.
In the case of Java, you need to run the following command:

% java -version
openjdk 21 2023-09-19
OpenJDK Runtime Environment (build 21+35-2513)
OpenJDK 64-Bit Server VM (build 21+35-2513, mixed
mode, sharing)

After that, you need to check if the version of Maven is correct using
this command:

% mvn --version
Apache Maven 3.9.1
Maven home: /usr/share/maven

Last, if you want to check whether Docker runs correctly on your


machine, you can do that using the following command:

% docker --version
Docker version 24.0.2, build cb74dfc

Remember that I mentioned that Docker is optional. It’s only


recommended for reducing the complexity of installing LDAP vendors
on your machine.

Downloading Source Code


The source code for the examples in this book can be downloaded from
www.apress.com. For detailed information about locating this book’s
source code, visit www.apress.com/gp/services/source-
code. The code is organized by chapter and can be built using Maven.

Questions?
If you have any questions or suggestions, contact the author at
sacco.andres@gmail.com.
Any source code or other supplementary material referenced by the
author in this book is available to readers on GitHub
(https://github.com/Apress). For more detailed information, please
visit https://www.apress.com/gp/services/source-code.
Acknowledgments
I would like to thank my family members and friends for their
encouragement and support during the writing of this book:
My wife, Gisela, who was always patient when I spent long hours at
my computer desk working on this book
My little daughter, Francesca, who helped me relax while writing
each chapter
My baby, Allegra, who is the new family member and my inspiration
to write this book
My friends, German Canale and Julian Delley, who always trusted me
to write a book and supported me during tough times
Specially mentioning Manuel Jordan for guiding me in improving
the quality of the book.
My sincere thanks to the beautiful team at Apress for their support
during the publication of this book. Thanks to Shonmirin P.A. for
providing excellent support. Finally, thanks to Mark Powers and Melissa
Duffy for suggesting and allowing me to write a book. Also, I want to
mention the great job that Balaji Varanasi did with the first edition of
this book which gave the base to write the second edition.
Table of Contents
Chapter 1:​Introduction to LDAP
LDAP Overview
Directory vs.​Database
Information Model
Object Classes
Directory Schema
Naming Model
Functional Model
Security Model
LDIF Format
LDAP History
LDAP Vendors
Sample Application
Summary
Chapter 2:​Java Support for LDAP
LDAP Using JNDI
Connect to LDAP
LDAP Operations
Closing Resources
Creating a New Entry
Updating an Entry
Removing an Entry
Searching Entries
Check How the Operations Work
JNDI Drawbacks
Summary
Chapter 3:​Introducing Spring LDAP
Motivation
Documentation and Source Code Spring LDAP
Spring LDAP Packaging
Installing Spring LDAP Using Maven
Spring LDAP Archetypes
Creating Projects Using IntelliJ
Spring LDAP Hello World
Spring ApplicationConte​xt
Spring-Powered Search Client
Spring LdapTemplate Operations
Add Operation
Modify Operation
Deleting Operation
Summary
Chapter 4:​Testing LDAP Code
Concepts About Testing
Unit Testing
Mock Testing
Integration Testing
Libraries to Do Tests
JUnit
Mockito
Testcontainers
Creating the Tests
Mocking the Templates
Testing Using Embedded Server
Moving to Tests with Testcontainers
Summary
Chapter 5:​Advanced Spring LDAP
JNDI Object Factories
Spring and Object Factories
DAO Implementation Using Object Factory
Implementing Finder Methods
Create Method
Update Method
Delete Method
Summary
Chapter 6:​Searching LDAP
LDAP Search Criteria
Base Parameter
Scope Parameter
Filter Parameter
Optional Parameters
LDAP Injection
Spring LDAP Filters
EqualsFilter
LikeFilter
PresentFilter
NotPresentFilter​
Not Filter
Exploring the Variety of Random
Documents with Different Content
Pittsburg. Plymouth Cong. Ch. 9.03
Scranton. Plymouth Cong. Ch. 5.50
Shire Oaks. Miss Jane Wilson 2.00
Washington. Mrs. Mary H. McFarland 10.00
————
$83.03
LEGACY.
Pittsburg. Estate of Charles Avery 1,516.98
————
$1,600.01

OHIO, $1,818.13.
Ashtabula. Second Cong. Ch. (of which 1.29
from Willie and Hellen McCreery, proceeds of
garden) 10.12
Bellevue. Cong. Ch. 25.55
Chagrin Falls. First Cong. Ch. 24.25
Chagrin Falls. Miss Florence Sperry, for Straight
U. 6.00
Cincinnati. Central Cong. Ch., for Student Aid,
Fisk U. 25.00
Cincinnati. Columbia Cong. Ch. 6.10
Claridon. Emma E. Stebbins, to const. herself
L. M., 35; “The Penny Savers.” 4 39.00
Cleveland. “Macedonian Circle,” for Indian M. 35.00
Cleveland. Mrs. H. B. Spelman, for Student Aid,
Atlanta U. 25.00
Cleveland. Jennings Av. Cong. Ch., 30.51; First
Cong. Ch., 44.55; Sab. Sch. of Frankin Av.
Cong. Ch., 26.43; Madison Av. Cong. Ch., 10;
Mrs. A. Scott, 10; Mrs. C. A. Garlick, 2 123.49
Columbus. Rev. Benjamin Talbot 1.00
Dover. Second Cong. Ch. 30.16
Edinburg. Cong. Ch. 17.00
Elyria. Rev. E. E. Williams 1.50
Garrettsville. Cong. Ch. 5.00
Geneva. Mrs. S. Kingsbury 10.10
Greenfield. Cong. Ch. 3.80
Gustavus. Cong. Ch. 6.50
Hampden. Cong. Ch. 6.00
Hartford. Mrs. E. R. Rexford, 5; Cong. Ch., 3.85 8.85
Hudson. Cong. Ch. 12.08
Ironton. Cong. Ch. 16.00
Jefferson. Cong. Ch. 3.50
Kingsville. Myron Whiting 100.00
Lafayette. Cong. Ch. 7.00
Lorain. Cong. Co. (10 of which bal. to const.
William Amzi Dick L. M.) 44.00
Madison. Central Cong. Ch., 25; Mrs. L. H. Roe.
25; Mrs. E. A. Crocker, 5; Mr. and Mrs. R. S.
Wilcox, 5; Mrs. Eliza Strong, 5 65.00
Medina. Cong. Ch., to const. May Woodward,
Herbert Ross, John P. Calvert and John Dannley
L. M.’s, 140.71; J. Donnaly’s Sab. Sch. Class,
5 145.71
North Kingsville. Rev E. J. Comings 10.00
North Ridgeville. Sab. Sch. of Cong. Ch. for
Williamsburg, Ky. 3.00
Norwalk. “T. H.” 5.00
Oberlin. Second Cong. Ch., 161.75; First Cong.
Ch., 63; Miss Mary L. Matthews, 5 229.75
Painsville. Cong. Ch., 3.02; Miss L. Smith, 1 4.02
Rootstown. Cong. Ch. 25.00
Sandusky. First Cong. Ch., 15.44; Rev. G. H.
Peeke, 2 17.44
Tallmadge. First Cong. Ch. 4.50
Toledo. Washington St. Cong. Ch., 31.42; “A
Friend of H. and F. Missions,” 5 36.42
Wakeman. Second Cong. Ch. 8.00
Warren. Cong. Ch. 10.60
York. Cong. Ch. 24.00
Woman’s Home Missionary Union of Ohio, by
Mrs. Ella J. Mahony, Treas., for Woman’s
Work:
Akron. L. M. S., First Cong. Ch. 20.00
Burton. H. M. S. 20.00
Claridon. H. M. S. 10.00
Cleveland. Girls’ Mission Band,
Bethlehem Welsh Ch. 5.00
Cleveland. W. H. M. S., First Cong.
Ch. 2.84
Cleveland. Y. P. S. C. E., First Cong.
Ch. 7.40
Garrettsville. Aux. 5.00
Harmer. Oak Grove Mission Band 10.00
Harmer. L. H. M. S. 7.35
Hudson. L. H. M. S. 1.75
Litchfield. H. M. S. 5.00
North Bloomfield. H. M. S. 5.00
Oberlin. H. M. S. of Second Cong.
Ch. 107.00
Oberlin. Woman’s Aid Soc. of First
Cong. Ch. 75.50
Randolph. H. M. S. 5.00
——— 286.84
————
$1,467.28
LEGACY.
Madison. Estate of Mrs. H. B. Fraser, for
Student Aid, Talladega C. 200.00
Oberlin. Estate of Alonzo Bailey 150.85
————
$1,818.13

INDIANA, $11.00.
Liber. Thomas Towle 1.00
New Corydon. Geo. Stolz 10.00

ILLINOIS, $1,337.61.
Atkinson. Cong. Ch. 7.09
Aurora. N. L. Janes 10.00
Avon. Cong. Ch. 13.68
Beecher. Cong. Ch. 11.00
Earlville. “J. A. D.” 50.00
Chicago. New Eng. Cong. Ch., 25.24; Lake View
Cong. Ch., 10; Union Park Cong. Ch., adl., 5;
“H. E. D.,” 3; “Cash,” 2.56; “Cash,” 50c. 46.30
Clinton. Franklin C. King 1.00
Delavan. R. Hoghton 10.00
Dover. By Rev. I. Brown 5.80
Dundee. Cong. Ch. 10.92
Elgin. Cong. Ch. 98.90
Emington. Cong. Ch. 5.25
Galesburg. First Cong. Ch. 80.00
Glencoe. Ch. of Christ 52.35
Granville. Y. P. M. Soc. of Cong. Ch., 20; “A
Friend,” 5 25.00
Greenville. Cong. Ch. 6.00
Gridley. Cong. Ch. 13.50
Jacksonville. James M. Longley 5.00
Joy Prairie. Cong. Ch., to const. James W. Tupper
L. M. 45.55
Lacon. “Dorcas” 25.00
La Salle. Cong. Ch. 5.00
Marseilles. Cong. Ch. 33.55
Mattoon. Cong. Ch. 5.00
Millburn. Cong. Ch. 17.00
Moline. First Cong. Ch. 72.41
Oak Park. Young Men’s Miss’y Soc., by Willis L.
Herrick, Pres., for Student Aid, Talladega C. 50.00
Oak Park. Y. L. M. S. of Cong. Ch., for Student Aid,
Fisk U. 50.00
Orange. H. Rowles 5.00
Paxton. Mrs. J. B. Shaw 20.00
Payson. J. K. Scarborough 100.00
Plainfield. Cong. Ch. 10.25
Princeton. Mrs. P. B. Corss, 25; Cong. Ch., 12.30;
Mrs. S. C. Clapp, 10; Rev. F. Bascom, 10 57.30
Rochelle. C. F. Holcomb 20.00
Roscoe. “A Friend” 5.00
Roseville. Cong. Ch. 9.13
Sandwich. Cong. Ch. 35.00
Sheffield. Cong. Ch. 30.62
Stillman Valley. Cong. Ch. 41.40
Toulon. Cong. Ch., to const. Edward B. Starrett
L. M. 35.62
Waukegan. Cong. Ch., 9.75; Y. P. M. Soc. of Cong.
Ch., 12 21.75
Wauponsee Grove. Cong. Ch. 14.37
Wheaton. Mrs E. H. D. French 0.50
Winnebago. N. F. Parsons, 15; Mrs. O. T. Holcomb,
2 17.00
Yorkville. Mrs. Sarah J. Wheeler, 5; Mrs. Elvira H.
Colton, 5 10.00
Woman’s Home Missionary Union, by Mrs. B. F.
Leavitt, Treas., for Woman’s Work:
Atkinson. Sab. Sch. of Cong. Ch. 5.00
Chicago. Ladies’ M. Soc., Leavitt St. Ch. 1.82
Illini. “Thank Offering” 8.00
Moline. To const. Mrs. W. W. Bearby L. M. 30.00
New Windsor 5.00
Oak Park. Ladies’ Benev. Soc. 31.75
Rockford. H. M. Soc. of Second Ch. 32.60
Rockford. W. H. M. Soc. of First Ch. 20.65
Rockford. Ladies’ M. Soc. of First Ch. 9.20
Thawville. L. H. and For. M. Soc. 1.90
Toulon. Ladies 3.45
———— 149.37

MICHIGAN, $961.17.
Addison. Cong. Ch. 4.00
Almont. Cong. Ch. 30.00
Ann Arbor. “A Friend,” 30, to const. Ernest Perry
L. M.; Mrs. Maria Wood, 2.50 32.50
Benzonia. —— 5.00
Birmingham. Mrs. A. D. Stickney 1.00
Calumet. “Mission Band,” by Miss Gertrude Colton,
for Marie Adlof Sch’p Fund 25.00
Covert. Albert Packard, for Talladega C. 10.00
Detroit. First Cong. Ch., 210.60; Arthur H. Bigg.
M. D., to const. Mrs. Adaline E. W. Bigg L. M., 30 240.60
East Gilead. Cong. Ch. 2.00
Edwardsburg. S. C. Olmsted 5.00
Grand Rapids. Sab. Sch. of First Cong. Ch., for
Woman’s Work 25.00
Hancock. Cong. Ch. 91.00
Hancock. Sab. Sch. of Cong. Ch., for Talladega C. 12.00
Homestead. Sab. Sch. of Cong. Ch. 4.00
Jackson. Mrs. L. C. Nash and daughter 5.00
Kalamazoo. Cong. Ch., 96.11; Sarah M. Sleeper, 5 101.11
Lansing. Cong. Ch., to const. Mrs. Lucy Wheeler
L. M. 30.50
Manistee. Y. L. M. Soc., by Miss A. E. Lewis, Treas.,
for Oahe Ind’l Sch. 50.00
Memphis. Cong. Ch. 6.00
Olivet. W. B. Palmer, 50; Morning Star Mission
Band, 10, for Talladega C. 60.00
Pontiac. Cong. Ch. 6.05
Portland. Cong. Ch. 20.00
Saginaw City. Mrs A. M. Spencer 2.00
Standish. First Cong. Ch. 2.00
Summit. Cong. Ch. 14.00
Three Rivers. E. B. Linsley 2.00
Traverse City. First Cong. Ch. 29.18
Union City. Cong. Ch., 35; “A Friend,” 50 85.00
Watervliet. Cong. Ch. 10.81
Wayne. Cong. Ch. 8.00
West Adrian. First Cong. Ch. 15.42
Ypsilanti. Cong. Ch. 11.00
Woman’s Home Miss’y Union, by Mrs. E. F. Grabill,
Treas., for Woman’s Work:
Allendale. W. H. and F. M. Soc. 6.00
Ypsilanti. Cheerful Helpers 5.00
Ypsilanti. Women of the Ch. 5.00
—— 16.00

WISCONSIN, $850.82.
Beloit. First Cong. Ch., 27; Mrs. Sanford
Richardson, 5 32.00
Berlin. Cong. Ch. 20.00
Boscobel. Cong. Ch., for Woman’s Work 10.00
Columbus. C. Baker 5.00
Darlington. Cong. Ch. 7.05
Fox Lake. M. Jarvis 5.00
Hartland. Cong. Ch. 13.00
Lake Geneva. Mrs. Geo. Allen 5.00
Lancaster. Cong. Ch. 58.10
Madison. First Cong. Ch., 39.26; “A. E. H. D.,” 1 40.26
Madison. Sab. Sch. of First Cong. Ch., for Student
Aid, Atlanta U. 10.00
Menasha. E. D. Smith 50.00
Milwaukee. Win. Dawes, 40; Tab. Welsh Cong. Ch.,
3 43.00
Monroe. Miss Frances A. Locke 5.00
Pewaukee. Cong. Ch. 5.80
Racine. Mrs. M. B. Erskine 50.00
River Falls. First Cong. Ch. 40.00
Shawano. Chas. Upham, for Talladega C. 10.00
Sheboygan. Dea. D. Brown 1.00
Sparta. First Cong. Ch., 17.59, and Sab. Sch.,
17.25 34.84
Whitewater. Geo. S. Marsh, “In Memoriam of Fred.
B. Marsh,” 200; “Tithe Fund,” 5 205.00
By Woman’s Home Missionary Union of Wisconsin,
for Woman’s Work:
Arena. W. H. M. S. 3.25
Barneweld. W. H. M. S. 5.00
Beloit. L. M. S. of First Cong. Ch. 10.60
Boscobel. W. H. M. S. 5.00
Brandon. W. H. M. S. 4.00
Columbus. Ladies of Olivet Cong. Ch. 35.00
Eau Claire. L. H. M. S. of First Cong. Ch. 11.70
Fond du Lac. L. H. M. S. 10.00
Milton. L. H. M. S. 4.00
Oshkosh. L. H. M. S. 10.00
Stoughton. S. S. Birthday Box 0.47
Wauwatosa. L. M. S. 9.25
Stoughton. “A Friend,” 3; “A Friend,” 2;
Rainbow Soc., 1 6.00
—— “A Friend,” by Mrs. Jeremiah Porter 70.00
——— 184.27
Woman’s Home Missionary Union, by Mrs. C. C.
Keeler, Treas., for Woman’s Work:
Arena. W. M. Soc. 5.00
Mazomanie. W. H. M. S. 2.00
Milton 6.00
Stoughton 3.00
———— 16.00
IOWA, $197.43.
Algona. Mrs. Mary H. Carter 5.00
Ames. Cong. Ch. 20.00
Bear Grove. Union Sab. Sch. Infant Class, for
Rosebud Indian M. 1.25
Cedar Falls. Cong. Ch. (10 of which from Mrs. A. G.
Thompson) 20.00
Cherokee. Sab. Sch. of Cong. Ch., for McIntosh, Ga. 5.00
Chester Center. Cong. Ch. 13.37
Creston. Cong. Ch. 23.00
Cromwell. Cong. Ch. 3.15
Davenport. Edwards Cong. Ch. 17.00
Denmark. Cong. Ch. 20.00
Des Moines. North Park Cong. Ch., 5.05; “Traveler,”
1 6.05
Dunlap. Cong. Ch. 13.20
Dubuque. First Cong. Ch., to const. Mrs. M. J.
Nichoson L. M. 54.37
Eldon. Cong. Ch. 9.30
Greene. Rudolph Landes 4.00
Iowa City. Sab. Sch. of Cong. Ch. 4.08
Keokuk. Cong. Ch. 20.70
Marion. Cong. Ch. 16.09
Newton. Cong. Ch. 12.61
Postville. Cong. Ch. 16.43
Rockford. Cong. Ch. 12.15
Tabor. Cong. Ch. 66.47
University Place. “A Friend” 15.00
Waterloo. Cong. Ch., 20; Rev. Moses K. Cross, 10 30.00
By Woman’s Home Missionary Union of Iowa, for
Woman’s Work:
Anamosa. Freedman’s Soc. 18.00
Council Bluffs 20.00
Dubuque. Y. L. Ben. Soc. 22.55
Eldon. Mrs. M. B. Holyoke 1.00
Emmetsburg. W. H. M. U. 10.00
Genoa Bluffs. Ladies 1.30
Harlan. Ladies 1.70
Rockford. Ladies 1.86
Sheldon. Ladies 1.00
Waterloo. Ladies 11.80
———— 89.21

MINNESOTA, $753.51.
Alexandria. Ladies’ Home Miss’y Soc., for Woman’s
Work 20.00
Amiret. Mrs. L. H. Dwinnell 2.00
Austin. Cong. Union Ch., 42.66; Mrs. S. C. Bacon,
10 52.66
Brownsville. Mrs. S. M. McHose 5.00
Clearwater. Cong. Ch. “Birthday Box” 2.82
Edina. Mission Sab. Sch. of Cong. Ch. 2.00
Excelsior. Cong. Ch. 13.72
Glyndon. Church at Glyndon, 8.91, and Sab. Sch.,
70c. 9.61
Hopkins. Mission Sab. Sch. of Cong. Ch. 4.50
Lake City. Cong. Ch. 6.72
Litchfield. Miss’y Band, by Mrs. Hattie Greenleaf,
for Student Aid, Storrs Sch., Atlanta, Ga. 20.00
Mankato. “Missionary Garden,” by Emma
Hegeman, Treas. 14.08
Mankato. Woman’s Miss’y Soc., by H. Pierson,
Sec., for Woman’s Work 12.00
Mazeppa. Ladies’ Miss’y Soc., for Wilmington, N.C. 10.00
Mazeppa. Sab. Sch. of Cong. Ch. 3.00
Minneapolis. Miss Mary T. Hale, for Student Aid,
Atlanta U. 25.00
Minneapolis. Plymouth Ch., 19; Mrs. D. C. Bell, 5;
Vine Cong. Ch., 12.70; Union Ch., 5.59 42.29
Rochester. Sab. Sch. of Cong. Ch., for Freight 1.30
Waseca. Cong. Ch. 8.50
Worthington. Sab. Sch. Union Cong. Ch. 5.08
Woman’s Home Miss’y Union, by Mrs. J. N. Cross,
Treas., for Woman’s Work:
Austin. W. M. S. 23.13
Cottage Grove. W. M. S. 8.50
Excelsior. Aux. 2.47
Granite Falls. W. M. S. 3.94
Glyndon. W. M. S. 10.00
Minneapolis. Plym. W. H. M. S., to const.
Mrs. Elizabeth C. Gale and Mrs. Orpha P.
Smith L. M’s 99.00
Minneapolis. Second. Ch. W. M. S. 12.50
Minneapolis. First Ch. W. M. S. 30.00
Minneapolis. Plym. Y. L. M. S. 22.50
Minneapolis. East-side Mission Bible Class
and Sew. Sch. 5.00
Owatonna. W. M. S. 15.00
Saint Paul. Plym. W. H. M. S. 25.00
Saint Paul. Mrs. Dr. Higbee 25.00
Waseca. W. M. S. 4.52
———— 286.56
By Rev. T. L. Riggs, for Oahe Ind’l Sch:
Lake City. J. Manning 5.00
Lake City. —— 0.70
Litchfield. First Presb. Ch. and “Friends” 22.00
Ottumwa. —— 8.00
Minneapolis. Vine Cong. Ch. 19.01
Minneapolis. Second Cong. Ch. 10.41
Minneapolis. “Friends” 6.00
Minneapolis. Miss C. King 5.00
Minneapolis. “Pilg’m Friends” 2.40
Minneapolis. Mrs. J. H. Butters 2.00
Minneapolis. Mrs. W. Butters 2.00
Minneapolis. R. L. Prodt 1.00
Rochester. Cong. Ch. 20.29
Saint Paul. Sab. Sch. Plym. Ch. 75.00
Waseca. Cong. Ch. 13.25
Waseca. Sab. Sch. of Cong. Ch. 4.47
Winona. Rev. J. H. Crum 2.00
Winona. —— Hubbard 5.00
Worthington. “Friends” 3.22
———— 206.75

MISSOURI, $31.00.
Laclede. Mr. and Mrs. E. D. Seward 5.00
Webster Groves. Cong. Ch. 26.00

KANSAS, $2,257.67.
Brookville. Rev. S. G. Wright 2.00
Burlingame. Mrs. Mary S. Leonard 0.50
Chapman. Cong. Ch. 5.00
Council Grove. Cong. Ch. 15.00
Emporia. First Cong. Ch. 47.71
Lawrence. Cong. Ch., 10; Pilgrim Ch., 1 11.00
Manhattan. “Friends,” 16.00
Meriden. J. Rutty 10.00
Milford. Cong. Ch. 2.30
Osawatomie. Cong. Ch., 5; Rev. S. L. Adair, 5 10.00
Topeka. First Cong. Ch. 108.14
Valley Falls. Cong. Ch. 15.25
Wyandotte. Cong. Ch. 14.77
————
$257.67
LEGACY.
Olathe. Estate of Miss Fanny A. Beckwith by
Watts Beckwith (1,000 of which for Chinese
M. and 30 to const. Rev. B. F. Worrell L. M.) 2,000.00
————
$2,257.67

DAKOTA, $96.55.
Chamberlin. Sab. Sch. of Cong. Ch., for Oahe Ind’l
Sch. 2.60
Fort Berthold. Cong. Ch. 15.00
Harwood. Cong. Ch. 1.00
Henry. Cong. Ch. 5.00
Ipswich. Cong. Ch. 6.25
Jamestown. Mrs. M. S. Wells 5.00
Lake Henry. Cong. Ch. 8.60
Lake Preston. By Mrs. Sue Fifield, Terr. Treas.
H. M. S. 4.46
Volga. Cong. Ch. 1.57
Wahpeton. First Cong. Ch. 6.07
Yankton. Cong. Ch. 41.00

COLORADO, $39.00.
Denver. Ladies of First Cong. Ch., for Oahe Ind’l
Sch. 35.00
Fort Lewis. Mrs. J. B. Irvine 4.00

NEBRASKA, $115.36.
Arborville. Cong. Ch. 9.00
Camp Creek. Cong. Ch. 18.25
Crete. Mrs. A. B. Pratt 2.00
Exeter. Ladies’ Miss’y Soc., by Mrs. D. B. Perry 5.00
Lincoln. Cong. Ch. 27.85
Omaha. Saint Mary’s Av. Cong. Ch. 38.51
Plymouth. Cong. Ch. 3.50
Red Cloud. Cong. Ch. 2.00
Santee Agency. Indian pupils—Charles Hoffman, 2;
Frank Redstone, 2; Arthur Tibbetts, 1; Alfred
Mandan, 1; David Livingston, 1; James
Milbourne, 1; Edward Wanstall, 75c.; Grover
Cleveland, 50c. 9.25

CALIFORNIA, $5.00.
Los Angeles. Mrs. Milo Whiting 5.00

OREGON, $45.00.
Oregon City. Cong. Ch. 13.50
Salem. Cong. Ch. 17.50
The Dalles. First Cong. Ch. 14.00

MONTANA, $7.00.
Helena. First Cong. Ch. 7.00

WASHINGTON TER., $33.00.


Medical Lake. First. Cong. Ch. 10.00
Skokomish. Cong. Ch. 17.75
Tacoma. Mrs. Eliza Taylor 5.25

DISTRICT OF COLUMBIA, $17,400.21.


Washington. U.S. Government, for Indian M. 17,357.21
Washington. First Cong. Ch., 24; Lincoln
Mission, 10; Lincoln Memorial Ch., 4;
Tabernacle Ch., 5 43.00

VIRGINIA, $6.57.
Herndon. Cong. Ch. 6.57

KENTUCKY, $64.70.
Williamsburg. Cong. Ch. 57.45
Williamsburg. Rent 7.25

TENNESSEE, $2,700.55.
Jonesboro. Cong. Ch., 25.14; Miss’y Soc., 6.90,
and Sab. Sch., 4.25 36.29
Memphis. Slater Fund 1,000.00
Nashville. Slater Fund 1,650.00
Nashville. Union Cong. Ch. 12.50
Nashville. Coll’s at Sab. Sch. in Fisk U. held by
three children of the Faculty during vacation 1.76

NORTH CAROLINA, $16.40.


Oakes. “Friends,” by Miss E. W. Douglass 3.15
Troy. Cong. Ch. 0.50
Wilmington. Tuition, 7.75; “Thank offering,” 5 12.75

GEORGIA, $526.00.
Atlanta. Rev. J. B. Hawthorne, D.D., 5; Wm. A.
Haygood, 5; J. G. Thrower, 5; “A Friend,” 5, for
Atlanta U. 20.00
Macon. Slater Fund 500.00
Marietta. Cong. Ch., 3, and Sab Sch., 2 5.00
Savannah. Rev. J. H. H. Sengstacke, for Student
Aid, Hampton Inst. 1.00

ALABAMA, $1,424.65.
Florence. First Cong. Ch. 3.00
Talladega. Slater Fund 1,400.00
Talladega. Rev. H. S. DeForest, 11.25; M. H.
Clary, for Talladega C., 8.40; Tuition, 2 21.65

FLORIDA, $6.00.
Daytona. Cong. Ch. 5.00
Orange City. “From one who loves the Lord,” 1.00

LOUISIANA, $1,003.00.
Haasville. Mrs. F. D. Blood 3.00
New Orleans. Slater Fund 1,000.00
MISSISSIPPI, $1,515.00.
Homewood. W. H. Thomas 1.00
Tougaloo. Slater Fund 1,500.00
Tougaloo. W. D. Hitchcock, 10; Rent, 4. 14.00

TEXAS, $631.20.
Austin. Slater Fund 600.00
Helena. Cong. Ch. 31.20

INCOMES, $1,685.00.
Avery Fund, for Mendi M. 1,555.00
Belden Sch’p Fund, for Talladega C. 30.00
C. F. Dike Fund, for Straight U. 50.00
General Endowment Fund 50.00

CHINA, $25.00.
Faiku. Mr. and Mrs. D. H. Clapp, of Shansi
Mission, North China 25.00
========
Donations $29,453.99
Legacies 8,542.83
Incomes 1,685.00
Rents 11.25
U.S. Government, for Indians 17,357.21
Slater Fund 7,650.00
—————
Total for September $64,700.28
Total from Oct. 1 to Sept. 30 306,761.31
=======
FOR THE AMERICAN MISSIONARY.
Subscriptions for September $48.59
Previously acknowledged 996.22
————
Total $1,044.81
=======

THEOLOGICAL ENDOWMENT FUND.


North Bloomfield, Ohio. “A Friend,” for
Talladega C. $709.25
=======
H. W. Hubbard, Treasurer,
56 Reade St., N.Y.
Literary Notes.
T he Lincoln history in The Century, by the private secretaries
of Mr. Lincoln, Messrs. Nicolay and Hay, will deal during the
coming year with the political and military history of the early
period of the war. New light will be thrown upon certain events of
that period by the publication of correspondence and other
documents never before printed, and unknown to but a small
circle. The historians now enter upon a more important and
personal part of their narrative. The publication of this history has
brought an increase of 25,000 subscribers to The Century.

Mrs. Frances Hodgson Burnett will contribute a short serial to the


coming volume of St. Nicholas for Young Folks, which is said to be
a worthy successor of that author’s famous “Little Lord
Fauntleroy,” which appeared in St. Nicholas a year ago. Joel
Chandler Harris, John Burroughs, Frank R. Stockton, H. H.
Boyesen, J. T. Trowbridge, Col. Richard M. Johnstone, and Louisa
M. Alcott are among the many distinguished writers who will
contribute serial and short stories to this famous magazine for
young people.

Edward Eggleston author of “The Hoosier Schoolmaster,” will


furnish an illustrated novel to The Century for 1887-8. It is a story
of pioneer life in Illinois.

George W. Cable will contribute a novelette to early numbers of


The Century, and Frank R. Stockton has written a three-part
story, “The Dusantes,” for the same magazine. Mr. Stockton’s new
novel, “The Hundredth Man,” has just been issued.

The Siberian Papers, by George Kennan, will be a great feature of


The Century for the coming year. Mr. Kennan has just returned
from a journey of 15,000 miles through European and Asiatic
Russia, undertaken at the request of the editor of The Century. By
means of a circular letter from the Russian Minister of the Interior,
Mr. Kennan was enabled to visit nearly every important prison and
mine in Siberia.

Songs of Worship, the new Sunday-School hymn and tune-book,


edited by Waldo S. Pratt, of the Hartford Theological Seminary, is
just ready. It contains tunes by the best American as well as
English and German composers, and is arranged in the most
available manner. Every hymn and tune it is believed will prove of
helpful service. Sample copies sent for 35 cents.

THE CENTURY CO., New York.

Fall Dress Goods


JAMES McCREERY & CO.
offer among their large assortment of Fall Dress Goods, the
following Special Lines:
Two lines Stripe and Check Cheviots, 44 inches wide, at 60 cents;
worth $1.00.
Also, Three lines Check and Stripe Suitings, 54 inches wide, at 75
cents; well worth $1.25.

“FURLEY & BUTTRUM”


Merino Underwear for men, women and children. Superior to any
brand manufactured.
Orders by mail from any part of the country will receive careful
and prompt attention.

JAMES McCREERY & CO.


BROADWAY and ELEVENTH ST,
NEW YORK.

MENEELY & COMPANY,


WEST TROY, N.Y., BELLS,
For Churches, Schools, etc., also
Chimes and Peals. For more than half a
century noted for superiority over all
others.

YOU CAN MAKE YOUR OWN INK!


Send 25 cts for a bottle of
WALPOLE INK POWDERS
BLACK RED VIOLET GREEN
which will make several quarts of the best ink. Will not corrode
the pen. Name color. Circular giving full information free on
application. Address
Walpole Dye & Chemical Works, 44 Oliver St., Boston.

Reliable Carpenter Organs


FOR

CHURCH and
CHAPEL.
The Carpenter Organs contain the
celebrated CARPENTER ORGAN ACTION.
They are pure in tone, perfect in
construction, in exact accord with the
voice, and full of patented improvements.
More than 50 different styles, ranging in
price from $20 up. “Mr. Carpenter builds
most emphatically AN HONEST ORGAN.”—
Youth’s Companion. All organs of our
manufacture warranted for 8 years. Special
inducements to ministers and churches.
Catalogue free. E. P. Carpenter Co.,
Brattleboro, Vt.

Clinton H. Meneely

BELL COMPANY
Troy, N.Y.,
MANUFACTURE SUPERIOR

Church, Chime and


Peal Bells.

Liquid
Cottage Colors.
The best MIXED PAINTS manufactured. Guaranteed to give
perfect satisfaction if properly applied. They are heavy bodied,
and for work that does not require an extra heavy coat, they can
be thinned (with our Old Fashioned Kettle-boiled Linseed Oil) and
still cover better than most of the mixed paints sold in the market,
many of which have so little stock in them that they will not give
a good solid coat.
Some manufacturers of mixed paints direct NOT to rub out the
paint, but to FLOW it on; the reason being that if such stuff were
rubbed out there would be but little left to cover, would be
transparent. Our Cottage Colors have great strength or body, and,
like any good paint, should be worked out well under the brush.
The covering property of this paint is so excellent as to allow this
to be done.
Put up for shipment as follows: In 3-gal. and 5-gal. bailed
buckets, also barrels; in cans of ⅛, ¼, ½, 1-gal. and 2-gal. each.
Sample Cards of Colors, Testimonials and prices sent on
application to

Chicago White Lead & Oil Co.,


Cor. Green & Fulton Streets,
CHICAGO, ILL.

6%, 7%, 8%.


The american

investment co.

of Emmettsburg, Iowa,
with a Paid-up capital of $600,000, SURPLUS $75,000, offers First
Mortgage Loans drawing SEVEN per cent., both Principal and
Interest FULLY GUARANTEED. Also 6 per cent. ten-year
Debenture Bonds, secured by 105 per cent. of First Mortgage
Loans held in trust by the Mercantile Trust Company, New York. 5
per cent. certificates of deposit for periods under one year.
CAN BE REALIZED BY CHANGING
7⅔% 4 Per Ct. Government Bonds
Into 6 Per Cent. Debentures.
Write for full information and reference to the Company at
150 Nassau Street, New York.
A. L. ORMSBY, Vice-President and Gen. Manager.

INDELIBLE
Mark your Clothing! Clear Record of half a Century.

“Most Reliable and Simplest for plain or decorative marking.” Use


a common pen.
Sold by all Druggists, Stationers, News and Fancy
Goods dealers.

PAYSON’S

Indelible Ink!
Dr. WARNER’S Health Underwear,
MADE OF TWO QUALITIES,
Selected CAMEL’S HAIR
and
Pure NATURAL WOOL.

Five Reasons for Wearing the Health Underwear.


1st. Camel’s Hair and Wool are twice as warm as the same weight
of Cotton or Linen.
2d. They protect the body against excessive heat and against
drafts and sudden changes of temperature.
3d. They are an important protection against colds, catarrh,
consumption, neuralgia, rheumatism and malaria.
4th. They cannot crock, fade or poison the skin, as they are
natural colors and contain no dyes.
5th. The Camel’s Hair is warranted to wash without shrinking.
Manufactured in all styles of Gentlemen’s, Ladies’ and Children’s
Underwear and Night Shirts.
FOR SALE BY LEADING MERCHANTS.
Catalogue with Prices sent on application.
WARNER BROS., 359 Broadway, N.Y.

Hamilton Vocalion Organs


of 2 manuals and 2 sets of pedals,
$750; equalling in beauty, variety and
volume a pipe organ of 600 pipes by
the best maker. Circulars, with
testimonials of leading musicians and
organists of the world.
“Without a doubt the Vocalion is at
present the nearest approach to a pipe
organ.”—Clarence Eddy, Organist First
Presbyterian Church, Chicago.
“I have only words of praise in its
favor.”—Henry Eyre Brown, Organist,
Brooklyn Tabernacle.
“Especially valuable for Churches and
Concert Rooms.”—A. H. Messiter,
Organist, Trinity Ch., N.Y.
“A tone so rich and musical must be
recognized as valuable for special and
new orchestral effects.”—Henry Carter,
Organist, N.Y.
“Your Vocalion has a magnificent
future.”—Sir Arthur Sullivan.
“A rare combination of power and
sweetness.”—Adelina Patti.
Catalogue sent free.
WAREROOMS, 28 EAST 23d ST., NEW
YORK, N.Y.
JOSEPH GILLOTT’S
STEEL PENS
GOLD MEDAL PARIS EXPOSITION—1878.
THE MOST PERFECT OF PENS

A. H. ANDREWS & CO.


MANUFACTURERS OF

School, Church, Chapel and Sunday-


School Seating.
DOVETAILED SCHOOL-
DESKS, GLOBES, MAPS,
CHARTS, BLACK-BOARDS,
&C.
CHURCH CHAIRS, PEWS,
PULPITS, COMMUNION
TABLES, COLLECTION
PLATES, &C., &C.
IMPROVED METHODS OF
SEATING WITH SETTEES
AND TAYLOR PATENT
CHAIRS.

Catalogues free on application.

You might also like