public class CredentialsIdentityConfig extends Object implements IdentityConfig
Constructor and Description |
---|
CredentialsIdentityConfig(Credentials credentials) |
Modifier and Type | Method and Description |
---|---|
ICredentialsFactory |
asCredentialsFactory(ClassLoader cl)
Converts current configuration to a
ICredentialsFactory instance. |
IdentityConfig |
copy()
Makes a copy (or clone) of the config object.
|
boolean |
equals(Object obj) |
Credentials |
getCredentials() |
int |
hashCode() |
String |
toString() |
public CredentialsIdentityConfig(Credentials credentials)
public Credentials getCredentials()
public IdentityConfig copy()
IdentityConfig
copy
in interface IdentityConfig
public ICredentialsFactory asCredentialsFactory(ClassLoader cl)
IdentityConfig
ICredentialsFactory
instance.asCredentialsFactory
in interface IdentityConfig
cl
- class loader to be used if the credentials factory class has to be constructed.ICredentialsFactory
instanceCopyright © 2020 Hazelcast, Inc.. All rights reserved.