public class UsernamePasswordIdentityConfig extends Object implements IdentityConfig
Constructor and Description |
---|
UsernamePasswordIdentityConfig(String name,
String password) |
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) |
String |
getPassword() |
String |
getUsername() |
int |
hashCode() |
String |
toString() |
public String getUsername()
public String getPassword()
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
instancepublic IdentityConfig copy()
IdentityConfig
copy
in interface IdentityConfig
Copyright © 2024 Hazelcast, Inc.. All rights reserved.