@@ -0,0 +1,869 @@
+package com.yuzhouwan.hacker.jvm.security;%0A%0A/**%0A * Copyright @ 2018 yuzhouwan.com%0A * All right reserved.%0A * Function%EF%BC%9ASecurityManager Example%0A *%0A * @author Benedict Jin%0A * @since 2018/2/7%0A */%0Apublic class SecurityManagerExample extends SecurityManager %7B%0A%0A    @Override%0A    public void checkExit(int status) %7B%0A        System.out.println(%22Exit %22 + status);%0A    %7D%0A%0A    /*%0A    System securityManager: null%0A    System securityManager: com.yuzhouwan.hacker.jvm.security.SecurityManagerExample@cc34f4d%0A    Exit 0%0A     */%0A    public static void main(String%5B%5D args) %7B%0A        SecurityManagerExample sme = new SecurityManagerExample();%0A        System.out.println(%22System securityManager: %22 + System.getSecurityManager());%0A        System.setSecurityManager(sme);%0A        System.out.println(%22System securityManager: %22 + System.getSecurityManager());%0A        System.exit(0);%0A    %7D%0A%7D%0A

Add securityManager example