the staticuserdataprovider can be used to statically list user data within the config file.
each user must have a unique username attribute as well as a password attribute.
arbitrary attributes can be set on a user element. other sub-components of the login interceptor might use those: for example, the telekomsmstokenprovider uses the sms property as the user's cell phone number. for example, the totptokenprovider uses the secret property to initialize the token sequence.
<staticUserDataProvider>
<user username="string"
[password="..."]
[sms="phone number"]
[secret=""]
...="..." />*
</staticUserDataProvider>
<staticUserDataProvider>
<user username="thomas"
password="secret"
sms="+1-234-567-8900" />
<user username="tobias"
password="secret"
sms="+1-234-567-8901" />
</staticUserDataProvider>
Elements | Description | Cardinality |
---|---|---|
user | 0..* |