mirror of https://github.com/apache/jclouds.git
Correct Guice circular dependency for Keystone 1.1
This commit reverts the parameter type to the same as d54c269
.
This commit is contained in:
parent
b4093e1f20
commit
727a3f20dd
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue