Package com.mongodb.internal.connection
Class MongoCredentialWithCache
- java.lang.Object
-
- com.mongodb.internal.connection.MongoCredentialWithCache
-
@Deprecated(since="2021-05-27") public class MongoCredentialWithCache extends java.lang.Object
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description MongoCredentialWithCache(MongoCredential credential)
Deprecated.MongoCredentialWithCache(MongoCredential credential, com.mongodb.internal.connection.MongoCredentialWithCache.Cache cache)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AuthenticationMechanism
getAuthenticationMechanism()
Deprecated.MongoCredential
getCredential()
Deprecated.<T> T
getFromCache(java.lang.Object key, java.lang.Class<T> clazz)
Deprecated.void
putInCache(java.lang.Object key, java.lang.Object value)
Deprecated.MongoCredentialWithCache
withMechanism(AuthenticationMechanism mechanism)
Deprecated.static java.util.List<MongoCredentialWithCache>
wrapCredentialList(java.util.List<MongoCredential> credentialList)
Deprecated.
-
-
-
Constructor Detail
-
MongoCredentialWithCache
public MongoCredentialWithCache(MongoCredential credential)
Deprecated.
-
MongoCredentialWithCache
public MongoCredentialWithCache(MongoCredential credential, com.mongodb.internal.connection.MongoCredentialWithCache.Cache cache)
Deprecated.
-
-
Method Detail
-
wrapCredentialList
public static java.util.List<MongoCredentialWithCache> wrapCredentialList(java.util.List<MongoCredential> credentialList)
Deprecated.
-
withMechanism
public MongoCredentialWithCache withMechanism(AuthenticationMechanism mechanism)
Deprecated.
-
getAuthenticationMechanism
public AuthenticationMechanism getAuthenticationMechanism()
Deprecated.
-
getCredential
public MongoCredential getCredential()
Deprecated.
-
getFromCache
public <T> T getFromCache(java.lang.Object key, java.lang.Class<T> clazz)
Deprecated.
-
putInCache
public void putInCache(java.lang.Object key, java.lang.Object value)
Deprecated.
-
-