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 Type Method Description void
configure(CallbackHandler callbackHandler)
ConfiguresICredentialsFactory
.void
destroy()
DestroysICredentialsFactory
.default void
init(Properties properties)
This method is (only) called if the factory instance is newly created from a class name provided inCredentialsFactoryConfig
.Credentials
newCredentials()
Creates newCredentials
object.
-
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 newCredentials
object.- Returns:
- the new Credentials object
-
destroy
void destroy()DestroysICredentialsFactory
.
-