Go to new doc!

+49 228 5552576-0


info@predic8.com

login/staticUserDataProvider

Can be used in

login, unifyingUserDataProvider

Syntax

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

Sample

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

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.