uk.ac.soton.itinnovation.grid.comms.ogsadai
Interface OgsaDaiDBRoleI

All Superinterfaces:
PolicyManagement, ResourceMetadata, WSResourceLifetime
All Known Subinterfaces:
OgsaDaiServiceSOAP
All Known Implementing Classes:
OgsaDaiServiceI2Impl, OgsaDaiServiceImpl

Deprecated. See DataResourceRole.

@WebServiceWSDL(targetNamespace="http://www.it-innovation.soton.ac.uk/2004/grid/ogsadai-db-role",
                portTypeName="OgsaDaiDBRole",
                resourcePath="ogsadaidbrole.wsdl",
                serviceName="OgsaDaiDBRole",
                bindingName="OgsaDaiDBRoleSoapBinding")
public interface OgsaDaiDBRoleI
extends WSResourceLifetime, ResourceMetadata, PolicyManagement

The public interface for the database role objects. Specifies a list of methods supported by database role resources. Implemented by OgsaDaiDBConversation on the client side and OgsaDaiServiceSOAP on the service side.


Field Summary
static String OGSADAI_DB_ROLE_RESOURCE_TYPE
          Deprecated. A unique string to represent a type of resource accessed through the service.
 
Method Summary
 void addClientRule(MatchRule rule)
          Deprecated. Replaced by PolicyManagement.addPolicyRule(uk.ac.soton.itinnovation.grid.types.PolicyRule)
 void addOwnerRule(MatchRule rule)
          Deprecated. Replaced by PolicyManagement.addPolicyRule(uk.ac.soton.itinnovation.grid.types.PolicyRule)
 MatchRule[] getClientRules()
          Deprecated. Replaced by PolicyManagement.getPolicyRules()
 String[] getDetails()
          Deprecated. Replaced by DataResourceRole.getDataResourceRoleAttributes().
 MatchRule[] getOwnerRules()
          Deprecated. Replaced by PolicyManagement.getPolicyRules()
 MatchRule[] getRules()
          Deprecated. Replaced by PolicyManagement.getPolicyRules()
 void modifyRole(String label, String username, String password, String metricURI)
          Deprecated. Replaced by DataResourceRole.modifyDataResourceRole(java.lang.String, java.util.Map).
 void removeClientRule(MatchRule rule)
          Deprecated. Replaced by PolicyManagement.removePolicyRule(uk.ac.soton.itinnovation.grid.types.PolicyRule)
 void removeOwnerRule(MatchRule rule)
          Deprecated. Replaced by PolicyManagement.removePolicyRule(uk.ac.soton.itinnovation.grid.types.PolicyRule)
 org.apache.axis.message.addressing.EndpointReferenceType subscribe(MatchRule owner, String label)
          Deprecated. Replaced by DataResourceRole.createSubscription(uk.ac.soton.itinnovation.grid.types.MatchRule, java.lang.String).
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.wsrf.WSResourceLifetime
destroy
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.ResourceMetadata
getEPR, setLabel
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.PolicyManagement
addPolicyRule, getPolicyRules, getValidRoles, removePolicyRule
 

Field Detail

OGSADAI_DB_ROLE_RESOURCE_TYPE

static final String OGSADAI_DB_ROLE_RESOURCE_TYPE
Deprecated. 
A unique string to represent a type of resource accessed through the service. The PBAC policy with this name is used to protect operations on the service which quote a context with this type. When discovering resources, they have this type in their metadata.

See Also:
ConversationID.getResourceType(org.apache.axis.message.addressing.EndpointReferenceType), Constant Field Values
Method Detail

addOwnerRule

@WebMethod
@Deprecated
void addOwnerRule(MatchRule rule)
                  throws RemoteException
Deprecated. Replaced by PolicyManagement.addPolicyRule(uk.ac.soton.itinnovation.grid.types.PolicyRule)

Add a MatchRule to the policy protecting this resource. The rule must be for the 'owner' process role.

Throws:
RemoteException

removeOwnerRule

@WebMethod
@Deprecated
void removeOwnerRule(MatchRule rule)
                     throws RemoteException
Deprecated. Replaced by PolicyManagement.removePolicyRule(uk.ac.soton.itinnovation.grid.types.PolicyRule)

Remove a MatchRule from the policy protecting this resource. The rule must be for the 'owner' process role.

Throws:
RemoteException

getOwnerRules

@WebMethod
@Deprecated
MatchRule[] getOwnerRules()
                          throws RemoteException
Deprecated. Replaced by PolicyManagement.getPolicyRules()

List the rules for the 'owner' role of this resource.

Throws:
RemoteException

getClientRules

@WebMethod
@Deprecated
MatchRule[] getClientRules()
                           throws RemoteException
Deprecated. Replaced by PolicyManagement.getPolicyRules()

List the rules for the 'client' role of this resource.

Throws:
RemoteException

addClientRule

@WebMethod
@Deprecated
void addClientRule(MatchRule rule)
                   throws RemoteException
Deprecated. Replaced by PolicyManagement.addPolicyRule(uk.ac.soton.itinnovation.grid.types.PolicyRule)

Add a MatchRule to the policy protecting this resource. The rule must be for the 'client' process role.

Throws:
RemoteException

removeClientRule

@WebMethod
@Deprecated
void removeClientRule(MatchRule rule)
                      throws RemoteException
Deprecated. Replaced by PolicyManagement.removePolicyRule(uk.ac.soton.itinnovation.grid.types.PolicyRule)

Remove a MatchRule from the policy protecting this resource. The rule must be for the 'client' process role.

Throws:
RemoteException

getRules

@WebMethod
@Deprecated
MatchRule[] getRules()
                     throws RemoteException
Deprecated. Replaced by PolicyManagement.getPolicyRules()

List all the rules protecting access to this resource.

Throws:
RemoteException

subscribe

@WebMethod(usesBillingHeader=true)
@Deprecated
org.apache.axis.message.addressing.EndpointReferenceType subscribe(MatchRule owner,
                                                                                                         String label)
                                                                   throws RemoteException
Deprecated. Replaced by DataResourceRole.createSubscription(uk.ac.soton.itinnovation.grid.types.MatchRule, java.lang.String).

Creates a new subscription to this role resource. Note that this version of this method should not be used in client applications and will return null. Instead use the version in OgsaDaiRoleConversation

Parameters:
owner - The new owner role for the subscription.
label - A label for the new subscription.
Returns:
An EPR describing the new subscription resource.
Throws:
RemoteException

getDetails

@WebMethod
@Deprecated
String[] getDetails()
                    throws RemoteException
Deprecated. Replaced by DataResourceRole.getDataResourceRoleAttributes().

Returns the username, password, and metric URI for this role resource.

Returns:
A string array containing information about the role. Element 0 is the username, element 1 the password, and element 2 the metric URI.
Throws:
RemoteException

modifyRole

@WebMethod
@Deprecated
void modifyRole(String label,
                                     String username,
                                     String password,
                                     String metricURI)
                throws RemoteException
Deprecated. Replaced by DataResourceRole.modifyDataResourceRole(java.lang.String, java.util.Map).

Modifies this role resource. Note that this method is not accessible on automatically created roles as it would not make sense to change the login information. If you want to change the label, use setLabel.

Parameters:
label - The new label.
username - The new RDBMS username.
password - The new RDBMS password.
metricURI - The new metric URI.
Throws:
RemoteException


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