## Uses of Interface
com.hazelcast.security.Credentials

- Packages that use Credentials
  Package | Description
  --- | ---
  com.hazelcast.client.config | Contains classes related to config for com.hazelcast.client
  com.hazelcast.client.connection.nio | Contains classes related to New IO for com.hazelcast.client.connection
  com.hazelcast.security | Provides interfaces/classes for Hazelcast security implementation.

- - ### Uses of Credentials in com.hazelcast.client.config

    Methods in com.hazelcast.client.config that return Credentials
    Modifier and Type | Method and Description
    --- | ---
    `Credentials` | ClientSecurityConfig.`getCredentials()`
    `Credentials` | ClientConfig.`getCredentials()` Gets `Credentials`

    Methods in com.hazelcast.client.config with parameters of type Credentials
    Modifier and Type | Method and Description
    --- | ---
    `ClientSecurityConfig` | ClientSecurityConfig.`setCredentials(Credentials credentials)`
    `ClientConfig` | ClientConfig.`setCredentials(Credentials credentials)` Sets `Credentials`

  - ### Uses of Credentials in com.hazelcast.client.connection.nio

    Methods in com.hazelcast.client.connection.nio that return Credentials
    Modifier and Type | Method and Description
    --- | ---
    `Credentials` | ClientConnectionManagerImpl.`getLastCredentials()`
    `Credentials` | DefaultCredentialsFactory.`newCredentials()`

  - ### Uses of Credentials in com.hazelcast.security

    Classes in com.hazelcast.security that implement Credentials
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractCredentials` Abstract implementation of `Credentials`
    `class` | `UsernamePasswordCredentials` Simple implementation of `Credentials` using username and password as security attributes.

    Methods in com.hazelcast.security that return Credentials
    Modifier and Type | Method and Description
    --- | ---
    `Credentials` | ICredentialsFactory.`newCredentials()` Creates new `Credentials` object.

    Methods in com.hazelcast.security with parameters of type Credentials
    Modifier and Type | Method and Description
    --- | ---
    `void` | SecurityInterceptor.`after(Credentials credentials, String objectType, String objectName, String methodName, Parameters parameters)`
    `void` | SecurityInterceptor.`before(Credentials credentials, String objectType, String objectName, String methodName, Parameters parameters)`
    `LoginContext` | SecurityContext.`createClientLoginContext(Credentials credentials)` Creates client `LoginContext`.
    `LoginContext` | SecurityContext.`createMemberLoginContext(Credentials credentials)` Creates member `LoginContext`.
    `void` | SecurityContext.`interceptAfter(Credentials credentials, String serviceName, String objectName, String methodName)` intercepts a request after process if any `SecurityInterceptor` configured Any exception thrown during interception will be ignored
    `void` | SecurityContext.`interceptBefore(Credentials credentials, String serviceName, String objectName, String methodName, Object[] parameters)` intercepts a request before process if any `SecurityInterceptor` configured

Copyright © 2019. All rights reserved.