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 Detail

      • init

        default void init​(java.util.Properties properties)
        This method is (only) called if the factory instance is newly created from a class name provided in CredentialsFactoryConfig.
        Parameters:
        properties - factory properties defined in configuration
      • configure

        void configure​(javax.security.auth.callback.CallbackHandler callbackHandler)
        Parameters:
        callbackHandler - callback handler which can provide access to system internals
      • newCredentials

        Credentials newCredentials()
        Creates new Credentials object.
        Returns:
        the new Credentials object