Skip to content

Latest commit

 

History

History

4-accesscontrol-ee

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Access control for Axon Server EE

In this cluster a few new settings have been applied:

  • axoniq.axonserver.accesscontrol.enabled has been set to true, enabling access control,
  • axoniq.axonserver.accesscontrol.internal-token has been set to a random UUID, "cf8d5032-4a43-491c-9fbf-f28247f63faf". Ok, not too random actually, it is the same as the token for SE. You won't reuse it in production, right?
  • logging.config has been set to "file:logback-spring.xml", which forces the logging system to read the supplied logfile configuration.

The logging configuration in logback-spring.xml will cause the creation of two log files, one "normal" logfile named "axonserver.log", and a second one named "axonserver-AUDIT.log" for the audit log.

As with "First Up EE", start node-1 with:

$ ./startup.sh node-1
$

You can stop a node with shutdown.sh and clean up with cleanup.sh.

NOTE When you want to add the first user, change to node-1's directory to let the CLI pick up the system token, and make sure to run it with java -jar so the current working directory isn't changed to the location of the JAR file.