com.hazelcast.security

## Interface Credentials

- All Superinterfaces:
    Serializable
  All Known Implementing Classes:
    AbstractCredentials, UsernamePasswordCredentials

      public interface Credentials
      extends Serializable

  Credentials is a container object for endpoint (Members and Clients) security attributes.

  It is used on authentication process by `LoginModule`s.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getEndpoint()` Returns IP address of endpoint.
    `String` | `getPrincipal()` Returns principal of endpoint.
    `void` | `setEndpoint(String endpoint)` Sets IP address of endpoint.

- - ### Method Detail

    - #### getEndpoint

          String getEndpoint()

      Returns IP address of endpoint.
      Returns:
        IP address of endpoint

    - #### setEndpoint

          void setEndpoint(String endpoint)

      Sets IP address of endpoint.
      Parameters:
        `endpoint` - IP address of endpoint

    - #### getPrincipal

          String getPrincipal()

      Returns principal of endpoint.
      Returns:
        endpoint principal

Copyright © 2020. All rights reserved.