@Test(expected = UnregisteredSessionTokenException.class) public void UnregisteredSessionTokenException() throws RemoteApiException { proxy.httpClientForSessionToken(SESSION_TOKEN, null); }
@Override public Client httpClientForSessionToken(String sessionToken, ServiceName serviceName) { return contextForSessionToken(sessionToken).httpClientForContext(serviceName); }
AuthenticationProxyImpl implements AuthenticationProxy { @Override public Client httpClientForSessionToken(String sessionToken, ServiceName serviceName) { return contextForSessionToken(sessionToken).httpClientForContext(serviceName); } }
AuthenticationProxyImpl implements AuthenticationProxy { @Override public Client httpClientForSessionToken(String sessionToken, ServiceName serviceName) { return contextForSessionToken(sessionToken).httpClientForContext(serviceName); }  }
AuthenticationProxyImpl implements AuthenticationProxy { @Override public Client httpClientForSessionToken(String sessionToken, ServiceName serviceName) { return contextForSessionToken(sessionToken).httpClientForContext(serviceName); }  @PostConstruct void init(); @Override void authenticate(String userId); @Override boolean isAuthenticated(String user); @Override void invalidate(String userId); @Override AuthenticationToken getToken(String configurationId); @Override String getSessionToken(String configurationId); @Override synchronized void reAuthOrThrow(String userId, RemoteApiException remoteApiException); @Override synchronized AuthenticationToken reAuthSessionOrThrow(String sessionToken, RemoteApiException remoteApiException); @Override boolean sessionNoLongerEntitled(int code); @Override boolean sessionUnauthorized(int code); @Override void registerUser(String userId, KeyStore keyStore, String keyStorePass); @Override Client httpClientForUser(String userId, ServiceName serviceName); @Override Client httpClientForSessionToken(String sessionToken, ServiceName serviceName); }
AuthenticationProxyImpl implements AuthenticationProxy { @Override public Client httpClientForSessionToken(String sessionToken, ServiceName serviceName) { return contextForSessionToken(sessionToken).httpClientForContext(serviceName); }  @PostConstruct void init(); @Override void authenticate(String userId); @Override boolean isAuthenticated(String user); @Override void invalidate(String userId); @Override AuthenticationToken getToken(String configurationId); @Override String getSessionToken(String configurationId); @Override synchronized void reAuthOrThrow(String userId, RemoteApiException remoteApiException); @Override synchronized AuthenticationToken reAuthSessionOrThrow(String sessionToken, RemoteApiException remoteApiException); @Override boolean sessionNoLongerEntitled(int code); @Override boolean sessionUnauthorized(int code); @Override void registerUser(String userId, KeyStore keyStore, String keyStorePass); @Override Client httpClientForUser(String userId, ServiceName serviceName); @Override Client httpClientForSessionToken(String sessionToken, ServiceName serviceName);  }