Class AdvancedProtectHandler
java.lang.Object
pro.gravit.launchserver.auth.protect.ProtectHandler
pro.gravit.launchserver.auth.protect.StdProtectHandler
pro.gravit.launchserver.auth.protect.AdvancedProtectHandler
- All Implemented Interfaces:
HardwareProtectHandler, JoinServerProtectHandler, SecureProtectHandler
public class AdvancedProtectHandler
extends StdProtectHandler
implements SecureProtectHandler, HardwareProtectHandler, JoinServerProtectHandler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsFields inherited from class ProtectHandler
providers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallowGetSecureLevelInfo(Client client) createHardwareToken(String username, UserHardware hardware) createPublicKeyToken(String username, byte[] publicKey) voidinit(LaunchServer server) pro.gravit.launcher.base.events.request.GetSecureLevelInfoRequestEventonGetSecureLevelInfo(pro.gravit.launcher.base.events.request.GetSecureLevelInfoRequestEvent event) voidonHardwareReport(HardwareReportResponse response, Client client) booleanonJoinServer(String serverID, String username, UUID uuid, Client client) pro.gravit.launcher.base.events.request.VerifySecureLevelKeyRequestEventonSuccessVerify(Client client) Methods inherited from class StdProtectHandler
allowGetAccessTokenMethods inherited from class ProtectHandler
allowJoinServer, close, registerHandlersMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SecureProtectHandler
generateSecureLevelKey, onSecurityReport, verifySecureLevelKey
-
Field Details
-
enableHardwareFeature
public boolean enableHardwareFeature
-
-
Constructor Details
-
AdvancedProtectHandler
public AdvancedProtectHandler()
-
-
Method Details
-
onGetSecureLevelInfo
public pro.gravit.launcher.base.events.request.GetSecureLevelInfoRequestEvent onGetSecureLevelInfo(pro.gravit.launcher.base.events.request.GetSecureLevelInfoRequestEvent event) - Specified by:
onGetSecureLevelInfoin interfaceSecureProtectHandler
-
allowGetSecureLevelInfo
- Specified by:
allowGetSecureLevelInfoin interfaceSecureProtectHandler
-
onHardwareReport
- Specified by:
onHardwareReportin interfaceHardwareProtectHandler
-
onSuccessVerify
public pro.gravit.launcher.base.events.request.VerifySecureLevelKeyRequestEvent onSuccessVerify(Client client) - Specified by:
onSuccessVerifyin interfaceSecureProtectHandler
-
onJoinServer
- Specified by:
onJoinServerin interfaceJoinServerProtectHandler
-
init
- Overrides:
initin classStdProtectHandler
-
createHardwareToken
-
createPublicKeyToken
-