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

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

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

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

    Methods in com.hazelcast.client with parameters of type Credentials
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClientEndpoint.`authenticated(com.hazelcast.client.impl.client.ClientPrincipal principal, Credentials credentials, boolean firstConnection, String clientVersion, long authCorrelationId)`

  - ### 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.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 © 2018. All rights reserved.