uk.ac.soton.itinnovation.grid.client.membership
Interface MembershipGroupConversation

All Superinterfaces:
Comparable<StorableInStateRepository>, Conversation, IdentifiableResource, MembershipGroupResource, PolicyManagement, ResourceMetadata, Signallable, StorableInStateRepository, WSResourceLifetime, WSTrust

@WebService(targetNamespace="http://www.it-innovation.soton.ac.uk/2006/grid/group",
            name="MembershipGroupResource",
            serviceName="MembershipGroup",
            wsdlLocation="membership-group.wsdl")
@InterfaceWithWSDL(value=MembershipGroupResource.class)
public interface MembershipGroupConversation
extends Conversation, MembershipGroupResource


Field Summary
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.comms.membership.MembershipGroupResource
MEMBERSHIP_GROUP_RESOURCE_TYPE
 
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
 
Method Summary
 void ensureIsMember(SubjectDescription subject)
          Check whether this subject is a member of the group.
 Document getMembershipToken()
          Request a token asserting membership of the group.
 
Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.Conversation
getService
 
Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.StorableInStateRepository
getDescription, getEndpointRef, getURL, setDescription
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.membership.MembershipGroupResource
getMembershipPattern, getMembershipRule
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.wsrf.WSResourceLifetime
destroy
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.PolicyManagement
addPolicyRule, getPolicyRules, getValidRoles, removePolicyRule
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.wstrust.WSTrust
RequestSecurityToken
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.ResourceMetadata
getEPR, setLabel
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.IdentifiableResource
getServiceMatchPattern
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.Signallable
getAvailableSignals, signal
 

Method Detail

getMembershipToken

Document getMembershipToken()
                            throws RemoteException
Request a token asserting membership of the group. This is a wrapper for WSTrust.RequestSecurityToken(org.w3c.dom.Element) that sends a correctly formatted request.

Throws:
RemoteException

ensureIsMember

void ensureIsMember(SubjectDescription subject)
                    throws RemoteException,
                           TokenInvalidException
Check whether this subject is a member of the group. This is a wrapper for a WS-Trust validate call.

Throws:
TokenInvalidException - if the service says "no"
RemoteException


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