UsernameTokenManager.OnLogonUserFailed Method
Indicates that authentication of the UsernameToken failed.
Namespace: Microsoft.Web.Services2.Security.Tokens
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)
Usage
'Usage
Public Class usernameTokenManagerImplementation
Inherits UsernameTokenManager
Protected Overrides Sub OnLogonUserFailed(token As UsernameToken)
MyBase.OnLogonUserFailed(token)
End Sub
End Class
Syntax
'Declaration
Protected Overridable Sub OnLogonUserFailed( _
ByVal token As UsernameToken _
)
protected virtual void OnLogonUserFailed(
UsernameToken token
);
protected: Void OnLogonUserFailed(
UsernameToken^ token
);
protected void OnLogonUserFailed(
UsernameToken token
);
protected function OnLogonUserFailed(
token : UsernameToken
);
Parameters
- token
Exceptions
Exception type | Condition |
---|---|
SecurityFault | Authentication failed. |
Remarks
The default implementation of the AuthenticateToken method calls the OnLogonUserFailed method when the UsernameToken could not be authenticated against a Windows user account.
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.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone
See Also
Reference
UsernameTokenManager Class
Microsoft.Web.Services2.Security.Tokens Namespace
UsernameToken
AuthenticateToken