class SocketPermission : Permission, Serializable

Legacy security code; do not use.

Summary

Public constructors

SocketPermission(host: String!, action: String!)

Public methods
String!
Boolean
Inherited functions

From class Permission

Unit checkGuard(object: Any!)

Determines whether or not to allow access to the guarded object object. Returns silently if access is allowed. Otherwise, throws a SecurityException.

String! getName()
PermissionCollection! newPermissionCollection()

Public constructors

SocketPermission

SocketPermission(
    host: String!,
    action: String!)

Public methods

getActions

fun getActions(): String!

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-02-13 UTC.