It's not a secret anymore!*
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 Murach's Java Servlets and JSP this week in the Servlets 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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Automating logon for a Client/Server::
 
Similar Threads
Serializable - transient variable
Using a one way hash for Password encryption
Reading log files from various unix servers through Java program on windows
Access to restricted pages via login page
Needs to connect SSH Terminal unix box from Java