Class ConsoleAuth

java.lang.Object
org.cristalise.kernel.process.auth.ConsoleAuth
All Implemented Interfaces:
ProxyLogin

public class ConsoleAuth extends Object implements ProxyLogin
  • Constructor Details

    • ConsoleAuth

      public ConsoleAuth()
  • Method Details

    • initialize

      public void initialize(Properties props) throws Exception
      Description copied from interface: ProxyLogin
      Intialiase the connection with the system used for authentication
      Specified by:
      initialize in interface ProxyLogin
      Parameters:
      props - Properties needed for the initialisation
      Throws:
      Exception - anything could happen
    • authenticate

      public AgentProxy authenticate(String resource) throws Exception
      Description copied from interface: ProxyLogin
      Authenticate the Agent
      Specified by:
      authenticate in interface ProxyLogin
      Parameters:
      resource - additional data required by the system used for authentication
      Returns:
      the authenticated Agent
      Throws:
      Exception - anything could happen