Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Automating logon for a Client/Server::

 
gregg jefferies
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been working on this Java Client that can all together perform different tasks on my Server and decided to begin building a
FTP Client for Automating the login for each time I Logon.
Here's part of my code for this Function:

public class LoginService{
public boolean loginservice(String username, String password){
String query;
String dbUsername, dbPassword;
boolean login = false;

Is there a way to specify my Username/Password from a input text file, That way if I've made 10 or 20 servers I can Logon, succesfully no matter which Server I'm working on?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic