Go to new doc!

+49 228 5552576-0


info@predic8.com

user

Description

Can be used in

basicAuthentication and staticUserDataProvider

Sample

				<serviceProxy port="2001">
					<basicAuthentication>
						<user name="admin" password="adminadmin" />
						<user name="guest" password="guestguest" />
						<user name="root-admin" password="rootadminadmin" />
					</basicAuthentication>
					<target host="www.predic8.de" />		
				</serviceProxy>
			
Listing 1: user Example

Attributes

Name Required Default Description Example
password false - The user's password.
secret false - The user's shared TOTP secret (if used in combination with the {@link TOTPTokenProvider}).
sms false - The user's phone number (if used in combination with the {@link TelekomSMSTokenProvider}).
username false - The user's login.
any false - Other user attributes. For example any attribute starting with "header" will be added when HTTP requests are forwarded when authorized by this user.