Interface ProxyLogin
- All Known Implementing Classes:
ConsoleAuth
public interface ProxyLogin
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.
-
Method Summary
Modifier and TypeMethodDescriptionauthenticate(String resource) Authenticate the Agentvoidinitialize(Properties props) Intialiase the connection with the system used for authentication
-
Method Details
-
initialize
Intialiase the connection with the system used for authentication- Parameters:
props- Properties needed for the initialisation- Throws:
Exception- anything could happen
-
authenticate
Authenticate the Agent- Parameters:
resource- additional data required by the system used for authentication- Returns:
- the authenticated Agent
- Throws:
Exception- anything could happen
-