The AuthenticationResult
must be in XML, with the following
attributes:
-
xmlns
(required): internally used by Exalead CloudView. The value is always exa:com.exalead.security.sources.common
.
-
success
(required): it defines if the authentication succeeded.
Possible values: true
or false
.
-
userId
(required): the login used to authenticate the user.
-
userDisplayName
: The real name of the authenticated user. Used only
when authentication is successful.
-
cause
: the reason of failure. Used only when authentication fails.
Here is an example of the result format in XML.
<AuthenticationResult xmlns="exa:com.exalead.security.sources.common"
userDisplayName="Anonymous user" userId="guest" success="true">
<SecurityToken xmlns="exa:com.exalead.security.sources.common"
token="remote:first_token" />
<SecurityToken xmlns="exa:com.exalead.security.sources.common"
token="remote:second_token" />
</AuthenticationResult>