Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a security token provider for username and password security credentials.
The following tables list the members exposed by the UsernameTokenProvider type.
Public Constructors
| Name | Description | |
|---|---|---|
| UsernameTokenProvider | Overloaded. Initializes a new instance of the UsernameTokenProvider class. |
Top
Public Properties
| Name | Description | |
|---|---|---|
![]() |
Password | Gets or sets the password. |
![]() |
Username | Gets or sets the user name. |
Top
Public Methods
(see also Protected Methods )
| Name | Description | |
|---|---|---|
![]() |
Equals | Overloaded. (Inherited from Object ) |
![]() |
GetExtensions | Overridden. Gets the collection of policy extensions that are registered in the policy file. |
![]() |
GetHashCode | (Inherited from Object ) |
![]() |
GetToken | Overridden. Gets a UsernameToken security token using the user name and password associated with this UsernameTokenProvider. |
![]() |
GetType | (Inherited from Object ) |
![]() |
ReadXml | Overridden. Reads the XML in the policy file that is associated with the <username> Element. |
![]() |
ReferenceEquals | (Inherited from Object ) |
![]() |
ToString | (Inherited from Object ) |
![]() |
WriteXml | Overridden. Writes the current user name and password as XML using the specified System.Xml.XmlWriter. |
Top
Protected Methods
| Name | Description | |
|---|---|---|
![]() |
Finalize | (Inherited from Object ) |
![]() |
MemberwiseClone | (Inherited from Object ) |
Top
See Also
Reference
UsernameTokenProvider Class
Microsoft.Web.Services3.Design Namespace
Other Resources
<username> Element
<usernameOverTransportSecurity> Element
<usernameForCertificateSecurity> Element
How to: Secure a Web Service Using a Policy File
How to: Secure a Web Service Without Using a Policy File
Turnkey Security Assertions
.gif)
.gif)
.gif)
.gif)