com.hazelcast.security

## Interface ICredentialsFactory

- All Known Implementing Classes:
    DefaultCredentialsFactory

      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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `configure(GroupConfig groupConfig, Properties properties)` Configures `ICredentialsFactory`.
    `void` | `destroy()` Destroys `ICredentialsFactory`.
    `Credentials` | `newCredentials()` Creates new `Credentials` object.

- - ### Method Detail

    - #### configure

          void configure(GroupConfig groupConfig,
                         Properties properties)

      Configures `ICredentialsFactory`.
      Parameters:
        `groupConfig` - Hazelcast `GroupConfig`
        `properties` - properties that will be used to pass custom configurations by user

    - #### newCredentials

          Credentials newCredentials()

      Creates new `Credentials` object.
      Returns:
        the new Credentials object

    - #### destroy

          void destroy()

      Destroys `ICredentialsFactory`.

Copyright © 2020. All rights reserved.