| Package | Description | 
|---|---|
| com.hazelcast.client.config | Contains classes related to config for com.hazelcast.client | 
| com.hazelcast.config.security | Provides classes for configuring security realms in Hazelcast. | 
| com.hazelcast.security | Provides interfaces/classes for Hazelcast security implementation. | 
| Modifier and Type | Method and Description | 
|---|---|
| ClientSecurityConfig | ClientSecurityConfig. setCredentials(Credentials credentials) | 
| ClientConfig | ClientConfig. setCredentials(Credentials credentials)Shortcut for  getSecurityConfig().setCredentials() | 
| Modifier and Type | Method and Description | 
|---|---|
| Credentials | CredentialsIdentityConfig. getCredentials() | 
| Credentials | StaticCredentialsFactory. newCredentials() | 
| Modifier and Type | Method and Description | 
|---|---|
| RealmConfig | RealmConfig. setCredentials(Credentials credentials) | 
| Constructor and Description | 
|---|
| CredentialsIdentityConfig(Credentials credentials) | 
| StaticCredentialsFactory(Credentials credentials) | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | PasswordCredentialsCredentialstype for name/password representation. | 
| interface  | TokenCredentialsCredentialstype for custom authentication (token based). | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SimpleTokenCredentialsSimple implementation of  Credentialsusing a raw byte array token. | 
| class  | UsernamePasswordCredentialsSimple implementation of  PasswordCredentialsusing
 name and password as security attributes. | 
| Modifier and Type | Method and Description | 
|---|---|
| Credentials | ICredentialsFactory. newCredentials()Creates new  Credentialsobject. | 
| default Credentials | ICredentialsFactory. newCredentials(Address address)Creates new  Credentialsobject for given targetAddress. | 
| 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(String clusterName,
                        Credentials credentials,
                        com.hazelcast.internal.nio.Connection connection)Creates client  LoginContext. | 
| LoginContext | SecurityContext. createMemberLoginContext(String clusterName,
                        Credentials credentials,
                        com.hazelcast.internal.nio.Connection connection)Creates member  LoginContext. | 
| void | SecurityContext. interceptAfter(Credentials credentials,
              String serviceName,
              String objectName,
              String methodName)intercepts a request after process if any  SecurityInterceptorconfigured
 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  SecurityInterceptorconfigured | 
Copyright © 2022 Hazelcast, Inc.. All rights reserved.