Administrative user management
This section describes how to set up users and user rights for accessing administrative instruments.
Administrative access to FEJ can be obtained through:
- remote shell
- FIXICC app
The configuration of users and their access rights is performed by using Spring Security.
For details on monitoring and management using a remote shell, refer to FIXEdge Java Administration.
FEJ uses Spring Security for authentication purposes. Security configuration is stored in the fej-security.xml file.
By default, for testing purposes, the FEJ container uses simple, in-memory authentication with the
NoOpPasswordEncoder encoder and plain-text credentials.
For other password encoder options, please check Spring Security 5.0
If you need a more complex authentication solution, please refer to Spring Security documentation.
There are several defined user roles, that can be used :
- FIXICC_ADMIN - access by FIXICC with ALL permissions (defined in
- FIXICC_GUEST - access by FIXICC with ONLY READ permissions (defined in
- SSH_ADMIN - access by remote shell with ALL permissions (defined in
- JMX_ADMIN - access by JMX with ALL permissions (defined in
Users are defined by the external properties file named admin-users.properties.
FEJ also supports authentication against an LDAP server.LDAP authentication
Before getting deep into LDAP authentication, let’s get familiar with some LDAP terms.
Distinguished name, a unique name that is used to find a user on an LDAP server, for example, in the Microsoft Active Directory.
LDAP Bind is an operation in which LDAP clients send bindRequest to an LDAP user, including a username and password. If
LDAP search is an operation that is performed to retrieve the Dn of a user by using some user credentials.
LDAP directory’s top element, like the root of a tree.
Branch in an LDAP tree that can be used as a base for the LDAP search operation.
To activate the authentication of administrative users with LDAP, it needs to replace the authentication-manager bean definition in fej-security.xml file:
See more details about configuration authentication with the LDAP server in Spring Documentation.
Administrative shell configuration
To configure access to the interactive shell, shell configuration properties are used.
Shell configuration properties are defined by the shell.properties file.
SSH server port
Authentication timeout of the SSH server (in milliseconds)
Idle timeout of the SSH server (in milliseconds)
FEJ uses the Java shell called ‘CRaSH’. For more information about configuration properties, please refer to the CRaSH reference documentation.
Administrative JMX configuration
The fixedge.properties file contains settings for defining the JMX port and the URL for accessing the JMX service.
For details, refer to the official Java documentation.
Monitoring and management by using the JMX technology is described at the Management over JMX section.
FIXICC access configuration
For details on FIXICC access configuration, refer to the FIXICC & FEJ Integration User Guide.