Share via


UsernameTokenManager Members

Represents a security token manager for UsernameToken security tokens.

The following tables list the members exposed by the UsernameTokenManager type.

Public Constructors

  Name Description
UsernameTokenManager Overloaded. Initializes a new instance of the UsernameTokenManager class.

Top

Public Properties

(see also Protected Properties )

  Name Description
public property CacheCapacity Gets the maximum number of UsernameToken security tokens that can be cached at one time.
public property DefaultKeyAlgorithm  Gets or sets the default key algorithm name for the given token type. (Inherited from SecurityTokenManager)
public property Label Gets the label parameter for the key derivation algorithm for UsernameToken security tokens.
public property TokenType Overridden. Gets the type of security token being managed.

Top

Protected Properties

  Name Description
protected property TokenCache Gets the token cache for UsernameToken security tokens in the current application domain.

Top

Public Methods

(see also Protected Methods )

  Name Description
public method static Cache  (Inherited from SecurityTokenManager )
public method CacheSecurityToken Overridden. Caches a UsernameToken security token based on the Username property.
public method static CreateTokenKeyAlgorithm  (Inherited from SecurityTokenManager )
public method Equals  Overloaded. (Inherited from Object )
public method GetHashCode  (Inherited from Object )
public method static GetSecurityTokenManagerByTokenType  (Inherited from SecurityTokenManager )
public method static GetSecurityTokenManagerByValueType  (Inherited from SecurityTokenManager )
public method static GetTokenFromKeyInfo  Overloaded. (Inherited from SecurityTokenManager )
public method static GetTokenFromXml  (Inherited from SecurityTokenManager )
public method GetType  (Inherited from Object )
public method LoadTokenFromKeyInfo  (Inherited from SecurityTokenManager )
public method LoadTokenFromXml Overridden. Deserializes an XML element into a UsernameToken security token.
public method static LogonUser Creates a System.Security.Principal.WindowsPrincipal object using the specified username and password.
public method static ReferenceEquals  (Inherited from Object )
public method static RemoveFromCache  (Inherited from SecurityTokenManager )
public method RemoveSecurityTokenFromCache  (Inherited from SecurityTokenManager )
public method ToString  (Inherited from Object )
public method static VerifySecurityToken  (Inherited from SecurityTokenManager )
public method VerifyToken Overridden. Verifies that the security token is valid.

Top

Protected Methods

  Name Description
protected method AuthenticateToken Authenticates a UsernameToken .
protected method DetectReplay Detects whether the UsernameToken is being replayed.
protected method Finalize  (Inherited from Object )
protected method MemberwiseClone  (Inherited from Object )
protected method OnLogonUserFailed Indicates that authentication of the UsernameToken failed.
protected method VerifyHashedPassword Verifies the password for a UsernameToken security token in a received SOAP message that is hashed.
protected method VerifyPassword Verifies the password for a UsernameToken security token in a received SOAP message.
protected method VerifyPlainTextPassword Verifies the password for a UsernameToken security token in a received SOAP message that is in plain text.

Top

See Also

Reference

UsernameTokenManager Class
Microsoft.Web.Services3.Security.Tokens Namespace
UsernameToken

Other Resources

<securityTokenManager> Element