Class ManagementCenterConfig

    • Constructor Detail

      • ManagementCenterConfig

        public ManagementCenterConfig()
    • Method Detail

      • setScriptingEnabled

        public ManagementCenterConfig setScriptingEnabled​(boolean scriptingEnabled)
        Enables/disables scripting on the member. Management center allows to send a script for execution to a member. The script can access the underlying system Hazelcast member is running on with permissions of user running the member. Disabling scripting improves the member security.

        Default value for this config element is false.

        Parameters:
        scriptingEnabled - true to allow scripting on the member, false to disallow
        Returns:
        this management center config instance
        Since:
        3.12
      • isScriptingEnabled

        public boolean isScriptingEnabled()
        Returns if scripting is allowed (true) or disallowed (false).
      • setConsoleEnabled

        public ManagementCenterConfig setConsoleEnabled​(boolean consoleEnabled)
        Enables/disables console commands execution on the member. Management center allows to send a console command for execution to a member. The console command can access the underlying system Hazelcast member is running and bypasses configured client permissions. Disabling console commands execution improves the member security.

        Default value for this config element is false.

        Parameters:
        consoleEnabled - true to allow console commands on the member, false to disallow
        Returns:
        this management center config instance
        Since:
        5.1
      • isConsoleEnabled

        public boolean isConsoleEnabled()
        Returns if executing console commands is allowed (true) or disallowed (false).
      • setDataAccessEnabled

        public ManagementCenterConfig setDataAccessEnabled​(boolean dataAccessEnabled)
        Enables/disables access to contents of Hazelcast data structures (for instance map entries) for Management Center. Management Center can't access the data if at least one member has the data access disabled.

        Default value for this config element is true.

        Parameters:
        dataAccessEnabled - true to allow data access for Management Center, false to disallow
        Returns:
        this management center config instance
        Since:
        5.1
      • isDataAccessEnabled

        public boolean isDataAccessEnabled()
        Returns if Management Center is allowed to access contents of Hazelcast data structures (for instance map entries) (true) or disallowed (false).
      • setTrustedInterfaces

        public ManagementCenterConfig setTrustedInterfaces​(java.util.Set<java.lang.String> interfaces)
        Sets the trusted interfaces.

        The interface is an IP address where the last octet can be a wildcard '*' or a range '10-20'.

        Specified by:
        setTrustedInterfaces in interface TrustedInterfacesConfigurable<ManagementCenterConfig>
        Parameters:
        interfaces - the new trusted interfaces
        Returns:
        the updated MulticastConfig
        See Also:
        if interfaces is
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object