CustomAuthenticator CreateIdentity Method TIBCO Spotfire 6.5 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: 14.10.7525.5058 (14.10.7525.5058)
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.
Version Information

Supported in: 6.5, 6.0, 5.5, 5.0, 4.5
See Also