public interface ICredentialsFactory
Credentials
objects to be used during node authentication before connection is
accepted by the master node.Modifier and Type | Method and Description |
---|---|
void |
configure(CallbackHandler callbackHandler)
Configures
ICredentialsFactory . |
void |
destroy()
Destroys
ICredentialsFactory . |
default void |
init(Properties properties)
This method is (only) called if the factory instance is newly created from a class name provided in
CredentialsFactoryConfig . |
Credentials |
newCredentials()
Creates new
Credentials object. |
default Credentials |
newCredentials(Address address)
Creates new
Credentials object for given target Address . |
default void init(Properties properties)
CredentialsFactoryConfig
.properties
- factory properties defined in configurationvoid configure(CallbackHandler callbackHandler)
ICredentialsFactory
.callbackHandler
- callback handler which can provide access to system internalsCredentials newCredentials()
Credentials
object.default Credentials newCredentials(Address address)
Credentials
object for given target Address
.address
- Target Address
(may be null
)void destroy()
ICredentialsFactory
.Copyright © 2024 Hazelcast, Inc.. All rights reserved.