Commit Graph
390 Commits
Author SHA1 Message Date
Luca Capra 44f51e5e60 allow to load class instance with getInstance 2015-07-06 18:18:56 +02:00
Luca Capra f4ec180d85 added config options for authorizator_class and authenticator_class 2015-07-06 16:37:42 +02:00
andrea 4663fa507b Introduced WSS to fix issue #8 2015-06-30 22:44:22 +02:00
andrea f2410f962b Extracted SSLHandler initialization into separate method 2015-06-30 22:15:32 +02:00
andrea ac2eb6dce0 Fixed bad qos publish, issue #56 2015-06-28 19:53:22 +02:00
andrea b8af814940 Changed Subscription equals to use also cleanSession flag in equality check 2015-06-28 16:26:10 +02:00
andrea 5416a87149 Anticipated credentials check before dropping an already connected clientID 2015-06-28 15:31:21 +02:00
andrea 7dece38b57 Fixed multiple publish notification for overlapping subscriptions (fix issue #52) 2015-06-23 23:23:38 +02:00
andrea 336c452ef3 Added remove of subscribed topic during processing of UNSUBSCRIBE message (fix issue #50) 2015-06-21 17:49:39 +02:00
andrea 78b3f1faf8 Minor change, removed redundant parameter in method addNewSubscription of session storage 2015-06-21 16:37:44 +02:00
andrea 932d2fb4cb Fixed issue #49, duplication of subscription with different QoS 2015-06-21 15:55:39 +02:00
andrea 3deb903f3c Minor change, modified dumpTree to graphicaly show a tree 2015-06-21 15:36:41 +02:00
andrea 867d78b650 Fixed issue #43, not clean handlng of bad formatted topic filters during subscrion 2015-06-20 18:27:43 +02:00
andrea c4ebd75008 Minor change, moved method argument from exploded arguments to carrier object 2015-06-20 15:52:00 +02:00
andrea 92a76c9de1 Fixed issue #38, autoboxing of a nullable Integer given a default to 0 assignment 2015-06-20 12:17:50 +02:00
andrea d20940f110 Minor fixed badly double inserted "metrics" handler in Netty pipeline 2015-06-16 23:21:49 +02:00
andrea a3f06f7e33 Reenabled the logging of bytes moved 2015-06-16 23:08:26 +02:00
andrea 5f73cded22 Fixed issue #41 memory leak on metrics collectors 2015-06-16 22:43:55 +02:00
andrea e699d5ff2b Fixed issue #40 2015-06-07 17:57:42 +02:00
andrea 3f4a5586de Fixed mem leak due to caching of object without hasCode (NettyChannelContext 2015-06-07 17:47:50 +02:00
andrea 53aa74b493 Minor change, extracted some commonly used code 2015-05-26 23:11:55 +02:00
andrea 78eddadac4 Added user substitution during ACL pattern mathing 2015-05-26 22:51:16 +02:00
andrea db4b7ca192 Added trivial implementation of ACL patterns 2015-05-26 22:40:34 +02:00
andrea 092e30a552 Minro change, added global to user specific cascading 2015-05-26 00:09:27 +02:00
andrea 059fd89b69 Implemented the part of parsing and accessing the user specific ACLs 2015-05-26 00:06:22 +02:00
andrea 9a97b00750 Minor change, removed unusefull ParseExeptions logging 2015-05-20 23:38:15 +02:00
andrea 443bf7ab85 Refactored the collection of all ACL in a specialized collector class instead of using plain List 2015-05-20 23:34:42 +02:00
andrea 1aecc3d922 Added check on read access (in publish) 2015-05-20 21:53:13 +02:00
andrea 302f3a96ce Fixed the configuration of acl_file path 2015-05-19 23:15:44 +02:00
andrea 8b8058dc47 Added basic initial implementation for ACL validation 2015-05-19 22:07:57 +02:00
andrea f3ed351c61 Added plumbing code to use the concept of Authorizator into publish semantic 2015-05-17 16:24:37 +02:00
andrea 6d3fbc4591 Implementd basic parsing fro ACL lines 2015-05-17 12:34:46 +02:00
andrea 29bdd2f8fb Modified the format of password_file.conf now accept only sha256 hashed passwords 2015-05-13 22:25:05 +02:00
andrea d60b4d7363 Changed netty acceptor to find JavaKeyStore from external path (no classpath as before) 2015-05-03 13:04:43 +02:00
andrea 9d8e9df44e Added handling of allow_anonymous, fix issue #34 2015-04-25 19:49:41 +02:00
andrea 1a2dade994 Fixed issue #25 due to bad packetID generation 2015-04-07 04:29:00 +02:00
andrea 8574299ed5 Fixed typo 2015-04-07 04:28:13 +02:00
andrea 331244ddd2 Removed long Constants name refs 2015-03-15 16:45:11 +01:00
andrea 0aad3cbbf3 Fixed constructor of ConfigurationParser to do mergind of provided properties 2015-03-14 17:31:11 +01:00
swarwick d388ae01bb Allow the mapdb store to remain in memory
If the store path supplied is null or empty we will create an in memory
mapdb store.
2015-03-14 16:38:30 +01:00
swarwick d215ba8c8b More checking of the delete of the mapdb file
Lots of issues I guess with deleting temp files for mapdb
2015-03-14 16:38:22 +01:00
swarwick a661a94d80 Missed hard coded name replacement 2015-03-14 16:38:05 +01:00
swarwick d7f2493811 Moving hard coded strings to constants
Adding more hard coded strings to the constants.  I am not really sure
why there are 2 constants java classes either.
2015-03-14 16:37:55 +01:00
swarwick 6cc5b0edb9 Update for default configs
Update to allow for default config properties if some are not specified
with the start server and properties passed in.  Updated the tests to
match and also moved a few more things into the Constants.java file.
2015-03-14 16:37:41 +01:00
swarwick 8943445efa Update to allow for persistent store to be specified in the config
Update to allow for persistent store to be specified in the config
2015-03-14 16:37:09 +01:00
andrea 4195b0d62c Fixed issue #16 publish of will message with qos > 0 2015-03-11 23:22:57 +01:00
andrea bf3fcadd28 Removed unused abstract key sessions (it's bound to Netty at the end, so hasn't sense 2015-03-10 23:06:37 +01:00
andrea 715937a394 Implemented packetID generation for QoS 1,2 2015-03-10 22:52:08 +01:00
andrea 4baf407657 Integrated by hand part of the pull request #13 'fix pom and clean deprecated class and add bat file to windows' 2015-03-04 22:40:56 +01:00
andrea 50e1005b29 Added moquette.processor.benchmark sys property to enable/disable processor performance recording 2015-03-02 23:11:09 +01:00