Documentation for this section has not yet been entered.
Type Reason Java.IO.IOException if an I/O error occurs while creating the permission object.
Returns a Permission object representing all needed permissions to open this connection. The returned permission object depends on the state of the connection and will be null if no permissions are necessary. By default, this method returns AllPermission. Subclasses should overwrite this method to return an appropriate permission object.