Transform a Subject to a token that asserts an identity.

Namespace: Tangosol.Net.Security
Assembly: Coherence (in Coherence.dll) Version: 12.1.2.0 (12.1.2.0)

Syntax

C#
Object TransformIdentity(
	IPrincipal principal,
	IService service
)

Parameters

principal
Type: System.Security.Principal..::..IPrincipal
The IPrincipal representing a user.
service
Type: Tangosol.Net..::..IService
The IService requesting an identity token.

Return Value

The token that asserts identity.

Exceptions

ExceptionCondition
System.Security..::..SecurityException If the identity transformation fails.

See Also