Class AuthLimiterComponent
java.lang.Object
pro.gravit.launchserver.components.Component
pro.gravit.launchserver.components.AbstractLimiter<String>
pro.gravit.launchserver.components.IPLimiter
pro.gravit.launchserver.components.AuthLimiterComponent
- All Implemented Interfaces:
AutoCloseable, Reconfigurable
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractLimiter
AbstractLimiter.LimitEntry -
Field Summary
Fields inherited from class AbstractLimiter
exclude, map, rateLimit, rateLimitMillisModifier and TypeFieldDescriptionprotected final Map<String, AbstractLimiter.LimitEntry> intlongFields inherited from class Component
componentName, providers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidinit(LaunchServer launchServer) booleanpreAuthHook(AuthResponse.AuthContext context, Client client) Methods inherited from class IPLimiter
getFromStringMethods inherited from class AbstractLimiter
check, garbageCollection, getCommandsModifier and TypeMethodDescriptionbooleanvoidGets a list of commands available for this object.Methods inherited from class Component
registerComponents, setComponentNameModifier and TypeMethodDescriptionstatic voidfinal voidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Reconfigurable
defaultCommandsMapModifier and TypeMethodDescription
-
Constructor Details
-
AuthLimiterComponent
public AuthLimiterComponent()
-
-
Method Details
-
init
-
preAuthHook
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-