uk.ac.soton.itinnovation.grid.pbac2.service
Class PDPServiceImpl

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.pbac2.pdp.dynamic.PDPImpl
      extended by uk.ac.soton.itinnovation.grid.pbac2.service.PDPServiceImpl
All Implemented Interfaces:
WebAdmin, PDP, PDPService

public class PDPServiceImpl
extends PDPImpl
implements PDPService


Field Summary
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.pbac2.service.PDPService
PBAC_SERVICE_RESOURCE_TYPE
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.pbac2.pdp.PDP
DESTROYED_STATE, GROUP_MEMBER_ROLE, UNINITIALISED_STATE
 
Constructor Summary
PDPServiceImpl()
           
 
Method Summary
 void ensurePoliciesDeployed()
          Ensure that any required PBAC policies are deployed.
 Document getAtomFeed(String atomFeed, String serviceBase)
          Return an Atom feed listing any problems or issues with this service.
static PDP getPDP()
           
 String getVersion()
          Returns the version of PBAC being used.
 
Methods inherited from class uk.ac.soton.itinnovation.grid.pbac2.pdp.dynamic.PDPImpl
addAccessControlRule, check, deployPolicy, getAccessControlRules, getAvailableSignals, getDefaultVersion, getDeployedPolicies, getHasRole, getProcessRolesForSubject, getProcessState, getResources, getResourceStatusMessage, getResourceType, getStaticPolicy, getValidProcessRoles, lockAndCheck, lockForAdmin, newProcess, removeAccessControlRule, setLockTimeout, shutdown, signal, undeployPolicy, unlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.pbac2.pdp.PDP
addAccessControlRule, check, deployPolicy, getAccessControlRules, getAvailableSignals, getDefaultVersion, getDeployedPolicies, getHasRole, getProcessRolesForSubject, getProcessState, getResources, getResourceType, getStaticPolicy, getValidProcessRoles, lockAndCheck, lockForAdmin, newProcess, removeAccessControlRule, signal, undeployPolicy, unlock
 

Constructor Detail

PDPServiceImpl

public PDPServiceImpl()
Method Detail

getVersion

public String getVersion()
Description copied from interface: PDP
Returns the version of PBAC being used.

Specified by:
getVersion in interface PDP
Overrides:
getVersion in class PDPImpl

getAtomFeed

public Document getAtomFeed(String atomFeed,
                            String serviceBase)
Description copied from interface: WebAdmin
Return an Atom feed listing any problems or issues with this service. The feed is displayed on the main admin page, and the feed can also be used with various aggregators.

Specified by:
getAtomFeed in interface WebAdmin
Parameters:
atomFeed - the URL of the feed
serviceBase - the service administration URL (for creating hyperlinks)
See Also:
AtomUtils

ensurePoliciesDeployed

public void ensurePoliciesDeployed()
                            throws GridFailureException
Description copied from interface: WebAdmin
Ensure that any required PBAC policies are deployed.

Specified by:
ensurePoliciesDeployed in interface WebAdmin
Throws:
GridFailureException

getPDP

public static PDP getPDP()


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