Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space IDS and version 8.2

Table of Contents
printablefalse

user.username.minimum.length

This property defines the minimum length for a username.

...

Code Block
languagetext
user.username.minimum.length = 4

user.username.pattern.N

These properties define username check patterns. A username must match all the defined patterns. The property name begins with user.username.pattern. and ends with the pattern index number. The pattern format follows the Java regular expression syntax. You can learn more about it at the java.util.regex.Pattern API documentation. The actual matching is done against the whole username string and ".*" is appended to the pattern as both prefix and postfix.

...

In the example above, the username must contain some character from the range a-z or A-Z and also @-character. So, a username of "admin@" would be valid, but "admin" not, because it doesn't contain @-character.

user.username.characters

This property defines those characters that can be used in the username. All the characters in the username must match the given regular expression. The difference to the user.username.pattern.N property is that the matching is done character by character, not to the whole username string. The pattern format follows the Java regular expression syntax. You can learn more about it at the java.util.regex.Pattern API documentation.

...