Class UpnIdentityDefinition
Represents serializable user principal name (UPN) service identity.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services.Identities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class UpnIdentityDefinition : IdentityDefinitionBase, IValidator, IExtensibleDataObject
Constructors
UpnIdentityDefinition()
Initializes an empty instance.
Declaration
public UpnIdentityDefinition()
UpnIdentityDefinition(Identity)
Initializes new instance from provided Identity object.
Declaration
public UpnIdentityDefinition(Identity identity)
Parameters
Type | Name | Description |
---|---|---|
Identity | identity | Identity object used to populate new instance. |
UpnIdentityDefinition(UpnEndpointIdentity)
Initialize new instance from provided endpoint identity.
Declaration
public UpnIdentityDefinition(UpnEndpointIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
System.ServiceModel.UpnEndpointIdentity | identity | Endpoint identity used to initialize new instance. |
UpnIdentityDefinition(String)
Initializes new instance from provided user principal name (UPN).
Declaration
public UpnIdentityDefinition(string userPrincipalName)
Parameters
Type | Name | Description |
---|---|---|
System.String | userPrincipalName | User principal name (UPN) used to initialize new instance. |
Properties
FriendlyName
Gets friendly name describing stored identity.
Declaration
public override string FriendlyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
IsEndpointIdentity
Gets flag indicating that identity can be used to create System.ServiceModel.EndpointIdentity.
Declaration
public override bool IsEndpointIdentity { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Kind
Gets stored identity kind (like X.509 certificate, SPN, etc).
Declaration
public override IdentityKind Kind { get; protected set; }
Property Value
Type | Description |
---|---|
IdentityKind |
Overrides
UserPrincipalName
Gets or sets Kerberos user principal name (UPN).
Declaration
public string UserPrincipalName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetConfiguration()
Returns endpoint <identity/> configuration element corresponding to the identity stored in this instance. This method is applied to service identities only.
Declaration
public override string GetConfiguration()
Returns
Type | Description |
---|---|
System.String | Endpoint <identity/> configuration element corresponding to the identity stored in this instance. |
Overrides
GetEndpointIdentity()
Returns System.ServiceModel.EndpointIdentity object object populated with the data stored in this instance. This method is applied to service identities only.
Declaration
public override EndpointIdentity GetEndpointIdentity()
Returns
Type | Description |
---|---|
System.ServiceModel.EndpointIdentity | System.ServiceModel.EndpointIdentity object object populated with the data stored in this instance. |
Overrides
GetIdentity()
Returns Identity object populated with the data stored in this instance.
Declaration
public override Identity GetIdentity()
Returns
Type | Description |
---|---|
Identity | Identity object populated with the data stored in this instance. |
Overrides
Validate()
Validates this domain object's state.
Declaration
public override bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True if object's state is valid; otherwise, false. |