Correct Guice circular dependency for Keystone 1.1

This commit reverts the parameter type to the same as d54c269.
This commit is contained in:
Andrew Gaul 2013-03-18 13:34:45 -07:00
parent b4093e1f20
commit 727a3f20dd
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ public class AuthenticationServiceModule extends AbstractModule {
@Provides
@Singleton
protected LoadingCache<Credentials, Auth> provideAuthCache(GetAuth getAuth,
public LoadingCache<Credentials, Auth> provideAuthCache(Function<Credentials, Auth> getAuth,
@Named(PROPERTY_SESSION_INTERVAL) long sessionInterval) {
return CacheBuilder.newBuilder().expireAfterWrite(sessionInterval, TimeUnit.SECONDS).build(CacheLoader.from(getAuth));
}