@Test public void testInvalidateAuthentication() throws RemoteApiException { testChangeToken(); authContext.invalidateAuthentication(); assertEquals(USER_ID, authContext.getUserId()); assertEquals(AUTH_TOKEN2, authContext.getToken()); assertEquals(AUTH_TOKEN1, authContext.getPreviousToken()); assertFalse(authContext.isAuthenticated()); assertNotNull(authContext.httpClientForContext(SERVICE_NAME)); }
public synchronized void invalidateAuthentication() { isTokenValid = false; }
UserAuthenticationContext extends AuthenticationContext { public synchronized void invalidateAuthentication() { isTokenValid = false; } }
UserAuthenticationContext extends AuthenticationContext { public synchronized void invalidateAuthentication() { isTokenValid = false; } UserAuthenticationContext(String userId, KeyStore keyStore, String keyStorePassword,
      HttpClientConfig httpClientConfig, IntegrationProperties properties); }
UserAuthenticationContext extends AuthenticationContext { public synchronized void invalidateAuthentication() { isTokenValid = false; } UserAuthenticationContext(String userId, KeyStore keyStore, String keyStorePassword,
      HttpClientConfig httpClientConfig, IntegrationProperties properties); String getUserId(); synchronized AuthenticationToken getToken(); synchronized AuthenticationToken getPreviousToken(); synchronized void setToken(AuthenticationToken newToken); synchronized void invalidateAuthentication(); synchronized boolean isAuthenticated(); }
UserAuthenticationContext extends AuthenticationContext { public synchronized void invalidateAuthentication() { isTokenValid = false; } UserAuthenticationContext(String userId, KeyStore keyStore, String keyStorePassword,
      HttpClientConfig httpClientConfig, IntegrationProperties properties); String getUserId(); synchronized AuthenticationToken getToken(); synchronized AuthenticationToken getPreviousToken(); synchronized void setToken(AuthenticationToken newToken); synchronized void invalidateAuthentication(); synchronized boolean isAuthenticated();  }