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 pro.gravit.launchserver.components.AbstractLimiter
AbstractLimiter.LimitEntry -
Field Summary
FieldsFields inherited from class pro.gravit.launchserver.components.AbstractLimiter
exclude, map, rateLimit, rateLimitMillisFields inherited from class pro.gravit.launchserver.components.Component
componentName, providers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidinit(LaunchServer launchServer) booleanpreAuthHook(AuthResponse.AuthContext context, Client client) Methods inherited from class pro.gravit.launchserver.components.IPLimiter
getFromStringMethods inherited from class pro.gravit.launchserver.components.AbstractLimiter
check, garbageCollection, getCommandsMethods inherited from class pro.gravit.launchserver.components.Component
registerComponents, setComponentNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pro.gravit.launchserver.Reconfigurable
defaultCommandsMap
-
Field Details
-
message
-
-
Constructor Details
-
AuthLimiterComponent
public AuthLimiterComponent()
-
-
Method Details
-
init
-
preAuthHook
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-