[ANY] Remove signedClientConfig and securityManagerConfig

This commit is contained in:
Gravita 2022-03-24 16:51:50 +07:00
parent 67a53218d4
commit 7522e156ae
2 changed files with 0 additions and 26 deletions

View file

@ -12,14 +12,4 @@ private SystemService() {
public static void exit(int code) { public static void exit(int code) {
LauncherEngine.exitLauncher(code); LauncherEngine.exitLauncher(code);
} }
public static void setSecurityManager(SecurityManager s) {
LogHelper.debug("Try set security manager %s", s == null ? "null" : s.getClass().getName());
if (AuthService.profile == null || AuthService.profile.getSecurityManagerConfig() == ClientProfile.SecurityManagerConfig.NONE)
return;
if (AuthService.profile.getSecurityManagerConfig() == ClientProfile.SecurityManagerConfig.CLIENT) {
System.setSecurityManager(s);
}
//TODO NEXT
}
} }

View file

@ -426,14 +426,6 @@ public int hashCode() {
return Objects.hash(uuid); return Objects.hash(uuid);
} }
public SecurityManagerConfig getSecurityManagerConfig() {
return securityManagerConfig;
}
public void setSecurityManagerConfig(SecurityManagerConfig securityManagerConfig) {
this.securityManagerConfig = securityManagerConfig;
}
public ClassLoaderConfig getClassLoaderConfig() { public ClassLoaderConfig getClassLoaderConfig() {
return classLoaderConfig; return classLoaderConfig;
} }
@ -442,14 +434,6 @@ public void setClassLoaderConfig(ClassLoaderConfig classLoaderConfig) {
this.classLoaderConfig = classLoaderConfig; this.classLoaderConfig = classLoaderConfig;
} }
public SignedClientConfig getSignedClientConfig() {
return signedClientConfig;
}
public void setSignedClientConfig(SignedClientConfig signedClientConfig) {
this.signedClientConfig = signedClientConfig;
}
public RuntimeInClientConfig getRuntimeInClientConfig() { public RuntimeInClientConfig getRuntimeInClientConfig() {
return runtimeInClientConfig; return runtimeInClientConfig;
} }