public ContactsHandlerImpl(String user, String password, int cachelimit) throws AuthenticationException { myService = new ContactsService("kostaskar-testContacts-1"); myService.setUserCredentials(user, password); resetCacheLimit(cachelimit); }
public void setService() throws AuthenticationException { myService = new ContactsService("exampleCo-exampleApp-1"); myService.setUserCredentials(user, pass); }