This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Automating logon for a Client/Server::" Watch "Automating logon for a Client/Server::" New topic
Author

Automating logon for a Client/Server::

gregg jefferies
Greenhorn

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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Automating logon for a Client/Server::
 
Similar Threads
Using a one way hash for Password encryption
Reading log files from various unix servers through Java program on windows
Serializable - transient variable
Access to restricted pages via login page
Needs to connect SSH Terminal unix box from Java