uk.ac.soton.itinnovation.grid.service.membership
Class MembershipGroupResourceImpl
java.lang.Object
uk.ac.soton.itinnovation.grid.service.utils.gridservit.GridServiceLite
uk.ac.soton.itinnovation.grid.service.membership.MembershipGroupResourceImpl
- All Implemented Interfaces:
- MembershipGroupResource, WSResourceLifetime, WSTrust, IdentifiableResource, PolicyManagement, ResourceMetadata, Signallable
public class MembershipGroupResourceImpl
- extends GridServiceLite
- implements MembershipGroupResource
| 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 |
| 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, 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 |
MembershipGroupResourceImpl
public MembershipGroupResourceImpl()
destroy
public void destroy()
throws ResourceUnknownFault,
ResourceNotDestroyedFault
- Specified by:
destroy in interface WSResourceLifetime
- Throws:
ResourceUnknownFault
ResourceNotDestroyedFault
getResourceType
protected Class<? extends GridResource> getResourceType(String resourceID)
- Description copied from class:
GridServiceLite
- Return the class of this resource's bean. Override this in subclasses if your
service is contextualised.
Often, resourceID can be ignored as each service only manages one type of bean anyway.
- Overrides:
getResourceType in class GridServiceLite
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)
throws RemoteException
- 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
- Throws:
RemoteException
getMembershipPattern
public MatchPattern getMembershipPattern()
throws RemoteException
- Description copied from interface:
MembershipGroupResource
- Get a pattern to match group members.
- Specified by:
getMembershipPattern in interface MembershipGroupResource
- Returns:
- a pattern which will match a user who presents a token
issued by this service's
WSTrust.RequestSecurityToken(org.w3c.dom.Element) operation,
asserting that they are in the group.
- Throws:
RemoteException
getMembershipRule
@Deprecated
public MatchRule getMembershipRule()
throws RemoteException
- Deprecated.
- Description copied from interface:
MembershipGroupResource
- Get a rule to match group members.
- Specified by:
getMembershipRule in interface MembershipGroupResource
- Returns:
- a rule which will match a user who presents a token
issued by this service's
WSTrust.RequestSecurityToken(org.w3c.dom.Element) operation,
asserting that they are in the group.
- Throws:
RemoteException
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.