_press_yubikeyandkeys_white

Here is the code you can use:

RemoteMethodServer.getDefault().setUserName("wcadmin");
RemoteMethodServer.getDefault().setPassword("wcadmin");

Note a potential security risks of putting a password into the code, but it is still a valid techinque for developers to use.

It will work client and server side.