Beforeloginevent Anonymoususers

Would it be possible to limit the amount of anonymoususers with something like the license pool manager? I know that it currently is not supported in the lpm but i wonder if it would technically be possible? The lpm registers a beforelogin event, are these events also triggered for anonymous users. If not what would my options be to somehow prevent my anonymous users from hogging up all of my license slots? [Edit] I tested the above solution and found out that the actions are indeed not called for anonymous users. This means that this.addBeforeEvent(LPMLoginAction.class.getCanonicalName()); Is only called for named users. This leaves me with the question how i can limit my anonymous users. Is there anyone who succesfully implemented such a feature and if so would they mind sharing how?
0 answers