The
Pap
class is a JavaBean describing the information associated to a pap.
The PAP service (PAP uppercase) is organized in units and each unit is called pap (pap lowercase). Basically a pap is a container for policies. This class models the information associated to a pap and not its content (for managing the policies of a pap see {@link PapContainer}.
A pap can be local or remote. The policies of a local pap are written by the administrator of the PAP service, on the other side the policies of a remote pap are retrieved remotely (downloaded from the owner PAP). Information like hostname, port, protocol and path are used to build the endpoint of a remote pap. A pap can also be private or public. When a PAP requests policies to another PAP, the policies that are actually sent are all the public policies belonging to a public pap. Finally a pap can be enabled or disabled. If it's enabled then its policies are sent to PDPs, otherwise they are not. By default a pap is not enabled.
@see PapManager
@see PapContainer