CustomAuthenticatorCreateIdentity Method TIBCO Spotfire 7.6 API Reference
Creates a Spotfire specific instance of the IIdentity interface from a user name string.

Namespace: Spotfire.Dxp.Web
Assembly: Spotfire.Dxp.Web (in Spotfire.Dxp.Web.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
protected static IIdentity CreateIdentity(
	string userName
)

Parameters

userName
Type: SystemString
the name of the user for which to create an identity.

Return Value

Type: IIdentity
An identity object representing the user with the given name.
Exceptions

ExceptionCondition
AuthenticationException the userName parameter is null.
Remarks

This method must be called from the implementation of AuthenticateTokenCore(AuthenticationContext). No other implementations of the IIdentity interface except the ones returned from this method will be accepted by the authentication framework.
Version Information

Supported in: 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference