Partager via


UsernameTokenProvider Members

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
public property Password Gets or sets the password.
public property Username Gets or sets the user name.

Top

Public Methods

(see also Protected Methods )

  Name Description
public method Equals  Overloaded. (Inherited from Object )
public method GetExtensions Overridden. Gets the collection of policy extensions that are registered in the policy file.
public method GetHashCode  (Inherited from Object )
public method GetToken Overridden. Gets a UsernameToken security token using the user name and password associated with this UsernameTokenProvider.
public method GetType  (Inherited from Object )
public method ReadXml Overridden. Reads the XML in the policy file that is associated with the <username> Element.
public method static ReferenceEquals  (Inherited from Object )
public method ToString  (Inherited from Object )
public method WriteXml Overridden. Writes the current user name and password as XML using the specified System.Xml.XmlWriter.

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object )
protected method 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