Show / Hide Table of Contents

    Class DnsIdentityDefinition

    Represents serializable host name (DNS) endpoint identity. This identity is valid for X509 Certificate authentication mode if the server’s certificate contains a DNS with the same value. It is also valid for Windows authentication mode if the SPN has the same value. In this case, a client specifying the System.ServiceModel.DnsEndpointIdentity "server1.microsoft.com" for Windows authentication mode is equivalent to specifying the System.ServiceModel.SpnEndpointIdentity "host/server1.microsoft.com".

    Inheritance
    System.Object
    IdentityDefinitionBase
    DnsIdentityDefinition
    Implements
    IValidator
    System.Runtime.Serialization.IExtensibleDataObject
    Inherited Members
    IdentityDefinitionBase.ToString()
    IdentityDefinitionBase.Create(Identity)
    IdentityDefinitionBase.Create(EndpointIdentity)
    IdentityDefinitionBase.IsMatch(IdentityDefinitionBase, IdentityDefinitionBase)
    IdentityDefinitionBase.Validate(Boolean)
    IdentityDefinitionBase.Id
    IdentityDefinitionBase.Key
    IdentityDefinitionBase.Description
    IdentityDefinitionBase.IsPublic
    IdentityDefinitionBase.FolderId
    IdentityDefinitionBase.Expired
    IdentityDefinitionBase.Created
    IdentityDefinitionBase.Updated
    IdentityDefinitionBase.ErrorMessage
    IdentityDefinitionBase.ExtensionData
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Services.Identities
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class DnsIdentityDefinition : IdentityDefinitionBase, IValidator, IExtensibleDataObject

    Constructors

    DnsIdentityDefinition()

    Initializes an empty instance.

    Declaration
    public DnsIdentityDefinition()

    DnsIdentityDefinition(Identity)

    Initializes new instance from provided Identity object.

    Declaration
    public DnsIdentityDefinition(Identity identity)
    Parameters
    Type Name Description
    Identity identity

    Identity object used to populate new instance.

    DnsIdentityDefinition(DnsEndpointIdentity)

    Initialize new instance from provided endpoint identity.

    Declaration
    public DnsIdentityDefinition(DnsEndpointIdentity identity)
    Parameters
    Type Name Description
    System.ServiceModel.DnsEndpointIdentity identity

    Endpoint identity used to initialize new instance.

    DnsIdentityDefinition(String)

    Initializes new instance from provided domain host name.

    Declaration
    public DnsIdentityDefinition(string domainName)
    Parameters
    Type Name Description
    System.String domainName

    Domain host name used to initialize new instance.

    Properties

    DomainName

    Gets or sets endpoint host name.

    Declaration
    public string DomainName { get; set; }
    Property Value
    Type Description
    System.String

    FriendlyName

    Gets or sets the friendly name describing stored identity.

    Declaration
    public override string FriendlyName { get; set; }
    Property Value
    Type Description
    System.String
    Overrides
    IdentityDefinitionBase.FriendlyName

    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
    IdentityDefinitionBase.IsEndpointIdentity

    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
    IdentityDefinitionBase.Kind

    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
    IdentityDefinitionBase.GetConfiguration()

    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
    IdentityDefinitionBase.GetEndpointIdentity()

    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
    IdentityDefinitionBase.GetIdentity()

    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.

    Overrides
    IdentityDefinitionBase.Validate()

    Implements

    IValidator
    System.Runtime.Serialization.IExtensibleDataObject
    Back to top Nevatech Sentinet 6.6 Online Documentation