Interface SecurityRegistry


@DoNotImplement
public interface SecurityRegistry
The Security Registry allows extensions to define the authentication and authorization of MQTT clients.

It can be accessed by Services.securityRegistry().

An extension can only set at most one AuthenticatorProvider OR one EnhancedAuthenticatorProvider.

An extension can also only set at most one AuthorizerProvider. That means for authorizing PUBLISH and SUBSCRIBE packets the AuthorizerProvider must implement PublishAuthorizer and SubscriptionAuthorizer.

The providers are automatically removed at extension stop.

Since:
4.0.0, CE 2019.1