public class ClientSecurityConfig extends Object
Credentials.getPrincipal()
,
SecurityInterceptor
Constructor and Description |
---|
ClientSecurityConfig() |
Modifier and Type | Method and Description |
---|---|
Credentials |
getCredentials() |
String |
getCredentialsClassname() |
CredentialsFactoryConfig |
getCredentialsFactoryConfig() |
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 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 © 2018 Hazelcast, Inc.. All Rights Reserved.