SecurityManager.checkSetFactory
Class Overview | Class Members |
This Package |
All Packages
public void checkSetFactory()
Description
Throws a SecurityException if the
calling thread is not allowed to set the socket factory used by
ServerSocket or Socket, or the stream
handler factory used by URL.
The checkSetFactory method for class
SecurityManager always throws a
SecurityException.
Exceptions
SecurityException
if the caller does not have permission
to specify a socket factory or a stream handler factory.
See Also
setSocketFactory, setSocketImplFactory, setURLStreamHandlerFactory