Class PermitAllAuthorizatorPolicy

    • Constructor Detail

      • PermitAllAuthorizatorPolicy

        public PermitAllAuthorizatorPolicy()
    • Method Detail

      • canWrite

        public boolean canWrite​(Topic topic,
                                String user,
                                String client)
        Description copied from interface: IAuthorizatorPolicy
        Ask the implementation of the authorizator if the topic can be used in a publish.
        Specified by:
        canWrite in interface IAuthorizatorPolicy
        Parameters:
        topic - the topic to write to.
        user - the user
        client - the client
        Returns:
        true if the user from client can publish data on topic.