Skip to content

Latest commit

 

History

History

admin-tools-jminix

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

The Jminix integration Plugin

Since 1.1.6: Complete rebuild Javascript JMX-Tree Browser working with CSRF

Preview image

Introduced with

  • admin-tools-core:1.0.0

Requirements, Dependencies

<dependency>
	<groupId>de.chandre.admin-tools</groupId>
	<artifactId>admin-tools-core</artifactId>
	<version>1.1.7.3</version>
</dependency>
<dependency>
	<groupId>de.chandre.admin-tools</groupId>
	<artifactId>admin-tools-jminix</artifactId>
	<version>1.1.7.3</version>
</dependency>

Configurations

before 1.1.6

If spring security is enabled and you want to use the change functionality of JMiniX you have to disable CSRF. Furthermore you have to set the frame options, because.

@Override
protected void configure(HttpSecurity http) throws Exception {
	http
		// allow services without CSRF token
		.csrf().ignoringAntMatchers("/jmx/**").and()
		//set frameOptions to sameOrigin
		.headers().frameOptions().sameOrigin();
}

since 1.1.6

Completely rebuild functionality of JMX Browser.

CSRF should be enabled with enabled Spring-Security. There also no need to configure frameOptions anymore.

The following properties are available:

Following the default values are shown.

#since 1.0.3
# to deactivate the admin component
adminTool.jminix.enabled=true

# relative path to Jminix
adminTool.jminix.path=/jmx/

#since 1.0.1
# for own implementation or requires admin-tools-core-security
#semi-colon separated list of Spring Security roles like ROLE_ANONYMOUS;ROLE_ADMIN
admintool.jminix.securityRoles=

#since 1.0.1
# integer value. used by default comparator to order components
admintool.jminix.componentPosition=

#since 1.1.6
# string value. used version of mustache js (only useful to change if a CDN is used)
admintool.jmx.mustacheVersion=2.3.0

#since 1.1.6
# string value. used version of jsTree (only useful to change if a CDN is used)
admintool.jmx.jsTreeVersion=3.3.4

#since 1.1.6
# boolean. used by default comparator to order components
adminTool.jmx.updateAllowed=true