Package com.hazelcast.security
Interface ICredentialsFactory
- All Known Implementing Classes:
 StaticCredentialsFactory
public interface ICredentialsFactory
ICredentialsFactory is used to create 
Credentials objects to be used during node authentication before connection is
 accepted by the master node.- 
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(CallbackHandler callbackHandler) ConfiguresICredentialsFactory.voiddestroy()DestroysICredentialsFactory.default voidinit(Properties properties) This method is (only) called if the factory instance is newly created from a class name provided inCredentialsFactoryConfig.Creates newCredentialsobject.default CredentialsnewCredentials(Address address) Creates newCredentialsobject for given targetAddress. 
- 
Method Details
- 
init
This method is (only) called if the factory instance is newly created from a class name provided inCredentialsFactoryConfig.- Parameters:
 properties- factory properties defined in configuration
 - 
configure
ConfiguresICredentialsFactory.- Parameters:
 callbackHandler- callback handler which can provide access to system internals
 - 
newCredentials
Credentials newCredentials()Creates newCredentialsobject.- Returns:
 - the new Credentials object
 
 - 
newCredentials
Creates newCredentialsobject for given targetAddress.- Parameters:
 address- TargetAddress(may benull)
 - 
destroy
void destroy()DestroysICredentialsFactory. 
 -