Interface EventSubscriptionAuthorizer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface EventSubscriptionAuthorizer
Authorizes event subscriptions.

Note that authorization might fail because the client doesn't have the necessary permissions. It might also fail if the subscription is invalid, for example, if a required filter is not supplied or if the filter is not valid.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    authorise(String requestRealm, org.openremote.container.security.AuthContext authContext, org.openremote.model.event.shared.EventSubscription<?> eventSubscription)
     
  • Method Details

    • authorise

      boolean authorise(String requestRealm, org.openremote.container.security.AuthContext authContext, org.openremote.model.event.shared.EventSubscription<?> eventSubscription)