staticUserDataProvider

A user data provider listing all user data in-place in the config file.

Explanation:

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.



Can be used in:

oauth2authserver, basicAuthentication, login, xenAuthentication and bean

Syntax

<staticUserDataProvider>
  <user username="string"
    [password="..."]
    [sms="phone number"]
    [secret=""]
    ...="..." />*
</staticUserDataProvider>

Sample

<staticUserDataProvider>
  <user username="thomas"
	password="secret"
	sms="+1-234-567-8900" />
  <user username="tobias"
	password="secret"
	sms="+1-234-567-8901" />
</staticUserDataProvider>

Child Elements

ElementsDescriptionCardinality
user 0..*