Package com.hazelcast.config.security
Class CredentialsIdentityConfig
java.lang.Object
com.hazelcast.config.security.CredentialsIdentityConfig
- All Implemented Interfaces:
IdentityConfig
public class CredentialsIdentityConfig extends Object implements IdentityConfig
Identity configuration which just holds given credentials instance.
-
Constructor Summary
Constructors Constructor Description CredentialsIdentityConfig(Credentials credentials)
-
Method Summary
Modifier and Type Method Description ICredentialsFactory
asCredentialsFactory(ClassLoader cl)
Converts current configuration to aICredentialsFactory
instance.IdentityConfig
copy()
Makes a copy (or clone) of the config object.boolean
equals(Object obj)
Credentials
getCredentials()
int
hashCode()
String
toString()
-
Constructor Details
-
Method Details
-
getCredentials
-
copy
Description copied from interface:IdentityConfig
Makes a copy (or clone) of the config object.- Specified by:
copy
in interfaceIdentityConfig
-
asCredentialsFactory
Description copied from interface:IdentityConfig
Converts current configuration to aICredentialsFactory
instance.- Specified by:
asCredentialsFactory
in interfaceIdentityConfig
- Parameters:
cl
- class loader to be used if the credentials factory class has to be constructed.- Returns:
ICredentialsFactory
instance
-
toString
-
hashCode
public int hashCode() -
equals
-