allensoft.javacvs.client
Interface LoginManager

All Known Implementing Classes:
DefaultLoginManager, DialogLoginManager, TerminalLoginManager

public interface LoginManager

Responsible for obtaining login details from the user. Implementators of this interface can request login details in whatever manner they wish. For example, one implementation may be to get the login details by using a swing based dialog and another may ask the user to type it in on System.in. This allows the client package to be abstracted from the user interface.


Method Summary
 LoginDetails getLoginDetails(RepositoryLocation location)
          Gets the details that should be used for logging in.
 

Method Detail

getLoginDetails

public LoginDetails getLoginDetails(RepositoryLocation location)
Gets the details that should be used for logging in.
Parameters:
sDefaultUserName - the name that was last used when logging in to a server. This can be null which means that the login manager must request a user name.