Пример
public class CustomSecurityManager extends SecurityManager {

public void checkAccept(String str,int index) {
}


public void checkAccess(Thread thread) {

}


public void checkCreateClassLoader() {
}
}
Решение
Удалите заготовки или замените их кодом, выполняющим проверку.
public class CustomSecurityManager extends SecurityManager {
public CustomSecurityManager(SecurityManager wrapped, boolean createClassLoader) {
this .wrapped = wrapped;
canCreateCl = createClassLoader;
}
private SecurityManager wrapped;
private boolean canCreateCl;

public void checkAccept(String str,int index) {
wrapped.checkAccept(str,index);
}


public void checkAccess(Thread thread) {
wrapped.checkAccess(thread);
}


public void checkCreateClassLoader() {
super .checkCreateClassLoader();
}

private void canCreateClassLoader() {
if (! canCreateCl) {
throw new AccessControlException(getClass().getName());
}
}