public class DynamicSecurityConfig extends SecurityConfig
SecurityConfig
wrapper that supports dynamically updating
client permissions.setClientPermissionConfigs(Set)
Constructor and Description |
---|
DynamicSecurityConfig(SecurityConfig staticSecurityConfig,
SecurityService securityService) |
toString
public DynamicSecurityConfig(SecurityConfig staticSecurityConfig, SecurityService securityService)
public SecurityConfig addSecurityInterceptorConfig(SecurityInterceptorConfig interceptorConfig)
addSecurityInterceptorConfig
in class SecurityConfig
public List<SecurityInterceptorConfig> getSecurityInterceptorConfigs()
getSecurityInterceptorConfigs
in class SecurityConfig
public void setSecurityInterceptorConfigs(List<SecurityInterceptorConfig> securityInterceptorConfigs)
setSecurityInterceptorConfigs
in class SecurityConfig
public boolean isEnabled()
isEnabled
in class SecurityConfig
public SecurityConfig setEnabled(boolean enabled)
setEnabled
in class SecurityConfig
public SecurityConfig addMemberLoginModuleConfig(LoginModuleConfig loginModuleConfig)
addMemberLoginModuleConfig
in class SecurityConfig
public SecurityConfig addClientLoginModuleConfig(LoginModuleConfig loginModuleConfig)
addClientLoginModuleConfig
in class SecurityConfig
public SecurityConfig addClientPermissionConfig(PermissionConfig permissionConfig)
addClientPermissionConfig
in class SecurityConfig
public List<LoginModuleConfig> getClientLoginModuleConfigs()
getClientLoginModuleConfigs
in class SecurityConfig
public SecurityConfig setClientLoginModuleConfigs(List<LoginModuleConfig> loginModuleConfigs)
setClientLoginModuleConfigs
in class SecurityConfig
public List<LoginModuleConfig> getMemberLoginModuleConfigs()
getMemberLoginModuleConfigs
in class SecurityConfig
public SecurityConfig setMemberLoginModuleConfigs(List<LoginModuleConfig> memberLoginModuleConfigs)
setMemberLoginModuleConfigs
in class SecurityConfig
public PermissionPolicyConfig getClientPolicyConfig()
getClientPolicyConfig
in class SecurityConfig
public SecurityConfig setClientPolicyConfig(PermissionPolicyConfig policyConfig)
setClientPolicyConfig
in class SecurityConfig
public Set<PermissionConfig> getClientPermissionConfigs()
Set
. You may use this set to create your
client permissions set and pass it setClientPermissionConfigs(Set)
to update client permissions.getClientPermissionConfigs
in class SecurityConfig
public SecurityConfig setClientPermissionConfigs(Set<PermissionConfig> permissions)
setClientPermissionConfigs
in class SecurityConfig
public CredentialsFactoryConfig getMemberCredentialsConfig()
getMemberCredentialsConfig
in class SecurityConfig
public SecurityConfig setMemberCredentialsConfig(CredentialsFactoryConfig credentialsFactoryConfig)
setMemberCredentialsConfig
in class SecurityConfig
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.