Package com.hazelcast.config
Class SecurityConfig
java.lang.Object
com.hazelcast.config.SecurityConfig
Contains configuration for Security
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddClientPermissionConfig(PermissionConfig permissionConfig) addRealmConfig(String realmName, RealmConfig realmConfig) addSecurityInterceptorConfig(SecurityInterceptorConfig interceptorConfig) booleanbooleangetRealmConfig(String realmName) getRealmCredentialsFactory(String realmName) getRealmLoginModuleConfigs(String realmName) inthashCode()booleanbooleanReturnstruewhen grant permissions should take precedence over deny ones.booleanReturns if the given name is a valid realm name.setClientBlockUnmappedActions(boolean clientBlockUnmappedActions) Block or allow actions, submitted as tasks in an Executor from clients and have no permission mappings.setClientPermissionConfigs(Set<PermissionConfig> permissions) setClientPolicyConfig(PermissionPolicyConfig policyConfig) setClientRealm(String clientRealm) setClientRealmConfig(String realmName, RealmConfig realmConfig) setEnabled(boolean enabled) setMemberRealm(String memberRealm) setMemberRealmConfig(String realmName, RealmConfig realmConfig) setOnJoinPermissionOperation(OnJoinPermissionOperationName onJoinPermissionOperation) setPermissionPriorityGrant(boolean permissionPriorityGrant) Sets if grant permissions should take precedence over deny ones.voidsetRealmConfigs(Map<String, RealmConfig> realmConfigs) setSecurityInterceptorConfigs(List<SecurityInterceptorConfig> securityInterceptorConfigs) toString()
-
Constructor Details
-
SecurityConfig
public SecurityConfig()
-
-
Method Details
-
addSecurityInterceptorConfig
-
getSecurityInterceptorConfigs
-
setSecurityInterceptorConfigs
public SecurityConfig setSecurityInterceptorConfigs(List<SecurityInterceptorConfig> securityInterceptorConfigs) -
isEnabled
public boolean isEnabled() -
setEnabled
-
addClientPermissionConfig
-
addRealmConfig
-
getRealmConfig
-
getClientPolicyConfig
-
setClientPolicyConfig
-
getClientPermissionConfigs
-
setClientPermissionConfigs
-
getRealmCredentialsFactory
-
getRealmLoginModuleConfigs
-
getOnJoinPermissionOperation
-
setOnJoinPermissionOperation
public SecurityConfig setOnJoinPermissionOperation(OnJoinPermissionOperationName onJoinPermissionOperation) -
getRealmConfigs
-
setRealmConfigs
-
getMemberRealm
-
setMemberRealm
-
getClientRealm
-
setClientRealm
-
setMemberRealmConfig
-
setClientRealmConfig
-
isRealm
Returns if the given name is a valid realm name.- Parameters:
name- realm name to be checked- Returns:
trueif realm with given name exists,falseotherwise.
-
getClientBlockUnmappedActions
public boolean getClientBlockUnmappedActions()- Returns:
- a boolean flag indicating whether actions, submitted as tasks in an Executor from clients
and have no permission mappings, are blocked or allowed.
Executors:
-
setClientBlockUnmappedActions
Block or allow actions, submitted as tasks in an Executor from clients and have no permission mappings.Executors:
- Parameters:
clientBlockUnmappedActions- True: Blocks all actions that have no permission mapping; False: Allows all actions that have no permission mapping
-
isPermissionPriorityGrant
public boolean isPermissionPriorityGrant()Returnstruewhen grant permissions should take precedence over deny ones. Default value isfalse.- Since:
- 5.4
-
setPermissionPriorityGrant
Sets if grant permissions should take precedence over deny ones.- Returns:
- this instance
- Since:
- 5.4
-
toString
-
hashCode
public int hashCode() -
equals
-