This class should be extended by the application developer to allow client verification using custom security framework.

C# |
public interface ConnectionSecurityCallback

All Members | Methods | ||||
Icon | Member | Description |
---|---|---|
![]() | 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. |

Alternatively, the SOAM API provides a default implementation (DefaultSecurityCallback), which uses the middleware's built-in security framework for client verification.
NOTE: If any of the methods of this interface are called after the Main(...) method exits, the client or service process may behave in an undefined manner (for example, hang or terminate abnormally).

[DefaultSecurityCallback]
[SoamFactory.Connect]
[SoamFactory.Connect]