- All Superinterfaces:
org.pf4j.ExtensionPoint
-
Method Summary
Implement this method to hook authentication logic of mqtt3 client into BifroMQ.
Implement this method to hook authentication logic of mqtt5 client into BifroMQ.
Implement this method to hook action permission check logic.
default void
This method will be called during broker shutdown
Implement this method to hook extended authentication logic of mqtt5 client into BifroMQ.
-
Method Details
-
auth
Implement this method to hook authentication logic of mqtt3 client into BifroMQ.
- Parameters:
authData - the authentication data
-
auth
Implement this method to hook authentication logic of mqtt5 client into BifroMQ. The default implementation will
delegate to the auth method of mqtt3.
- Parameters:
authData - the authentication data
- Returns:
- the authentication result
-
extendedAuth
Implement this method to hook extended authentication logic of mqtt5 client into BifroMQ.
- Parameters:
authData - the extended authentication data
- Returns:
- the authentication result
-
check
Deprecated.
Implement this method to hook action permission check logic.
- Parameters:
client - the client to check permission
action - the action
- Returns:
- true if the client is allowed to perform the action, false otherwise
-
checkPermission
Implement this method to hook action permission check logic.
- Parameters:
client - the client to check permission
action - the action
- Returns:
- CheckResult
-
close
This method will be called during broker shutdown