-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
1.4.0, 5.0
-
Fix Understood
-
sparc
-
solaris_2.6, solaris_7
In RMI, SecurityException will be thrown from some methods associated with
registry because
1) they don't have SocketPermission to connect to or listen to certain registry
ports or
2) they don't have FilePermission to download code from certain codebase
This type of SecurityException needs to be specified for the following
methods. Also, it is desirable to list the permissions needed for such methods
in the spec.
Naming.bind()
Naming.list()
Naming.lookup()
Naming.unbind()
Naming.rebind()
RMIClassLoader.loadClass()
Registry.bind()
Registry.list()
Registry.lookup()
Registry.rebind()
Registry.unbind()
UnicastRemoteObject.UnicastRemoteObject(int port)
UnicastRemoteObject.exportObject(Remote obj, int port)
registry because
1) they don't have SocketPermission to connect to or listen to certain registry
ports or
2) they don't have FilePermission to download code from certain codebase
This type of SecurityException needs to be specified for the following
methods. Also, it is desirable to list the permissions needed for such methods
in the spec.
Naming.bind()
Naming.list()
Naming.lookup()
Naming.unbind()
Naming.rebind()
RMIClassLoader.loadClass()
Registry.bind()
Registry.list()
Registry.lookup()
Registry.rebind()
Registry.unbind()
UnicastRemoteObject.UnicastRemoteObject(int port)
UnicastRemoteObject.exportObject(Remote obj, int port)
- duplicates
-
JDK-4952034 some rmi methods throw unspecified Security exceptions
- Closed