summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/process/auth/ProxyLogin.java
blob: 665158c07dd143c5b523df9508a44de3a9ad243e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.c2kernel.process.auth;

import java.util.Properties;

import com.c2kernel.entity.proxy.AgentProxy;

/**
 * This interface is used by client processes to implement alternative login
 * mechanisms aside from the standard username and password. Implementations may
 * synchronize Agents with an external user library, such as Active Directory.
 * Implementations are expected to set up the Gateway process and its
 * authenticated components itself.
 * 
 */
public interface ProxyLogin {

	public void initialize(Properties props) throws Exception;

	public AgentProxy authenticate(String resource) throws Exception;

}