ProtectionDomain

Properties
name data type description
classLoader ClassLoader
codeSource CodeSource
permissions PermissionCollection
principals array of object

Example

{
  "principals" : [ { }, { } ],
  "classLoader" : {
    "systemClassLoader" : { },
    "parent" : { }
  },
  "codeSource" : {
    "location" : {
      "path" : "...",
      "port" : 12345.0,
      "defaultPort" : 12345.0,
      "authority" : "...",
      "file" : "...",
      "host" : "...",
      "content" : { },
      "query" : "...",
      "protocol" : "...",
      "userInfo" : "...",
      "ref" : "..."
    },
    "certificates" : [ {
      "type" : "...",
      "publicKey" : { },
      "encoded" : "..."
    }, {
      "type" : "...",
      "publicKey" : { },
      "encoded" : "..."
    } ],
    "codeSigners" : [ {
      "timestamp" : { },
      "signerCertPath" : { }
    }, {
      "timestamp" : { },
      "signerCertPath" : { }
    } ]
  },
  "permissions" : {
    "readOnly" : true
  }
}