Adds a permission to the BasicPermissions. The key for the hash is
permission.path.
@param permission the Permission object to add.
@exception IllegalArgumentException - if the permission is not a
BasicPermission, or if
the permission is not of the
same Class as the other
permissions in this collection.
@exception SecurityException - if this BasicPermissionCollection object
has been marked readonly
Adds a permission to the BasicPermissions. The key for the hash is permission.path.
@param permission the Permission object to add.
@exception IllegalArgumentException - if the permission is not a BasicPermission, or if the permission is not of the same Class as the other permissions in this collection.
@exception SecurityException - if this BasicPermissionCollection object has been marked readonly