Class ChangePrincipalCallbackDefault

The default IChangePrincipalCallback implementation.

Inheritance
System.Object
CallbackDefault
ChangePrincipalCallbackDefault
Implements
IChangePrincipalCallback
ICallback
Inherited Members
CallbackDefault.OnDiscard()
Namespace: PushTechnology.ClientInterface.Client.Features
Assembly: Diffusion.Client.dll
Syntax
public class ChangePrincipalCallbackDefault : CallbackDefault, IChangePrincipalCallback, ICallback
Remarks

This simply logs ISecurity calls at 'debug' level. This can be overridden to perform some more specific action.

Methods

OnAuthenticationFailure()

The attempt to change the session principal failed because authentication failed at the server.

Declaration
public virtual void OnAuthenticationFailure()
Remarks

This could be because the named principal was unknown or the supplied credentials were invalid.

OnPrincipalChanged()

The session principal has been successfully changed.

Declaration
public virtual void OnPrincipalChanged()

Implements

IChangePrincipalCallback
ICallback
Back to top