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 |
---|---|
ClientConfig |
ClientConfig.setCredentials(Credentials credentials)
Shortcut for
getSecurityConfig().setCredentials() |
ClientSecurityConfig |
ClientSecurityConfig.setCredentials(Credentials credentials) |
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 |
PasswordCredentials
Credentials type for name/password representation. |
interface |
TokenCredentials
Credentials type for custom authentication (token based). |
Modifier and Type | Class and Description |
---|---|
class |
SimpleTokenCredentials
Simple implementation of
Credentials using a raw byte array token. |
class |
UsernamePasswordCredentials
Simple implementation of
PasswordCredentials using
name and password as security attributes. |
Modifier and Type | Method and Description |
---|---|
Credentials |
ICredentialsFactory.newCredentials()
Creates new
Credentials object. |
default Credentials |
ICredentialsFactory.newCredentials(Address address)
Creates new
Credentials object for given target Address . |
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
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 © 2022 Hazelcast, Inc.. All rights reserved.