uk.ac.soton.itinnovation.grid.comms.account
Class TradeAccountHelpers
java.lang.Object
uk.ac.soton.itinnovation.grid.client.proxy.AbstractProxyHelpers<T>
uk.ac.soton.itinnovation.grid.client.proxy.LegacyProxyHelpers<TradeAccountResource>
uk.ac.soton.itinnovation.grid.comms.account.TradeAccountHelpers
- All Implemented Interfaces:
- Comparable<StorableInStateRepository>, Conversation, StorableInStateRepository, ProxyHelpers, WebProxy
@RawProxyInterface(value=TradeAccountResource.class)
public class TradeAccountHelpers
- extends LegacyProxyHelpers<TradeAccountResource>
| Methods inherited from class uk.ac.soton.itinnovation.grid.client.proxy.LegacyProxyHelpers |
compareTo, createMatchPattern, createMatchRule, getClientMatchPattern, getDescription, getEndpoint, getEndpointRef, getOwnerRule, getService, getServiceMatchPattern, getURL, setDescription, setLabel, toString |
TradeAccountHelpers
public TradeAccountHelpers()
getPolicyRules
public PolicyRule[] getPolicyRules()
throws RemoteException
- Throws:
RemoteException
addPolicyRule
public void addPolicyRule(PolicyRule rule)
throws RemoteException
- Throws:
RemoteException
removePolicyRule
public void removePolicyRule(PolicyRule rule)
throws RemoteException
- Throws:
RemoteException
getValidRoles
public String[] getValidRoles()
throws RemoteException
- Throws:
RemoteException
ensureIsUser
public void ensureIsUser(SubjectDescription subject)
throws RemoteException,
GridFailureException,
TokenInvalidException
- Determine if a user can use an account. Calls the Account Service's WS-Trust interface (5.1 upwards) or falls back to checkUser.
- Throws:
RemoteException
GridFailureException
TokenInvalidException
getServiceIface
protected Class<RemoteTradeAccountService> getServiceIface()
- Overrides:
getServiceIface in class LegacyProxyHelpers<TradeAccountResource>
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.