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; }