UsernameTokenManager.OnLogonUserFailed Method
Indicates that authentication of the UsernameToken failed.
Namespace: Microsoft.Web.Services3.Security.Tokens
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.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:
virtual void OnLogonUserFailed(
UsernameToken^ token
);
protected virtual void OnLogonUserFailed(
UsernameToken token
);
protected function OnLogonUserFailed(
token : UsernameToken
) : Void;
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 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
UsernameTokenManager Class
UsernameTokenManager Members
Microsoft.Web.Services3.Security.Tokens Namespace
UsernameToken
AuthenticateToken