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

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

@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.
 String getMembershipGroup()
           
 Document getMembershipToken()
          Request a token asserting membership of the group.
 void setMembershipGroup()
           
 
Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.Conversation
finish, getChildConversations, getService, isFinished, outOfDate
 
Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.StorableInStateRepository
getDescription, getEndpointRef, getInterface, getParentURL, getRepository, 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.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

setMembershipGroup

void setMembershipGroup()

getMembershipGroup

String getMembershipGroup()


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