Guest login

XML name

base:GuestLoginRequest

Class name

de.lobster.scm.base.authentication.GuestLoginRequest


The GuestLoginRequest can be used both via REST and via Lobster _data expansions.

Login example
 <base:GuestLoginRequest xmlns:base='SCM.BASE' loginToken="7264E89B-5321-E5A3-9E69-8B01A131D44A" locale="de" clientType="Custom Rest Client" forceLogin="true" />

Login is performed by entering the guest user token (loginToken) (see Guest users).

Should the guest user not exist or not be valid anymore, an exception is raised, which causes the login to fail.

Parameter

Required?

Description

Example

loginToken

images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/check.svg

The guest user login token to be used for logging on.

loginToken="7264E89B-5321-E5A3-9E69-8B01A131D44A"
locale

images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/error.svg

Here, the language set for the user can be overwritten for this session.

locale="de"
clientType

images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/error.svg

Indication of the client type. The flex client here uses e.g. 'Flex'.

Note that, for every client type and user, only one simultaneous login is permitted.

clientType="Custom Rest Client"
forceLogin

images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/error.svg

If 'true', a possibly existing session is logged off for this user with this client type.

If forceLogin='false' and a session already exists, an exception is raised.

forceLogin="true"