From 687c66d7ecef041cec21910cf278537085ee9d7e Mon Sep 17 00:00:00 2001 From: Andreas Mager Date: Wed, 1 Feb 2017 16:08:55 +0100 Subject: [PATCH] broker/IAuthorizator: code formatter used --- .../moquette/spi/security/IAuthorizator.java | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/broker/src/main/java/io/moquette/spi/security/IAuthorizator.java b/broker/src/main/java/io/moquette/spi/security/IAuthorizator.java index 3d85c1b8..cba7ab5f 100644 --- a/broker/src/main/java/io/moquette/spi/security/IAuthorizator.java +++ b/broker/src/main/java/io/moquette/spi/security/IAuthorizator.java @@ -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);