TrustPolicy Class
Administers the trust policy.
Namespace: System.Web.Security.SingleSignOn
Assembly: System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)
Inheritance Hierarchy
System.Object
System.Web.Security.SingleSignOn.TrustPolicyEntryBase
System.Web.Security.SingleSignOn.TrustPolicyEntry
System.Web.Security.SingleSignOn.TrustPolicy
Syntax
[ComVisibleAttribute(true)]
public class TrustPolicy : TrustPolicyEntry
[ComVisibleAttribute(true)]
public ref class TrustPolicy : TrustPolicyEntry
[<ComVisibleAttribute(true)>]
type TrustPolicy =
class
inherit TrustPolicyEntry
end
<ComVisibleAttribute(True)>
Public Class TrustPolicy
Inherits TrustPolicyEntry
Constructors
Name | Description | |
---|---|---|
TrustPolicy() | Initializes a new instance of the TrustPolicy class. |
|
TrustPolicy(Boolean, RevocationFlags) | Initializes a new instance of the TrustPolicy class. |
Properties
Name | Description | |
---|---|---|
AdditionalDisplayNames | Gets or sets additional display names for a TrustPolicyStringCollection to this trust policy. This list represents the other names this realm could be displayed as, for account partner discovery purposes. |
|
CookiePath | Gets or sets the path for the authentication cookie. |
|
CorporateClaims | Gets or sets CorporateClaims to this TrustPolicy. |
|
CustomTransformation | Gets or sets a CustomTransform to use for claim transformations for this TrustPolicy. |
|
Disabled | Gets or sets whether the trust with this realm is currently active. If this is set, no tokens will be accepted from this partner.(Inherited from TrustPolicyEntryBase.) |
|
EventLogLevel | Gets or sets the job completion status that causes an operating system log entry on job completion. |
|
FederationCertificates | This property supports the AD FS infrastructure and is not meant to be used directly from your code. Gets or sets FederationCertificates for this TrustPolicy. |
|
LogonAcceleratorTokenLifetimeInMinutes | The lifetime of the logon accelerator token, in minutes, written by this Federation Server to the client to facilitate single sign on. |
|
LSClientCertificates | Gets or sets a CertInfoCollection containing the SSL client authentication certificates that the Federation Server proxy uses to communicate with the Federation Server. |
|
LsUrl | Gets or sets the Federation Server Endpoint URL. |
|
PrivacyKey | Gets or sets the byte sequence to use in obfuscating the identity claims for resource partners configured with the UseEnhancedIdentityPrivacy setting. |
|
RealmCookieLifetimeInDays | Gets or sets the lifetime, in days, of the account partner realm cookie written to the client. Once the client has chosen his account partner, this cookie identifies the account partner the user belongs to, for all subsequent access to the application. |
|
SuppressRealmCookie | Gets or sets a Boolean that indicates whether the realm cookie should be suppressed, that is, not written. |
|
TokenCacheCapacity | Gets or sets the capacity of the Federation Service cache of issued SAML tokens. This cache can be used for fast lookup of tokens for subsequent authentications. |
|
TokenCacheEntryLifetimeInMinutes | Gets or sets the lifetime of each entry in the SAML token cache, in minutes. |
|
TokenCacheScavengePeriodInMinutes | Gets or sets the time after which the Federation Service deletes expired entries from the SAML token cache, in minutes. |
|
TrustedAccountStores | Gets or sets an AccountStoreCollection that contains trusted account stores for this TrustPolicy. |
|
TrustedRealms | Gets or sets a TrustedRealmCollection for this TrustPolicy. |
|
TrustEntryDisplayName | Gets or sets the display name for this TrustPolicyEntry.(Inherited from TrustPolicyEntry.) |
|
TrustingApplications | Gets or sets a TrustingApplicationCollection for this TrustPolicy. |
|
TrustingRealms | Gets or sets the TrustingRealmCollection that contains the trusting realms for this TrustPolicy. |
|
TrustPolicyEntryUri | Gets or sets the Uri for the trust policy entry.(Overrides TrustPolicyEntry.TrustPolicyEntryUri.) |
|
TrustPolicyUpdatePeriodInMinutes | Gets or sets the time interval after which the Federation Service periodically checks for an updated Trust policy, in minutes. |
|
TrustPolicyVersion | Gets or sets a trust policy version for this TrustPolicy. |
|
uuid | Gets or sets the universal unique identifier (UUID) for this TrustPolicyEntryBase object.(Inherited from TrustPolicyEntryBase.) |
|
VerificationMethod | Gets or sets the X509VerificationMethod for this TrustPolicy. |
|
WindowsTrustCacheUpdatePeriodInMinutes | Gets or sets the time interval after which the Federation Service periodically checks for updated Windows trust information, in minutes. |
Methods
Name | Description | |
---|---|---|
AddLSClientCertificate(IntPtr) | Adds an SSL client certificate that a Federation Server proxy can use to authenticate the client to this Federation Service. The certificate is specified by a pointer to the list of LS certificates.. |
|
AddLSClientCertificate(String) | Adds an SSL client certificate that a Federation Server proxy can use to authenticate the client to this Federation Service. The certificate is specified by file name. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
Load(String, Boolean) | Loads the TrustPolicy object from an XML file whose path is be configured in the local web.config file. |
|
MemberwiseClone() | (Inherited from Object.) |
|
NewTrustedRealm(String, String, String, RevocationFlags) | Adds a new TrustedRealm to this TrustPolicy. |
|
NewTrustingApplication(String, String) | Adds a new TrustingApplication object to this TrustPolicy object. |
|
NewTrustingApplication(String, String, String) | Adds a new TrustingApplication object to this TrustPolicy object. |
|
NewTrustingRealm(String, String, String) | Adds a new TrustingRealm object to this TrustPolicy object. |
|
ToString() | (Inherited from Object.) |
|
Write(String) | Writes the trust policy to an XML file. |
|
Write(String, Boolean) | Writes the name of the XML file that stores this trust policy and sets the version number for this policy. |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.Security.SingleSignOn Namespace
Return to top