View Javadoc

1   /*
2    * @(#) EventLogHandler.java Nov 24, 2003
3    * 
4    * Copyright (c) 2003 Delft University of Technology Jaffalaan 5, 2628 BX Delft,
5    * the Netherlands All rights reserved.
6    * 
7    * This software is proprietary information of Delft University of Technology
8    * The code is published under the General Public License
9    */
10  package nl.tudelft.simulation.dsol.gui.applets;
11  
12  import java.io.FileDescriptor;
13  import java.security.Permission;
14  
15  /***
16   * A DSOLAppletSecurityManager <br>
17   * (c) copyright 2003 <a href="http://www.simulation.tudelft.nl">Delft
18   * University of Technology </a>, the Netherlands. <br>
19   * See for project information <a
20   * href="http://www.simulation.tudelft.nl">www.simulation.tudelft.nl </a> <br>
21   * License of use: <a href="http://www.gnu.org/copyleft/gpl.html">General Public
22   * License (GPL) </a>, no warranty <br>
23   * 
24   * @version 1.0 Nov 24, 2003 <br>
25   * @author <a href="http://www.simulation.tudelft.nl/people/jacobs.html">Peter
26   *         Jacobs </a>
27   */
28  public class DSOLAppletSecurityManager extends java.lang.SecurityManager
29  {
30  	/***
31  	 * constructs a new DSOLAppletSecurityManager
32  	 */
33  	public DSOLAppletSecurityManager()
34  	{
35  		super();
36  	}
37  
38  	/***
39  	 * @see java.lang.SecurityManager#checkPropertyAccess(java.lang.String)
40  	 */
41  	public void checkPropertyAccess(final String key)
42  	{
43  		//The security manager accepts operation of this kind
44  	}
45  
46  	/***
47  	 * @see java.lang.SecurityManager#checkRead(java.io.FileDescriptor)
48  	 */
49  	public void checkRead(final FileDescriptor fd)
50  	{
51  		//The security manager accepts operation of this kind
52  	}
53  
54  	/***
55  	 * @see java.lang.SecurityManager#checkRead(java.lang.String,
56  	 *      java.lang.Object)
57  	 */
58  	public void checkRead(final String file, final Object context)
59  	{
60  		//The security manager accepts operation of this kind
61  	}
62  
63  	/***
64  	 * @see java.lang.SecurityManager#checkRead(java.lang.String)
65  	 */
66  	public void checkRead(final String file)
67  	{
68  		//The security manager accepts operation of this kind
69  	}
70  
71  	/***
72  	 * @see java.lang.SecurityManager#checkConnect(java.lang.String, int,
73  	 *      java.lang.Object)
74  	 */
75  	public void checkConnect(final String host, final int port,
76  			final Object context)
77  	{
78  		//The security manager accepts operation of this kind
79  	}
80  
81  	/***
82  	 * @see java.lang.SecurityManager#checkConnect(java.lang.String, int)
83  	 */
84  	public void checkConnect(final String host, final int port)
85  	{
86  		//The security manager accepts operation of this kind
87  	}
88  
89  	/***
90  	 * @see java.lang.SecurityManager#checkCreateClassLoader()
91  	 */
92  	public void checkCreateClassLoader()
93  	{
94  		//The security manager accepts operation of this kind
95  	}
96  
97  	/***
98  	 * @see java.lang.SecurityManager#checkAccept(java.lang.String, int)
99  	 */
100 	public void checkAccept(final String host, final int port)
101 	{
102 		//The security manager accepts operation of this kind
103 	}
104 
105 	/***
106 	 * @see java.lang.SecurityManager#checkAccess(java.lang.Thread)
107 	 */
108 	public void checkAccess(final Thread t)
109 	{
110 		//The security manager accepts operation of this kind
111 	}
112 
113 	/***
114 	 * @see java.lang.SecurityManager#checkAccess(java.lang.ThreadGroup)
115 	 */
116 	public void checkAccess(final ThreadGroup g)
117 	{
118 		//The security manager accepts operation of this kind
119 	}
120 
121 	/***
122 	 * @see java.lang.SecurityManager#checkLink(java.lang.String)
123 	 */
124 	public void checkLink(final String lib)
125 	{
126 		//The security manager accepts operation of this kind
127 	}
128 
129 
130 	/***
131 	 * @see java.lang.SecurityManager#checkMemberAccess(java.lang.Class, int)
132 	 */
133 	public void checkMemberAccess(final Class clazz, final int which)
134 	{
135 		//The security manager accepts operation of this kind
136 	}
137 
138 	/***
139 	 * @see java.lang.SecurityManager#checkPackageAccess(java.lang.String)
140 	 */
141 	public void checkPackageAccess(final String pkg)
142 	{
143 		//The security manager accepts operation of this kind
144 	}
145 
146 	/***
147 	 * @see java.lang.SecurityManager#checkPackageDefinition(java.lang.String)
148 	 */
149 	public void checkPackageDefinition(final String pkg)
150 	{
151 		//The security manager accepts operation of this kind
152 	}
153 
154 	/***
155 	 * @see java.lang.SecurityManager#checkPermission(java.security.Permission,
156 	 *      java.lang.Object)
157 	 */
158 	public void checkPermission(final Permission perm, final Object context)
159 	{
160 		//The security manager accepts operation of this kind
161 	}
162 
163 	/***
164 	 * @see java.lang.SecurityManager#checkPermission(java.security.Permission)
165 	 */
166 	public void checkPermission(final Permission perm)
167 	{
168 		//The security manager accepts operation of this kind
169 	}
170 
171 	/***
172 	 * @see java.lang.SecurityManager#checkPropertiesAccess()
173 	 */
174 	public void checkPropertiesAccess()
175 	{
176 		//The security manager accepts operation of this kind
177 	}
178 
179 	/***
180 	 * @see java.lang.SecurityManager#checkSecurityAccess(java.lang.String)
181 	 */
182 	public void checkSecurityAccess(final String target)
183 	{
184 		//The security manager accepts operation of this kind
185 	}
186 }