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
required
requiredmax. unbounded=
stringRegex 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'
Defines one user property.
</property>
List of new user properties.
</properties>
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>