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,ProfilesProtectHandler,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 pro.gravit.launchserver.auth.protect.StdProtectHandler
allowUpdates, profileWhitelistFields inherited from class pro.gravit.launchserver.auth.protect.ProtectHandler
providers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanallowGetSecureLevelInfo(Client client) voidvoidclose()createHardwareToken(String username, pro.gravit.launcher.request.secure.HardwareReportRequest.HardwareInfo info) createPublicKeyToken(String username, byte[] publicKey) voidinit(LaunchServer server) pro.gravit.launcher.events.request.GetSecureLevelInfoRequestEventonGetSecureLevelInfo(pro.gravit.launcher.events.request.GetSecureLevelInfoRequestEvent event) voidonHardwareReport(HardwareReportResponse response, Client client) booleanonJoinServer(String serverID, String username, Client client) pro.gravit.launcher.events.request.VerifySecureLevelKeyRequestEventonSuccessVerify(Client client) Methods inherited from class pro.gravit.launchserver.auth.protect.StdProtectHandler
canChangeProfile, canGetProfile, canGetUpdatesMethods inherited from class pro.gravit.launchserver.auth.protect.ProtectHandler
registerHandlersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pro.gravit.launchserver.auth.protect.interfaces.ProfilesProtectHandler
canGetProfilesMethods inherited from interface pro.gravit.launchserver.auth.protect.interfaces.SecureProtectHandler
generateSecureLevelKey, onSecurityReport, verifySecureLevelKey
-
Field Details
-
enableHardwareFeature
public boolean enableHardwareFeature
-
-
Constructor Details
-
AdvancedProtectHandler
public AdvancedProtectHandler()
-
-
Method Details
-
allowGetAccessToken
- Overrides:
allowGetAccessTokenin classStdProtectHandler
-
checkLaunchServerLicense
public void checkLaunchServerLicense()- Overrides:
checkLaunchServerLicensein classStdProtectHandler
-
onGetSecureLevelInfo
public pro.gravit.launcher.events.request.GetSecureLevelInfoRequestEvent onGetSecureLevelInfo(pro.gravit.launcher.events.request.GetSecureLevelInfoRequestEvent event) - Specified by:
onGetSecureLevelInfoin interfaceSecureProtectHandler
-
allowGetSecureLevelInfo
- Specified by:
allowGetSecureLevelInfoin interfaceSecureProtectHandler
-
onHardwareReport
- Specified by:
onHardwareReportin interfaceHardwareProtectHandler
-
onSuccessVerify
public pro.gravit.launcher.events.request.VerifySecureLevelKeyRequestEvent onSuccessVerify(Client client) - Specified by:
onSuccessVerifyin interfaceSecureProtectHandler
-
onJoinServer
- Specified by:
onJoinServerin interfaceJoinServerProtectHandler
-
init
- Overrides:
initin classStdProtectHandler
-
close
public void close()- Overrides:
closein classProtectHandler
-
createHardwareToken
-
createPublicKeyToken
-