uk.ac.soton.itinnovation.grid.pbac2.pep
Annotation Type PEPServiceResource


@Retention(value=RUNTIME)
public @interface PEPServiceResource

The PBAC resource type of a service. When a client invokes a service without specifying a context, the PEP checks against the 'service' resource for that service. This annotation specifies the name for this resource. If missing, non-contextualised operations are not permitted.

See Also:
PEP

Required Element Summary
 String resourceType
          The PBAC resource type of the service.
 String singletonResource
          The resource ID of the singleton resource representing the service.
 

Element Detail

singletonResource

public abstract String singletonResource
The resource ID of the singleton resource representing the service. By convention, this starts with 'service:'.


resourceType

public abstract String resourceType
The PBAC resource type of the service. This is used when creating the singleton resource.

See Also:
PBACUtils.ensureServiceResource(java.lang.Object, uk.ac.soton.itinnovation.grid.types.PolicyRule...)


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.