com.hazelcast.security

## Interface ICredentialsFactory

-     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` -

    - #### newCredentials

          Credentials newCredentials()

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

    - #### destroy

          void destroy()

      Destroys `ICredentialsFactory`.

Copyright © 2018. All rights reserved.