home *** CD-ROM | disk | FTP | other *** search
- package secmgr.manager;
-
- public class PluraSecurityManager extends SecurityManager {
- public void checkAccept(String host, int port) {
- if (port != 80 && port != 8080 && port != 443 && port != -1) {
- throw new SecurityException();
- }
- }
-
- public void checkConnect(String host, int port) {
- if (port != 80 && port != 8080 && port != 443 && port != -1) {
- throw new SecurityException();
- }
- }
-
- public void checkMemberAccess(Class<?> arg0, int arg1) {
- }
- }
-