summaryrefslogtreecommitdiff
path: root/src/main/java/com/p4square/grow/frontend/IntegrationDriver.java
blob: b9c35082cd73a0b6d074c6d6431852326775dcec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.p4square.grow.frontend;

import org.restlet.security.Verifier;

/**
 * An IntegrationDriver is used to create implementations of various objects
 * used to integration Grow with a particular Church Management System.
 */
public interface IntegrationDriver {

    /**
     * Create a new Restlet Verifier to authenticate users when they login to the site.
     *
     * @return A Verifier.
     */
    Verifier newUserAuthenticationVerifier();

    /**
     * Return a ProgressReporter for this Church Management System.
     *
     * The ProgressReporter should be thread-safe.
     *
     * @return The ProgressReporter.
     */
    ProgressReporter getProgressReporter();
}