File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes Automating logon for a Client/Server:: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Automating logon for a Client/Server::" Watch "Automating logon for a Client/Server::" New topic

Automating logon for a Client/Server::

gregg jefferies

Joined: Aug 28, 2013
Posts: 1
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?
I agree. Here's the link:
subject: Automating logon for a Client/Server::
It's not a secret anymore!