userpropertiesfromusername

This configuration is optional when using the plugin AccessManager.

  • Documentation

  • YAML Format

  • XML Format

Fill relevant inputs (blue boxes) and click the blue bars on the left to copy XML configuration snippets.
<userPropertiesFromUserNameConfiguration
<properties
<property
name
required
=
string

Name of the user property.

usernameregex
required
=
string

Regex that will be used to extract the part of the username and used as value for this property. Example: '^.[^_]*' matches username 'fantasiaLand_müller' to 'fantasiaLand'

>
requiredmax. unbounded

Defines one user property.

</property>
>
optional

List of new user properties.

</properties>
>
required

Configuration to extract user properties from username.

</userPropertiesFromUserNameConfiguration>
This is a generated sample file with fake data and all the possible options shown, refer to the Documentation tab for what combinations are valid and what is required or not.
cadenzaconfig:
  settings:
    userpropertiesfromusername:
      properties:
      - name: "text"
        usernameregex: "text"
      - name: "text"
        usernameregex: "text"

Filename: userpropertiesfromusername-config.xml

This is a generated sample file with fake data and all the possible options shown, refer to the Documentation tab for what combinations are valid and what is required or not.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<userPropertiesFromUserNameConfiguration>
  <properties>
    <property name="text" usernameregex="text"/>
    <property name="text" usernameregex="text"/>
  </properties>
</userPropertiesFromUserNameConfiguration>