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 Type
    Method
    Description
    authenticate(String resource)
    Authenticate the Agent
    void
    Intialiase the connection with the system used for authentication
  • Method Details

    • initialize

      void initialize(Properties props) throws Exception
      Intialiase the connection with the system used for authentication
      Parameters:
      props - Properties needed for the initialisation
      Throws:
      Exception - anything could happen
    • authenticate

      AgentProxy authenticate(String resource) throws Exception
      Authenticate the Agent
      Parameters:
      resource - additional data required by the system used for authentication
      Returns:
      the authenticated Agent
      Throws:
      Exception - anything could happen