Package com.hazelcast.config.security
Class UsernamePasswordIdentityConfig
java.lang.Object
com.hazelcast.config.security.UsernamePasswordIdentityConfig
- All Implemented Interfaces:
IdentityConfig
public class UsernamePasswordIdentityConfig extends Object implements IdentityConfig
Simple username/password identity configuration.
-
Constructor Summary
Constructors Constructor Description UsernamePasswordIdentityConfig(String name, String password)
-
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)
String
getPassword()
String
getUsername()
int
hashCode()
String
toString()
-
Constructor Details
-
UsernamePasswordIdentityConfig
-
-
Method Details
-
getUsername
-
getPassword
-
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
-
copy
Description copied from interface:IdentityConfig
Makes a copy (or clone) of the config object.- Specified by:
copy
in interfaceIdentityConfig
-
hashCode
public int hashCode() -
equals
-
toString
-