Top   Module   Use   Manual   Index 

com :: sun :: star :: security ::

struct Permission


Description

WARNING: this is just a draft and may be changed!

Generic permission defined by its type, target and action (list).


Elements

string PermissionType
Description
type name of permission; pre-defined names are:
  • java.io.FilePermission
  • java.net.SocketPermission
  • java.util.PropertyPermission
  • java.lang.RuntimePermission
  • java.net.NetPermission
  • java.security.SecurityPermission
  • java.security.AllPermission
  • xxx todo: more?
string PermissionTarget
Description
target of permission, e.g. file name
string PermissionActions
Description
(list) of actions permitted, e.g. "read,write"
Top of Page