public class ClientSecurityConfig extends Object
Credentials.getPrincipal()
,
SecurityInterceptor
Constructor and Description |
---|
ClientSecurityConfig() |
ClientSecurityConfig(ClientSecurityConfig securityConfig) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Credentials |
getCredentials() |
String |
getCredentialsClassname() |
CredentialsFactoryConfig |
getCredentialsFactoryConfig() |
int |
hashCode() |
ClientSecurityConfig |
setCredentials(Credentials credentials) |
ClientSecurityConfig |
setCredentialsClassname(String credentialsClassname)
Credentials class will be instantiated from class name when setCredentialsFactoryConfig and setCredentials
are not used.
|
ClientSecurityConfig |
setCredentialsFactoryConfig(CredentialsFactoryConfig credentialsFactoryConfig)
Credentials Factory Config allows user to pass custom properties and use group config when instantiating
a credentials object.
|
public ClientSecurityConfig()
public ClientSecurityConfig(ClientSecurityConfig securityConfig)
public Credentials getCredentials()
public ClientSecurityConfig setCredentials(Credentials credentials)
credentials
- that will be used whenClientSecurityConfig
for chainingpublic String getCredentialsClassname()
public ClientSecurityConfig setCredentialsClassname(String credentialsClassname)
credentialsClassname
- class name for credentialsClientSecurityConfig
for chainingpublic CredentialsFactoryConfig getCredentialsFactoryConfig()
public ClientSecurityConfig setCredentialsFactoryConfig(CredentialsFactoryConfig credentialsFactoryConfig)
credentialsFactoryConfig
- the config that will be used to create credentials factoryClientSecurityConfig
for chainingCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.