a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
76 lines
4.5 KiB
XML
76 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Type Name="WindowsServiceCredential" FullName="System.ServiceModel.Security.WindowsServiceCredential">
|
|
<TypeSignature Language="C#" Value="public sealed class WindowsServiceCredential" />
|
|
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit WindowsServiceCredential extends System.Object" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>System.ServiceModel</AssemblyName>
|
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<Base>
|
|
<BaseTypeName>System.Object</BaseTypeName>
|
|
</Base>
|
|
<Interfaces />
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>This class provides two settings.</para>
|
|
<para>You can use the <see cref="P:System.ServiceModel.Security.WindowsServiceCredential.AllowAnonymousLogons" /> property to allow the anonymous logon of clients by setting it to true. You can then avoid disclosing the client's identity to the service by setting <see cref="P:System.ServiceModel.Security.WindowsClientCredential.AllowedImpersonationLevel" /> to Anonymous. </para>
|
|
<list type="bullet">
|
|
<item>
|
|
<para>If the <see cref="P:System.ServiceModel.Security.WindowsServiceCredential.IncludeWindowsGroups" /> property is set to true (the default setting), the service can determine the Windows groups to which the client belongs.</para>
|
|
</item>
|
|
</list>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Provides properties that describe the service credentials used for Windows authentication.</para>
|
|
</summary>
|
|
</Docs>
|
|
<Members>
|
|
<Member MemberName="AllowAnonymousLogons">
|
|
<MemberSignature Language="C#" Value="public bool AllowAnonymousLogons { get; set; }" />
|
|
<MemberSignature Language="ILAsm" Value=".property instance bool AllowAnonymousLogons" />
|
|
<MemberType>Property</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added.</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>When using Windows client credentials on a binding, by default the system does not allow anonymous access. This means that only domain or workgroup authenticated users are allowed into the system. However, in certain cases it is acceptable for anonymous, unauthenticated users to access the service. In this case you can set this property to true to allow anonymous clients to call the service. A service that enables anonymous authentication is significantly loosening the security requirements, so this setting should be used with caution. </para>
|
|
<para>Note that this property does not apply to transport security scenarios and applies only when message security is used by the underlying binding to secure the messages. If Windows transport security is used, this property does not apply.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets a value that indicates whether to allow<legacyItalic> </legacyItalic>anonymous users access (applies only to message-level security). </para>
|
|
</summary>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="IncludeWindowsGroups">
|
|
<MemberSignature Language="C#" Value="public bool IncludeWindowsGroups { get; set; }" />
|
|
<MemberSignature Language="ILAsm" Value=".property instance bool IncludeWindowsGroups" />
|
|
<MemberType>Property</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added.</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>In most scenarios, knowing which Windows groups users belong to provides useful information for authorization decisions. However, if the Windows groups are not required, setting this property to false can improve performance by avoiding a full-group claim population.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets a value that indicates whether the Windows groups that a client belongs to are included in the security context.</para>
|
|
</summary>
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type> |