org.kth.pdc.grid.services.sts.impl
Class STServiceImpl

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.utils.gridservit.GridServiceLite
      extended by org.kth.pdc.grid.services.sts.impl.STServiceImpl
All Implemented Interfaces:
StsService, ManagedGridService, WebAdmin, WSTrust, GridService, IdentifiableResource, PolicyManagement, ResourceMetadata

public class STServiceImpl
extends GridServiceLite
implements StsService, WebAdmin

Author:
mehrana TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
 
Fields inherited from class uk.ac.soton.itinnovation.grid.service.utils.gridservit.GridServiceLite
factory, groupUtils, management, NO_ACCOUNT_NEEDED, pbacUtils, pdp, proxyFactory, thisServiceAddress, wsdlCache
 
Fields inherited from interface org.kth.pdc.grid.serviceInt.StsService
STS_SERVICE_RESOURCE_TYPE
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.comms.management.ManagedGridService
FREE_SERVICE
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.comms.wstrust.WSTrust
DEFAULT_WSTRUST_ISSUER, requestSecurityToken, VALIDATE_SUBJECT_DESCRIPTION, WSTRUST_REQUEST_TYPE_ISSUANCE, WSTRUST_REQUEST_TYPE_VALIDATION, WSTRUST_SAML_1_1, WSTRUST_STATUS, WSTRUST_STATUS_INVALID, WSTRUST_STATUS_VALID, XMLNS_WSTRUST, XMLNS_WSU
 
Constructor Summary
STServiceImpl()
           
 
Method Summary
 void ensurePoliciesDeployed()
          Ensure that any required PBAC policies are deployed.
 List<String> getAdditionalFederationMethods()
           
 List<org.apache.axis.message.addressing.EndpointReferenceType> getAdditionalFederations()
           
 Document getAtomFeed(String atomFeed, String serviceBase)
          Return an Atom feed listing any problems or issues with this service.
 Document getDN(Element req)
           
 List<String> getFederatedMethods()
           
 org.apache.axis.message.addressing.EndpointReferenceType[] getResources()
          List the resources managed by this service for which the caller has some role.
 Document RequestSecurityToken_Issuance(Element request)
          Issue a security token.
 Document RequestSecurityToken_Validation(Element request)
          Validate security tokens.
 void setAdditionalFederation(org.apache.axis.message.addressing.EndpointReferenceType[] federations, String[] method)
           
 
Methods inherited from class uk.ac.soton.itinnovation.grid.service.utils.gridservit.GridServiceLite
addHibernatedObject, addPolicyRule, addTrustedAccountService, deleteHibernatedObject, generateEPR, getAvailableSignals, getConversationFromContext, getCurrentUser, getEPR, getEPR, getManagingConversation, getPolicyRules, getPrivateKey, getResourceFromEPR, GetResourceProperty, getResources, getResources, getResourcesFromEPRs, getResourceType, getSelectedRegistries, getServiceDatabaseKey, getServiceFromEPR, getServiceMatchPattern, getServiceProviderCertificate, getServiceProviderID, getServiceProviderIssuer, getTrustedAccountServices, getValidRoles, loadLocalRegistry, removePolicyRule, removeTrustedAccountService, RequestSecurityToken, setLabel, setLabel, signal, toMatchRules, validateOwner
 
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.comms.management.ManagedGridService
addTrustedAccountService, getTrustedAccountServices, removeTrustedAccountService
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.GridService
getServiceProviderID, getServiceProviderIssuer
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.IdentifiableResource
getServiceMatchPattern
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.wstrust.WSTrust
RequestSecurityToken
 

Constructor Detail

STServiceImpl

public STServiceImpl()
Method Detail

getResources

public org.apache.axis.message.addressing.EndpointReferenceType[] getResources()
                                                                        throws RemoteException
Description copied from interface: GridService
List the resources managed by this service for which the caller has some role.

Specified by:
getResources in interface GridService
Throws:
RemoteException

getAtomFeed

public Document getAtomFeed(String atomFeed,
                            String serviceBase)
                     throws GridFailureException
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)
Throws:
GridFailureException
See Also:
AtomUtils

ensurePoliciesDeployed

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

Specified by:
ensurePoliciesDeployed in interface WebAdmin
Throws:
RemoteException

getDN

public Document getDN(Element req)
               throws RemoteException,
                      Exception
Specified by:
getDN in interface StsService
Throws:
RemoteException
Exception

RequestSecurityToken_Issuance

public Document RequestSecurityToken_Issuance(Element request)
                                       throws RemoteException
Description copied from class: GridServiceLite
Issue a security token. Called by GridServiceLite.RequestSecurityToken(org.w3c.dom.Element) for issuance requests.

Overrides:
RequestSecurityToken_Issuance in class GridServiceLite
Throws:
RemoteException

RequestSecurityToken_Validation

public Document RequestSecurityToken_Validation(Element request)
Description copied from class: GridServiceLite
Validate security tokens. Called by GridServiceLite.RequestSecurityToken(org.w3c.dom.Element) for validation requests.

Overrides:
RequestSecurityToken_Validation in class GridServiceLite

getAdditionalFederations

public List<org.apache.axis.message.addressing.EndpointReferenceType> getAdditionalFederations()
Specified by:
getAdditionalFederations in interface ManagedGridService

getAdditionalFederationMethods

public List<String> getAdditionalFederationMethods()
Specified by:
getAdditionalFederationMethods in interface ManagedGridService

setAdditionalFederation

public void setAdditionalFederation(org.apache.axis.message.addressing.EndpointReferenceType[] federations,
                                    String[] method)
                             throws RemoteException
Specified by:
setAdditionalFederation in interface ManagedGridService
Throws:
RemoteException

getFederatedMethods

public List<String> getFederatedMethods()
Specified by:
getFederatedMethods in interface ManagedGridService


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