CustomAuthenticator CreateIdentity Method TIBCO Spotfire 6.0 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: 13.19.7018.3940 (13.19.7018.3940)
Syntax

protected static IIdentity CreateIdentity(
	string userName
)

Parameters

userName
Type: System String
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
System.Security.Authentication 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.
See Also