Class AgentLoginService

java.lang.Object
org.lsst.ccs.services.AgentLoginService
All Implemented Interfaces:
AgentService

public class AgentLoginService extends Object implements AgentService
  • Field Details

  • Constructor Details

    • AgentLoginService

      public AgentLoginService()
  • Method Details

    • getAgentServiceName

      public String getAgentServiceName()
      Description copied from interface: AgentService
      Get the name of this service. This name will be used to add the given service to the lookup tree.
      Specified by:
      getAgentServiceName in interface AgentService
      Returns:
      the AgentService name.
    • login

      public void login(String userId, String credentials)
    • disconnect

      public void disconnect()
    • getUserId

      public String getUserId()
      Returns the ID of the logged in user.
      Returns:
      name of current user
    • addAgentLoginUpdateListener

      public void addAgentLoginUpdateListener(AgentLoginService.AgentLoginUpdateListener aluListener)
    • removeAgentLockUpdateListener

      public void removeAgentLockUpdateListener(AgentLoginService.AgentLoginUpdateListener aluListener)
    • notifyLoginListeners

      protected void notifyLoginListeners(String oldUserId, String newUserId)