This implementation of ConnectionSecurityCallback uses the middleware's built-in security framework for client verification.

C# |
public sealed class DefaultSecurityCallback : ConnectionSecurityCallback

All Members | Constructors | Methods | |||
Icon | Member | Description |
---|---|---|
![]() | DefaultSecurityCallback(String, String) | |
![]() | OnGetAuthname()()() | Retrieves and returns the authorization domain that is used to validate the client to the middleware. Invoked when an authorization domain is required while establishing a connection. |
![]() | OnGetPassword()()() | Retrieves and returns the password that is used to validate the client to the middleware. Invoked when a password is required while establishing a connection. |
![]() | OnGetTtl()()() | Retrieves and returns the time to live that is used to validate the client to the middleware. Invoked when a time to live value is required while establishing a connection. |
![]() | OnGetUsername()()() | Retrieves and returns the username that is used to validate the client to the middleware. Invoked when user authentication is required while establishing a connection. |

To use custom security framework, implement the ConnectionSecurityCallback interface.

Object | |
![]() | DefaultSecurityCallback |

[ConnectionSecurityCallback]