code: public void authenticateForRealm(String realm, String aLogin, char[] charArray) {
  		rath.addRealm(realm, aLogin, charArray);
  	}
docs: Register a login password for the realm returned by the authorization challenge.
  Use this method instead of authenticate in case the URL is not made available to the java.net.Authenticator class
  
  @param realm the realm (see rfc2617, section 1.2)
  @param aLogin
  @param charArray