Szerkesztés

Megosztás a következőn keresztül:


KerberosRequestorSecurityToken Class

Definition

Represents a security token that is based upon a Kerberos ticket that is sent in an SOAP request.

public ref class KerberosRequestorSecurityToken : System::IdentityModel::Tokens::SecurityToken
public class KerberosRequestorSecurityToken : System.IdentityModel.Tokens.SecurityToken
type KerberosRequestorSecurityToken = class
    inherit SecurityToken
Public Class KerberosRequestorSecurityToken
Inherits SecurityToken
Inheritance
KerberosRequestorSecurityToken

Remarks

Typically, application developers do not need to use the KerberosRequestorSecurityToken class, unless a Web service must get the service principal name associated with the Kerberos ticket. To get the value of the service principal name, get the value of the ServicePrincipalName property.

There are two classes that represent security tokens that are based upon a Kerberos ticket: KerberosRequestorSecurityToken and KerberosReceiverSecurityToken. The KerberosRequestorSecurityToken security token is used by clients that use the KerberosRequestorSecurityToken security token in an outgoing SOAP messages, whereas the KerberosReceiverSecurityToken security token is used by a Web service that receives SOAP messages that contain the security token.

Constructors

KerberosRequestorSecurityToken(String, TokenImpersonationLevel, NetworkCredential, String)

Initializes a new instance of the KerberosRequestorSecurityToken class.

KerberosRequestorSecurityToken(String)

Initializes a new instance of the KerberosRequestorSecurityToken class using a service that is associated with the specified service principal name.

Properties

Id

Gets a unique identifier of the security token.

SecurityKey

Gets the symmetric session key for the Kerberos ticket that is associated with this security token.

SecurityKeys

Gets the cryptographic keys associated with the security token.

ServicePrincipalName

Gets the service principal name for the KerberosRequestorSecurityToken security token.

ValidFrom

Gets the first instant in time at which this security token is valid.

ValidTo

Gets the last instant in time at which this security token is valid.

Methods

CanCreateKeyIdentifierClause<T>()

Gets a value that indicates whether this security token is capable of creating the specified key identifier.

CreateKeyIdentifierClause<T>()

Creates the specified key identifier clause.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetRequest()

Gets the Kerberos ticket request.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MatchesKeyIdentifierClause(SecurityKeyIdentifierClause)

Returns a value that indicates whether the key identifier for this instance matches the specified key identifier.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ResolveKeyIdentifierClause(SecurityKeyIdentifierClause)

Gets the key for the specified key identifier clause.

(Inherited from SecurityToken)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to