Merge branch 'refactor/maven' into feature/mirror2
@@ -76,7 +76,7 @@
|
|||||||
<artifactId>app-framework</artifactId>
|
<artifactId>app-framework</artifactId>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
<scope>system</scope>
|
<scope>system</scope>
|
||||||
<systemPath>${project.basedir}/../lib/app-framework.jar</systemPath>
|
<systemPath>${project.basedir}/../lib/app-framework-1.0.jar</systemPath>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.diylc.local</groupId>
|
<groupId>org.diylc.local</groupId>
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ public enum IconLoader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Icon getIcon() {
|
public Icon getIcon() {
|
||||||
java.net.URL imgURL = getClass().getResource("/images/" + name);
|
java.net.URL imgURL = getClass().getResource("/diylc-core-images/" + name);
|
||||||
if (imgURL != null) {
|
if (imgURL != null) {
|
||||||
return new ImageIcon(imgURL, name);
|
return new ImageIcon(imgURL, name);
|
||||||
} else {
|
} else {
|
||||||
@@ -71,7 +71,7 @@ public enum IconLoader {
|
|||||||
public Image getImage() {
|
public Image getImage() {
|
||||||
BufferedImage img = null;
|
BufferedImage img = null;
|
||||||
try {
|
try {
|
||||||
img = ImageIO.read(getClass().getResourceAsStream("/images/" + name));
|
img = ImageIO.read(getClass().getResourceAsStream("/diylc-core-images/" + name));
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
Logger.getLogger(IconLoader.class).error("Couldn't find file: " + name);
|
Logger.getLogger(IconLoader.class).error("Couldn't find file: " + name);
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 875 B After Width: | Height: | Size: 875 B |
|
Before Width: | Height: | Size: 729 B After Width: | Height: | Size: 729 B |
|
Before Width: | Height: | Size: 749 B After Width: | Height: | Size: 749 B |
|
Before Width: | Height: | Size: 736 B After Width: | Height: | Size: 736 B |
|
Before Width: | Height: | Size: 707 B After Width: | Height: | Size: 707 B |
|
Before Width: | Height: | Size: 714 B After Width: | Height: | Size: 714 B |
|
Before Width: | Height: | Size: 993 B After Width: | Height: | Size: 993 B |
|
Before Width: | Height: | Size: 537 B After Width: | Height: | Size: 537 B |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 863 B After Width: | Height: | Size: 863 B |
|
Before Width: | Height: | Size: 850 B After Width: | Height: | Size: 850 B |
|
Before Width: | Height: | Size: 708 B After Width: | Height: | Size: 708 B |
|
Before Width: | Height: | Size: 960 B After Width: | Height: | Size: 960 B |
|
Before Width: | Height: | Size: 901 B After Width: | Height: | Size: 901 B |
|
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 728 B |
|
Before Width: | Height: | Size: 595 B After Width: | Height: | Size: 595 B |
|
Before Width: | Height: | Size: 781 B After Width: | Height: | Size: 781 B |
|
Before Width: | Height: | Size: 914 B After Width: | Height: | Size: 914 B |
|
Before Width: | Height: | Size: 876 B After Width: | Height: | Size: 876 B |
|
Before Width: | Height: | Size: 853 B After Width: | Height: | Size: 853 B |
|
Before Width: | Height: | Size: 596 B After Width: | Height: | Size: 596 B |
|
Before Width: | Height: | Size: 765 B After Width: | Height: | Size: 765 B |
|
Before Width: | Height: | Size: 696 B After Width: | Height: | Size: 696 B |
|
Before Width: | Height: | Size: 597 B After Width: | Height: | Size: 597 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 845 B After Width: | Height: | Size: 845 B |
|
Before Width: | Height: | Size: 928 B After Width: | Height: | Size: 928 B |
|
Before Width: | Height: | Size: 697 B After Width: | Height: | Size: 697 B |
|
Before Width: | Height: | Size: 771 B After Width: | Height: | Size: 771 B |
|
Before Width: | Height: | Size: 892 B After Width: | Height: | Size: 892 B |
|
Before Width: | Height: | Size: 751 B After Width: | Height: | Size: 751 B |
|
Before Width: | Height: | Size: 834 B After Width: | Height: | Size: 834 B |
|
Before Width: | Height: | Size: 857 B After Width: | Height: | Size: 857 B |
|
Before Width: | Height: | Size: 990 B After Width: | Height: | Size: 990 B |
|
Before Width: | Height: | Size: 842 B After Width: | Height: | Size: 842 B |
|
Before Width: | Height: | Size: 910 B After Width: | Height: | Size: 910 B |
|
Before Width: | Height: | Size: 875 B After Width: | Height: | Size: 875 B |
|
Before Width: | Height: | Size: 694 B After Width: | Height: | Size: 694 B |
|
Before Width: | Height: | Size: 773 B After Width: | Height: | Size: 773 B |
|
Before Width: | Height: | Size: 535 B After Width: | Height: | Size: 535 B |
|
Before Width: | Height: | Size: 1004 B After Width: | Height: | Size: 1004 B |
|
Before Width: | Height: | Size: 995 B After Width: | Height: | Size: 995 B |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 656 B |
|
Before Width: | Height: | Size: 675 B After Width: | Height: | Size: 675 B |
|
Before Width: | Height: | Size: 708 B After Width: | Height: | Size: 708 B |
|
Before Width: | Height: | Size: 771 B After Width: | Height: | Size: 771 B |
|
Before Width: | Height: | Size: 832 B After Width: | Height: | Size: 832 B |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 898 B After Width: | Height: | Size: 898 B |
|
Before Width: | Height: | Size: 852 B After Width: | Height: | Size: 852 B |
|
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
|
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 728 B |
|
Before Width: | Height: | Size: 789 B After Width: | Height: | Size: 789 B |
|
Before Width: | Height: | Size: 785 B After Width: | Height: | Size: 785 B |
|
Before Width: | Height: | Size: 833 B After Width: | Height: | Size: 833 B |
|
Before Width: | Height: | Size: 798 B After Width: | Height: | Size: 798 B |
|
Before Width: | Height: | Size: 733 B After Width: | Height: | Size: 733 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 747 B After Width: | Height: | Size: 747 B |
|
Before Width: | Height: | Size: 709 B After Width: | Height: | Size: 709 B |
|
Before Width: | Height: | Size: 816 B After Width: | Height: | Size: 816 B |
|
Before Width: | Height: | Size: 783 B After Width: | Height: | Size: 783 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 922 B After Width: | Height: | Size: 922 B |
|
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 728 B |
|
Before Width: | Height: | Size: 838 B After Width: | Height: | Size: 838 B |
|
Before Width: | Height: | Size: 835 B After Width: | Height: | Size: 835 B |
|
Before Width: | Height: | Size: 895 B After Width: | Height: | Size: 895 B |
|
Before Width: | Height: | Size: 947 B After Width: | Height: | Size: 947 B |
|
Before Width: | Height: | Size: 766 B After Width: | Height: | Size: 766 B |
|
Before Width: | Height: | Size: 482 B After Width: | Height: | Size: 482 B |
|
Before Width: | Height: | Size: 376 B After Width: | Height: | Size: 376 B |
|
Before Width: | Height: | Size: 550 B After Width: | Height: | Size: 550 B |
|
Before Width: | Height: | Size: 826 B After Width: | Height: | Size: 826 B |
|
Before Width: | Height: | Size: 388 B After Width: | Height: | Size: 388 B |
|
Before Width: | Height: | Size: 879 B After Width: | Height: | Size: 879 B |
|
Before Width: | Height: | Size: 883 B After Width: | Height: | Size: 883 B |
|
Before Width: | Height: | Size: 857 B After Width: | Height: | Size: 857 B |
|
Before Width: | Height: | Size: 844 B After Width: | Height: | Size: 844 B |
|
Before Width: | Height: | Size: 816 B After Width: | Height: | Size: 816 B |
|
Before Width: | Height: | Size: 541 B After Width: | Height: | Size: 541 B |
|
Before Width: | Height: | Size: 775 B After Width: | Height: | Size: 775 B |
|
Before Width: | Height: | Size: 858 B After Width: | Height: | Size: 858 B |
|
Before Width: | Height: | Size: 847 B After Width: | Height: | Size: 847 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
@@ -65,7 +65,7 @@
|
|||||||
<artifactId>app-framework</artifactId>
|
<artifactId>app-framework</artifactId>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
<scope>system</scope>
|
<scope>system</scope>
|
||||||
<systemPath>${project.basedir}/../lib/app-framework.jar</systemPath>
|
<systemPath>${project.basedir}/../lib/app-framework-1.0.jar</systemPath>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.diylc.local</groupId>
|
<groupId>org.diylc.local</groupId>
|
||||||
|
|||||||
@@ -0,0 +1,63 @@
|
|||||||
|
# Notices for Eclipse Temurin
|
||||||
|
|
||||||
|
This content is produced and maintained by the Eclipse Temurin project.
|
||||||
|
|
||||||
|
* Project home: https://projects.eclipse.org/projects/adoptium.temurin
|
||||||
|
|
||||||
|
## Trademarks
|
||||||
|
|
||||||
|
Eclipse Temurin is a trademark of the Eclipse Foundation. Eclipse, and the
|
||||||
|
Eclipse Logo are registered trademarks of the Eclipse Foundation.
|
||||||
|
|
||||||
|
Java and all Java-based trademarks are trademarks of Oracle Corporation in
|
||||||
|
the United States, other countries, or both.
|
||||||
|
|
||||||
|
## Copyright
|
||||||
|
|
||||||
|
All content is the property of the respective authors or their employers.
|
||||||
|
For more information regarding authorship of content, please consult the
|
||||||
|
listed source code repository logs.
|
||||||
|
|
||||||
|
## Declared Project Licenses
|
||||||
|
|
||||||
|
This program and the accompanying materials are made available under the terms
|
||||||
|
of the GNU General Public License, version 2, with the Classpath Exception.
|
||||||
|
|
||||||
|
Additional information relating to the program and accompanying materials
|
||||||
|
license and usage is available as follows.
|
||||||
|
* For Eclipse Temurin version 8 see the LICENSE and ASSEMBLY_EXCEPTION files
|
||||||
|
in the top level directory of the installation.
|
||||||
|
* For Eclipse Temurin version 9 or later see the files under the legal/
|
||||||
|
directory in the top level directory of the installation.
|
||||||
|
|
||||||
|
SPDX-License-Identifier: GPL-2.0 WITH Classpath-exception-2.0
|
||||||
|
|
||||||
|
## Source Code
|
||||||
|
|
||||||
|
The project maintains the following source code repositories which may be
|
||||||
|
relevant to this content:
|
||||||
|
|
||||||
|
* https://github.com/adoptium/temurin-build
|
||||||
|
* https://github.com/adoptium/jdk
|
||||||
|
* https://github.com/adoptium/jdk8u
|
||||||
|
* https://github.com/adoptium/jdk11u
|
||||||
|
* https://github.com/adoptium/jdk17u
|
||||||
|
* https://github.com/adoptium/jdk20
|
||||||
|
* and so on
|
||||||
|
|
||||||
|
## Third-party Content
|
||||||
|
|
||||||
|
This program and accompanying materials contains third-party content.
|
||||||
|
* For Eclipse Temurin version 8 see the THIRD_PARTY_LICENSE file in the
|
||||||
|
top level directory of the installation.
|
||||||
|
* For Eclipse Temurin version 9 or later see the files under the legal/
|
||||||
|
directory in the top level directory of the installation.
|
||||||
|
|
||||||
|
## Cryptography
|
||||||
|
|
||||||
|
Content may contain encryption software. The country in which you are currently
|
||||||
|
may have restrictions on the import, possession, and use, and/or re-export to
|
||||||
|
another country, of encryption software. BEFORE using any encryption software,
|
||||||
|
please check the country's laws, regulations and policies concerning the import,
|
||||||
|
possession, or use, and re-export of encryption software, to see if this is
|
||||||
|
permitted.
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
############################################################
|
||||||
|
# Default Logging Configuration File
|
||||||
|
#
|
||||||
|
# You can use a different file by specifying a filename
|
||||||
|
# with the java.util.logging.config.file system property.
|
||||||
|
# For example, java -Djava.util.logging.config.file=myfile
|
||||||
|
############################################################
|
||||||
|
|
||||||
|
############################################################
|
||||||
|
# Global properties
|
||||||
|
############################################################
|
||||||
|
|
||||||
|
# "handlers" specifies a comma-separated list of log Handler
|
||||||
|
# classes. These handlers will be installed during VM startup.
|
||||||
|
# Note that these classes must be on the system classpath.
|
||||||
|
# By default we only configure a ConsoleHandler, which will only
|
||||||
|
# show messages at the INFO and above levels.
|
||||||
|
handlers= java.util.logging.ConsoleHandler
|
||||||
|
|
||||||
|
# To also add the FileHandler, use the following line instead.
|
||||||
|
#handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
|
||||||
|
|
||||||
|
# Default global logging level.
|
||||||
|
# This specifies which kinds of events are logged across
|
||||||
|
# all loggers. For any given facility this global level
|
||||||
|
# can be overridden by a facility-specific level
|
||||||
|
# Note that the ConsoleHandler also has a separate level
|
||||||
|
# setting to limit messages printed to the console.
|
||||||
|
.level= INFO
|
||||||
|
|
||||||
|
############################################################
|
||||||
|
# Handler specific properties.
|
||||||
|
# Describes specific configuration info for Handlers.
|
||||||
|
############################################################
|
||||||
|
|
||||||
|
# default file output is in user's home directory.
|
||||||
|
java.util.logging.FileHandler.pattern = %h/java%u.log
|
||||||
|
java.util.logging.FileHandler.limit = 50000
|
||||||
|
java.util.logging.FileHandler.count = 1
|
||||||
|
# Default number of locks FileHandler can obtain synchronously.
|
||||||
|
# This specifies maximum number of attempts to obtain lock file by FileHandler
|
||||||
|
# implemented by incrementing the unique field %u as per FileHandler API documentation.
|
||||||
|
java.util.logging.FileHandler.maxLocks = 100
|
||||||
|
java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
|
||||||
|
|
||||||
|
# Limit the messages that are printed on the console to INFO and above.
|
||||||
|
java.util.logging.ConsoleHandler.level = INFO
|
||||||
|
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
|
||||||
|
|
||||||
|
# Example to customize the SimpleFormatter output format
|
||||||
|
# to print one-line log message like this:
|
||||||
|
# <level>: <log message> [<date/time>]
|
||||||
|
#
|
||||||
|
# java.util.logging.SimpleFormatter.format=%4$s: %5$s [%1$tc]%n
|
||||||
|
|
||||||
|
############################################################
|
||||||
|
# Facility-specific properties.
|
||||||
|
# Provides extra control for each logger.
|
||||||
|
############################################################
|
||||||
|
|
||||||
|
# For example, set the com.xyz.foo logger to only log SEVERE
|
||||||
|
# messages:
|
||||||
|
# com.xyz.foo.level = SEVERE
|
||||||
@@ -0,0 +1,79 @@
|
|||||||
|
######################################################################
|
||||||
|
# Default Access Control File for Remote JMX(TM) Monitoring
|
||||||
|
######################################################################
|
||||||
|
#
|
||||||
|
# Access control file for Remote JMX API access to monitoring.
|
||||||
|
# This file defines the allowed access for different roles. The
|
||||||
|
# password file (jmxremote.password by default) defines the roles and their
|
||||||
|
# passwords. To be functional, a role must have an entry in
|
||||||
|
# both the password and the access files.
|
||||||
|
#
|
||||||
|
# The default location of this file is $JRE/conf/management/jmxremote.access
|
||||||
|
# You can specify an alternate location by specifying a property in
|
||||||
|
# the management config file $JRE/conf/management/management.properties
|
||||||
|
# (See that file for details)
|
||||||
|
#
|
||||||
|
# The file format for password and access files is syntactically the same
|
||||||
|
# as the Properties file format. The syntax is described in the Javadoc
|
||||||
|
# for java.util.Properties.load.
|
||||||
|
# A typical access file has multiple lines, where each line is blank,
|
||||||
|
# a comment (like this one), or an access control entry.
|
||||||
|
#
|
||||||
|
# An access control entry consists of a role name, and an
|
||||||
|
# associated access level. The role name is any string that does not
|
||||||
|
# itself contain spaces or tabs. It corresponds to an entry in the
|
||||||
|
# password file (jmxremote.password). The access level is one of the
|
||||||
|
# following:
|
||||||
|
# "readonly" grants access to read attributes of MBeans.
|
||||||
|
# For monitoring, this means that a remote client in this
|
||||||
|
# role can read measurements but cannot perform any action
|
||||||
|
# that changes the environment of the running program.
|
||||||
|
# "readwrite" grants access to read and write attributes of MBeans,
|
||||||
|
# to invoke operations on them, and optionally
|
||||||
|
# to create or remove them. This access should be granted
|
||||||
|
# only to trusted clients, since they can potentially
|
||||||
|
# interfere with the smooth operation of a running program.
|
||||||
|
#
|
||||||
|
# The "readwrite" access level can optionally be followed by the "create" and/or
|
||||||
|
# "unregister" keywords. The "unregister" keyword grants access to unregister
|
||||||
|
# (delete) MBeans. The "create" keyword grants access to create MBeans of a
|
||||||
|
# particular class or of any class matching a particular pattern. Access
|
||||||
|
# should only be granted to create MBeans of known and trusted classes.
|
||||||
|
#
|
||||||
|
# For example, the following entry would grant readwrite access
|
||||||
|
# to "controlRole", as well as access to create MBeans of the class
|
||||||
|
# javax.management.monitor.CounterMonitor and to unregister any MBean:
|
||||||
|
# controlRole readwrite \
|
||||||
|
# create javax.management.monitor.CounterMonitorMBean \
|
||||||
|
# unregister
|
||||||
|
# or equivalently:
|
||||||
|
# controlRole readwrite unregister create javax.management.monitor.CounterMBean
|
||||||
|
#
|
||||||
|
# The following entry would grant readwrite access as well as access to create
|
||||||
|
# MBeans of any class in the packages javax.management.monitor and
|
||||||
|
# javax.management.timer:
|
||||||
|
# controlRole readwrite \
|
||||||
|
# create javax.management.monitor.*,javax.management.timer.* \
|
||||||
|
# unregister
|
||||||
|
#
|
||||||
|
# The \ character is defined in the Properties file syntax to allow continuation
|
||||||
|
# lines as shown here. A * in a class pattern matches a sequence of characters
|
||||||
|
# other than dot (.), so javax.management.monitor.* matches
|
||||||
|
# javax.management.monitor.CounterMonitor but not
|
||||||
|
# javax.management.monitor.foo.Bar.
|
||||||
|
#
|
||||||
|
# A given role should have at most one entry in this file. If a role
|
||||||
|
# has no entry, it has no access.
|
||||||
|
# If multiple entries are found for the same role name, then the last
|
||||||
|
# access entry is used.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Default access control entries:
|
||||||
|
# o The "monitorRole" role has readonly access.
|
||||||
|
# o The "controlRole" role has readwrite access and can create the standard
|
||||||
|
# Timer and Monitor MBeans defined by the JMX API.
|
||||||
|
|
||||||
|
monitorRole readonly
|
||||||
|
controlRole readwrite \
|
||||||
|
create javax.management.monitor.*,javax.management.timer.* \
|
||||||
|
unregister
|
||||||
@@ -0,0 +1,115 @@
|
|||||||
|
# ----------------------------------------------------------------------
|
||||||
|
# Template for jmxremote.password
|
||||||
|
#
|
||||||
|
# o Copy this template to jmxremote.password
|
||||||
|
# o Set the user/password entries in jmxremote.password
|
||||||
|
# o Change the permission of jmxremote.password to be accessible
|
||||||
|
# only by the owner.
|
||||||
|
# o The jmxremote.passwords file will be re-written by the server
|
||||||
|
# to replace all plain text passwords with hashed passwords when
|
||||||
|
# the file is read by the server.
|
||||||
|
#
|
||||||
|
|
||||||
|
##############################################################
|
||||||
|
# Password File for Remote JMX Monitoring
|
||||||
|
##############################################################
|
||||||
|
#
|
||||||
|
# Password file for Remote JMX API access to monitoring. This
|
||||||
|
# file defines the different roles and their passwords. The access
|
||||||
|
# control file (jmxremote.access by default) defines the allowed
|
||||||
|
# access for each role. To be functional, a role must have an entry
|
||||||
|
# in both the password and the access files.
|
||||||
|
#
|
||||||
|
# Default location of this file is $JRE/conf/management/jmxremote.password
|
||||||
|
# You can specify an alternate location by specifying a property in
|
||||||
|
# the management config file $JRE/conf/management/management.properties
|
||||||
|
# or by specifying a system property (See that file for details).
|
||||||
|
|
||||||
|
##############################################################
|
||||||
|
# File format of the jmxremote.password file
|
||||||
|
##############################################################
|
||||||
|
#
|
||||||
|
# The file contains multiple lines where each line is blank,
|
||||||
|
# a comment (like this one), or a password entry.
|
||||||
|
#
|
||||||
|
# password entry follows the below syntax
|
||||||
|
# role_name W [clearPassword|hashedPassword]
|
||||||
|
#
|
||||||
|
# role_name is any string that does not itself contain spaces or tabs.
|
||||||
|
# W = spaces or tabs
|
||||||
|
#
|
||||||
|
# Passwords can be specified via clear text or via a hash. Clear text password
|
||||||
|
# is any string that does not contain spaces or tabs. Hashed passwords must
|
||||||
|
# follow the below format.
|
||||||
|
# hashedPassword = base64_encoded_64_byte_salt W base64_encoded_hash W hash_algorithm
|
||||||
|
# where,
|
||||||
|
# base64_encoded_64_byte_salt = 64 byte random salt
|
||||||
|
# base64_encoded_hash = Hash_algorithm(password + salt)
|
||||||
|
# W = spaces or tabs
|
||||||
|
# hash_algorithm = Algorithm string specified using the format below
|
||||||
|
# https://docs.oracle.com/javase/9/docs/specs/security/standard-names.html#messagedigest-algorithms
|
||||||
|
# This is an optional field. If not specified, SHA3-512 will be assumed.
|
||||||
|
#
|
||||||
|
# If passwords are in clear, they will be overwritten by their hash if all of
|
||||||
|
# the below criteria are met.
|
||||||
|
# * com.sun.management.jmxremote.password.toHashes property is set to true in
|
||||||
|
# management.properties file
|
||||||
|
# * the password file is writable
|
||||||
|
# * the system security policy allows writing into the password file, if a
|
||||||
|
# security manager is configured
|
||||||
|
#
|
||||||
|
# In order to change the password for a role, replace the hashed password entry
|
||||||
|
# with a new clear text password or a new hashed password. If the new password
|
||||||
|
# is in clear, it will be replaced with its hash when a new login attempt is made.
|
||||||
|
#
|
||||||
|
# A given role should have at most one entry in this file. If a role
|
||||||
|
# has no entry, it has no access.
|
||||||
|
# If multiple entries are found for the same role name, then the last one
|
||||||
|
# is used.
|
||||||
|
#
|
||||||
|
# A user generated hashed password file can also be used instead of clear-text
|
||||||
|
# password file. If generated by the user, hashed passwords must follow the
|
||||||
|
# format specified above.
|
||||||
|
#
|
||||||
|
# Caution: It is recommended not to edit the password file while the
|
||||||
|
# agent is running, as edits could be lost if a client connection triggers the
|
||||||
|
# hashing of the password file at the same time that the file is externally modified.
|
||||||
|
# The integrity of the file is guaranteed, but any external edits made to the
|
||||||
|
# file during the short period between the time that the agent reads the file
|
||||||
|
# and the time that it writes it back might get lost
|
||||||
|
|
||||||
|
##############################################################
|
||||||
|
# File permissions of the jmxremote.password file
|
||||||
|
##############################################################
|
||||||
|
# This file must be made accessible by ONLY the owner,
|
||||||
|
# otherwise the program will exit with an error.
|
||||||
|
#
|
||||||
|
# In a typical installation, this file can be accessed by anybody on the
|
||||||
|
# local machine, and possibly by people on other machines.
|
||||||
|
# For security, you should either restrict the access to this file except for owner,
|
||||||
|
# or specify another, less accessible file in the management config file
|
||||||
|
# as described above.
|
||||||
|
#
|
||||||
|
# In order to prevent inadverent edits to the password file in the
|
||||||
|
# production environment, it is recommended to deploy a read-only
|
||||||
|
# hashed password file. The hashed entries for clear passwords can be generated
|
||||||
|
# in advance by running the JMX agent.
|
||||||
|
#
|
||||||
|
|
||||||
|
##############################################################
|
||||||
|
# Sample of the jmxremote.password file
|
||||||
|
##############################################################
|
||||||
|
# Following are two commented-out entries. The "monitorRole" role has
|
||||||
|
# password "QED". The "controlRole" role has password "R&D". This is an example
|
||||||
|
# of specifying passwords in the clear
|
||||||
|
#
|
||||||
|
# monitorRole QED
|
||||||
|
# controlRole R&D
|
||||||
|
#
|
||||||
|
# Once a login attempt is made, passwords will be hashed and the file will have
|
||||||
|
# below entries with clear passwords overwritten by their respective
|
||||||
|
# SHA3-512 hash
|
||||||
|
#
|
||||||
|
# monitorRole trilby APzBTt34rV2l+OMbuvbnOQ4si8UZmfRCVbIY1+fAofV5CkQzXS/FDMGteQQk/R3q1wtt104qImzJEA7gCwl6dw== 4EeTdSJ7X6Imu0Mb+dWqIns7a7QPIBoM3NB/XlpMQSPSicE7PnlALVWn2pBY3Q3pGDHyAb32Hd8GUToQbUhAjA== SHA3-512
|
||||||
|
# controlRole roHEJSbRqSSTII4Z4+NOCV2OJaZVQ/dw153Fy2u4ILDP9XiZ426GwzCzc3RtpoqNMwqYIcfdd74xWXSMrWtGaA== w9qDsekgKn0WOVJycDyU0kLBa081zbStcCjUAVEqlfon5Sgx7XHtaodbmzpLegA1jT7Ag36T0zHaEWRHJe2fdA== SHA3-512
|
||||||
|
#
|
||||||
@@ -0,0 +1,304 @@
|
|||||||
|
#####################################################################
|
||||||
|
# Default Configuration File for Java Platform Management
|
||||||
|
#####################################################################
|
||||||
|
#
|
||||||
|
# The Management Configuration file (in java.util.Properties format)
|
||||||
|
# will be read if one of the following system properties is set:
|
||||||
|
# -Dcom.sun.management.jmxremote.port=<port-number>
|
||||||
|
# or -Dcom.sun.management.config.file=<this-file>
|
||||||
|
#
|
||||||
|
# The default Management Configuration file is:
|
||||||
|
#
|
||||||
|
# $JRE/conf/management/management.properties
|
||||||
|
#
|
||||||
|
# Another location for the Management Configuration File can be specified
|
||||||
|
# by the following property on the Java command line:
|
||||||
|
#
|
||||||
|
# -Dcom.sun.management.config.file=<this-file>
|
||||||
|
#
|
||||||
|
# If -Dcom.sun.management.config.file=<this-file> is set, the port
|
||||||
|
# number for the management agent can be specified in the config file
|
||||||
|
# using the following lines:
|
||||||
|
#
|
||||||
|
# ################ Management Agent Port #########################
|
||||||
|
#
|
||||||
|
# For setting the JMX RMI agent port use the following line
|
||||||
|
# com.sun.management.jmxremote.port=<port-number>
|
||||||
|
#
|
||||||
|
# For setting the JMX local server port use the following line
|
||||||
|
# com.sun.management.jmxremote.local.port=<port-number>
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
# Optional Instrumentation
|
||||||
|
#####################################################################
|
||||||
|
#
|
||||||
|
# By default only the basic instrumentation with low overhead is on.
|
||||||
|
# The following properties allow to selectively turn on optional
|
||||||
|
# instrumentation which are off by default and may have some
|
||||||
|
# additional overhead.
|
||||||
|
#
|
||||||
|
# com.sun.management.enableThreadContentionMonitoring
|
||||||
|
#
|
||||||
|
# This option enables thread contention monitoring if the
|
||||||
|
# Java virtual machine supports such instrumentation.
|
||||||
|
# Refer to the specification for the java.lang.management.ThreadMXBean
|
||||||
|
# interface - see isThreadContentionMonitoringSupported() method.
|
||||||
|
#
|
||||||
|
|
||||||
|
# To enable thread contention monitoring, uncomment the following line
|
||||||
|
# com.sun.management.enableThreadContentionMonitoring
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
# RMI Management Properties
|
||||||
|
#####################################################################
|
||||||
|
#
|
||||||
|
# If system property -Dcom.sun.management.jmxremote.port=<port-number>
|
||||||
|
# is set then
|
||||||
|
# - A MBean server is started
|
||||||
|
# - JRE Platform MBeans are registered in the MBean server
|
||||||
|
# - RMI connector is published in a private readonly registry at
|
||||||
|
# specified port using a well known name, "jmxrmi"
|
||||||
|
# - the following properties are read for JMX remote management.
|
||||||
|
#
|
||||||
|
# The configuration can be specified only at startup time.
|
||||||
|
# Later changes to above system property (e.g. via setProperty method),
|
||||||
|
# this config file, the password file, or the access file have no effect to the
|
||||||
|
# running MBean server, the connector, or the registry.
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# ########## RMI connector settings for local management ##########
|
||||||
|
#
|
||||||
|
# com.sun.management.jmxremote.local.only=true|false
|
||||||
|
# Default for this property is true. (Case for true/false ignored)
|
||||||
|
# If this property is specified as true then the local JMX RMI connector
|
||||||
|
# server will only accept connection requests from clients running on
|
||||||
|
# the host where the out-of-the-box JMX management agent is running.
|
||||||
|
# In order to ensure backwards compatibility this property could be
|
||||||
|
# set to false. However, deploying the local management agent in this
|
||||||
|
# way is discouraged because the local JMX RMI connector server will
|
||||||
|
# accept connection requests from any client either local or remote.
|
||||||
|
# For remote management the remote JMX RMI connector server should
|
||||||
|
# be used instead with authentication and SSL/TLS encryption enabled.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For allowing the local management agent accept local
|
||||||
|
# and remote connection requests use the following line
|
||||||
|
# com.sun.management.jmxremote.local.only=false
|
||||||
|
|
||||||
|
#
|
||||||
|
# ###################### RMI SSL #############################
|
||||||
|
#
|
||||||
|
# com.sun.management.jmxremote.ssl=true|false
|
||||||
|
# Default for this property is true. (Case for true/false ignored)
|
||||||
|
# If this property is specified as false then SSL is not used.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For RMI monitoring without SSL use the following line
|
||||||
|
# com.sun.management.jmxremote.ssl=false
|
||||||
|
|
||||||
|
# com.sun.management.jmxremote.ssl.config.file=filepath
|
||||||
|
# Specifies the location of the SSL configuration file. A properties
|
||||||
|
# file can be used to supply the keystore and truststore location and
|
||||||
|
# password settings thus avoiding to pass them as cleartext in the
|
||||||
|
# command-line.
|
||||||
|
#
|
||||||
|
# The current implementation of the out-of-the-box management agent will
|
||||||
|
# look up and use the properties specified below to configure the SSL
|
||||||
|
# keystore and truststore, if present:
|
||||||
|
# javax.net.ssl.keyStore=<keystore-location>
|
||||||
|
# javax.net.ssl.keyStorePassword=<keystore-password>
|
||||||
|
# javax.net.ssl.trustStore=<truststore-location>
|
||||||
|
# javax.net.ssl.trustStorePassword=<truststore-password>
|
||||||
|
# Any other properties in the file will be ignored. This will allow us
|
||||||
|
# to extend the property set in the future if required by the default
|
||||||
|
# SSL implementation.
|
||||||
|
#
|
||||||
|
# If the property "com.sun.management.jmxremote.ssl" is set to false,
|
||||||
|
# then this property is ignored.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For supplying the keystore settings in a file use the following line
|
||||||
|
# com.sun.management.jmxremote.ssl.config.file=filepath
|
||||||
|
|
||||||
|
# com.sun.management.jmxremote.ssl.enabled.cipher.suites=<cipher-suites>
|
||||||
|
# The value of this property is a string that is a comma-separated list
|
||||||
|
# of SSL/TLS cipher suites to enable. This property can be specified in
|
||||||
|
# conjunction with the previous property "com.sun.management.jmxremote.ssl"
|
||||||
|
# in order to control which particular SSL/TLS cipher suites are enabled
|
||||||
|
# for use by accepted connections. If this property is not specified then
|
||||||
|
# the SSL/TLS RMI Server Socket Factory uses the SSL/TLS cipher suites that
|
||||||
|
# are enabled by default.
|
||||||
|
#
|
||||||
|
|
||||||
|
# com.sun.management.jmxremote.ssl.enabled.protocols=<protocol-versions>
|
||||||
|
# The value of this property is a string that is a comma-separated list
|
||||||
|
# of SSL/TLS protocol versions to enable. This property can be specified in
|
||||||
|
# conjunction with the previous property "com.sun.management.jmxremote.ssl"
|
||||||
|
# in order to control which particular SSL/TLS protocol versions are
|
||||||
|
# enabled for use by accepted connections. If this property is not
|
||||||
|
# specified then the SSL/TLS RMI Server Socket Factory uses the SSL/TLS
|
||||||
|
# protocol versions that are enabled by default.
|
||||||
|
#
|
||||||
|
|
||||||
|
# com.sun.management.jmxremote.ssl.need.client.auth=true|false
|
||||||
|
# Default for this property is false. (Case for true/false ignored)
|
||||||
|
# If this property is specified as true in conjunction with the previous
|
||||||
|
# property "com.sun.management.jmxremote.ssl" then the SSL/TLS RMI Server
|
||||||
|
# Socket Factory will require client authentication.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For RMI monitoring with SSL client authentication use the following line
|
||||||
|
# com.sun.management.jmxremote.ssl.need.client.auth=true
|
||||||
|
|
||||||
|
# com.sun.management.jmxremote.registry.ssl=true|false
|
||||||
|
# Default for this property is false. (Case for true/false ignored)
|
||||||
|
# If this property is specified as true then the RMI registry used
|
||||||
|
# to bind the RMIServer remote object is protected with SSL/TLS
|
||||||
|
# RMI Socket Factories that can be configured with the properties:
|
||||||
|
# com.sun.management.jmxremote.ssl.config.file
|
||||||
|
# com.sun.management.jmxremote.ssl.enabled.cipher.suites
|
||||||
|
# com.sun.management.jmxremote.ssl.enabled.protocols
|
||||||
|
# com.sun.management.jmxremote.ssl.need.client.auth
|
||||||
|
# If the two properties below are true at the same time, i.e.
|
||||||
|
# com.sun.management.jmxremote.ssl=true
|
||||||
|
# com.sun.management.jmxremote.registry.ssl=true
|
||||||
|
# then the RMIServer remote object and the RMI registry are
|
||||||
|
# both exported with the same SSL/TLS RMI Socket Factories.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For using an SSL/TLS protected RMI registry use the following line
|
||||||
|
# com.sun.management.jmxremote.registry.ssl=true
|
||||||
|
|
||||||
|
#
|
||||||
|
# ################ RMI User authentication ################
|
||||||
|
#
|
||||||
|
# com.sun.management.jmxremote.authenticate=true|false
|
||||||
|
# Default for this property is true. (Case for true/false ignored)
|
||||||
|
# If this property is specified as false then no authentication is
|
||||||
|
# performed and all users are allowed all access.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For RMI monitoring without any checking use the following line
|
||||||
|
# com.sun.management.jmxremote.authenticate=false
|
||||||
|
|
||||||
|
#
|
||||||
|
# ################ RMI Login configuration ###################
|
||||||
|
#
|
||||||
|
# com.sun.management.jmxremote.login.config=<config-name>
|
||||||
|
# Specifies the name of a JAAS login configuration entry to use when
|
||||||
|
# authenticating users of RMI monitoring.
|
||||||
|
#
|
||||||
|
# Setting this property is optional - the default login configuration
|
||||||
|
# specifies a file-based authentication that uses the password file.
|
||||||
|
#
|
||||||
|
# When using this property to override the default login configuration
|
||||||
|
# then the named configuration entry must be in a file that gets loaded
|
||||||
|
# by JAAS. In addition, the login module(s) specified in the configuration
|
||||||
|
# should use the name and/or password callbacks to acquire the user's
|
||||||
|
# credentials. See the NameCallback and PasswordCallback classes in the
|
||||||
|
# javax.security.auth.callback package for more details.
|
||||||
|
#
|
||||||
|
# If the property "com.sun.management.jmxremote.authenticate" is set to
|
||||||
|
# false, then this property and the password & access files are ignored.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For a non-default login configuration use the following line
|
||||||
|
# com.sun.management.jmxremote.login.config=<config-name>
|
||||||
|
|
||||||
|
#
|
||||||
|
# ################ RMI Password file location ##################
|
||||||
|
#
|
||||||
|
# com.sun.management.jmxremote.password.file=filepath
|
||||||
|
# Specifies location for password file
|
||||||
|
# This is optional - default location is
|
||||||
|
# $JRE/conf/management/jmxremote.password
|
||||||
|
#
|
||||||
|
# If the property "com.sun.management.jmxremote.authenticate" is set to
|
||||||
|
# false, then this property and the password & access files are ignored.
|
||||||
|
# Otherwise the password file must exist and be in the valid format.
|
||||||
|
# If the password file is empty or non-existent then no access is allowed.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For a non-default password file location use the following line
|
||||||
|
# com.sun.management.jmxremote.password.file=filepath
|
||||||
|
|
||||||
|
#
|
||||||
|
# ################# Hash passwords in password file ##############
|
||||||
|
# com.sun.management.jmxremote.password.toHashes = true|false
|
||||||
|
# Default for this property is true.
|
||||||
|
# Specifies if passwords in the password file should be hashed or not.
|
||||||
|
# If this property is true, and if the password file is writable, and if the
|
||||||
|
# system security policy allows writing into the password file,
|
||||||
|
# all the clear passwords in the password file will be replaced by
|
||||||
|
# their SHA3-512 hash when the file is read by the server
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# ################ RMI Access file location #####################
|
||||||
|
#
|
||||||
|
# com.sun.management.jmxremote.access.file=filepath
|
||||||
|
# Specifies location for access file
|
||||||
|
# This is optional - default location is
|
||||||
|
# $JRE/conf/management/jmxremote.access
|
||||||
|
#
|
||||||
|
# If the property "com.sun.management.jmxremote.authenticate" is set to
|
||||||
|
# false, then this property and the password & access files are ignored.
|
||||||
|
# Otherwise, the access file must exist and be in the valid format.
|
||||||
|
# If the access file is empty or non-existent then no access is allowed.
|
||||||
|
#
|
||||||
|
|
||||||
|
# For a non-default password file location use the following line
|
||||||
|
# com.sun.management.jmxremote.access.file=filepath
|
||||||
|
#
|
||||||
|
|
||||||
|
# ################ Management agent listen interface #########################
|
||||||
|
#
|
||||||
|
# com.sun.management.jmxremote.host=<host-or-interface-name>
|
||||||
|
# Specifies the local interface on which the JMX RMI agent will bind.
|
||||||
|
# This is useful when running on machines which have several
|
||||||
|
# interfaces defined. It makes it possible to listen to a specific
|
||||||
|
# subnet accessible through that interface.
|
||||||
|
#
|
||||||
|
# The format of the value for that property is any string accepted
|
||||||
|
# by java.net.InetAddress.getByName(String).
|
||||||
|
#
|
||||||
|
|
||||||
|
# ################ Filter for ObjectInputStream #############################
|
||||||
|
# com.sun.management.jmxremote.serial.filter.pattern=<filter-string>
|
||||||
|
# A filter, if configured, is used by java.io.ObjectInputStream during
|
||||||
|
# deserialization of parameters sent to the JMX default agent to validate the
|
||||||
|
# contents of the stream.
|
||||||
|
# A filter is configured as a sequence of patterns, each pattern is either
|
||||||
|
# matched against the name of a class in the stream or defines a limit.
|
||||||
|
# Patterns are separated by ";" (semicolon).
|
||||||
|
# Whitespace is significant and is considered part of the pattern.
|
||||||
|
#
|
||||||
|
# If a pattern includes a "=", it sets a limit.
|
||||||
|
# If a limit appears more than once the last value is used.
|
||||||
|
# Limits are checked before classes regardless of the order in the sequence of patterns.
|
||||||
|
# If any of the limits are exceeded, the filter status is REJECTED.
|
||||||
|
#
|
||||||
|
# maxdepth=value - the maximum depth of a graph
|
||||||
|
# maxrefs=value - the maximum number of internal references
|
||||||
|
# maxbytes=value - the maximum number of bytes in the input stream
|
||||||
|
# maxarray=value - the maximum array length allowed
|
||||||
|
#
|
||||||
|
# Other patterns, from left to right, match the class or package name as
|
||||||
|
# returned from Class.getName.
|
||||||
|
# If the class is an array type, the class or package to be matched is the element type.
|
||||||
|
# Arrays of any number of dimensions are treated the same as the element type.
|
||||||
|
# For example, a pattern of "!example.Foo", rejects creation of any instance or
|
||||||
|
# array of example.Foo.
|
||||||
|
#
|
||||||
|
# If the pattern starts with "!", the status is REJECTED if the remaining pattern
|
||||||
|
# is matched; otherwise the status is ALLOWED if the pattern matches.
|
||||||
|
# If the pattern contains "/", the non-empty prefix up to the "/" is the module name;
|
||||||
|
# if the module name matches the module name of the class then
|
||||||
|
# the remaining pattern is matched with the class name.
|
||||||
|
# If there is no "/", the module name is not compared.
|
||||||
|
# If the pattern ends with ".**" it matches any class in the package and all subpackages.
|
||||||
|
# If the pattern ends with ".*" it matches any class in the package.
|
||||||
|
# If the pattern ends with "*", it matches any class with the pattern as a prefix.
|
||||||
|
# If the pattern is equal to the class name, it matches.
|
||||||
|
# Otherwise, the status is UNDECIDED.
|
||||||