broker/IAuthorizator: code formatter used

This commit is contained in:
Andreas Mager
2017-02-01 17:13:41 +01:00
parent 997da1f497
commit 687c66d7ec
@@ -13,14 +13,14 @@
*
* You may elect to redistribute this code under either of these licenses.
*/
package io.moquette.spi.security;
/**
* ACL checker.
*
* Create an authorizator that matches topic names with same grammar of subscriptions.
* The # is always a terminator and its the multilevel matcher.
* The + sign is the single level matcher.
* Create an authorizator that matches topic names with same grammar of subscriptions. The # is
* always a terminator and its the multilevel matcher. The + sign is the single level matcher.
*
* @author andrea
*/
@@ -28,11 +28,15 @@ public interface IAuthorizator {
/**
* Ask the implementation of the authorizator if the topic can be used in a publish.
* @param topic the topic to write to.
* @param user the user
* @param client the client
*
* @param topic
* the topic to write to.
* @param user
* the user
* @param client
* the client
* @return true if the user from client can publish data on topic.
* */
*/
boolean canWrite(String topic, String user, String client);
boolean canRead(String topic, String user, String client);