|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.xtreemos.xati.API.XRCAServer
public class XRCAServer
Field Summary | |
---|---|
static java.lang.String |
servicename
|
Constructor Summary | |
---|---|
XRCAServer()
|
Method Summary | |
---|---|
static java.lang.Integer |
applyForRegistration(ResourceDescriptorRecord __resource)
Put the resource on the list of resources that can be registered, but need to wait for an authorised administrator to confirm the registration using the confirmRegistration call before
the resource can have its certificates signed by the RCA. |
static java.lang.Integer |
confirmRegistration(ResourceID __id)
Confirm the registration of a resource that has previously been applied for the registration using applyForRegistration . |
static java.util.ArrayList<ResourceDescriptorRecord> |
getPendingResources()
Returns a list of resource descriptions describing the resources listed in the RCA DB as pending for registration. |
static java.util.ArrayList<ResourceDescriptorRecord> |
getRegisteredResources()
Returns a list of resource descriptions describing the resources listed in the RCA DB as registered. |
static java.lang.Integer |
getResourceStatus(ResourceID __id)
Retrieves the current status of the resource according to the RCA DB. |
static java.lang.Integer |
notifyVOMembershipChange(ResourceID __id,
java.lang.String __vo,
java.lang.Boolean __addition)
Lets manipulate with the resource's membership of a VO. |
static ResourceDescriptorRecord |
unregisterResource(ResourceID __id)
Remove the resource from the list of registered resources. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String servicename
Constructor Detail |
---|
public XRCAServer()
Method Detail |
---|
public static java.util.ArrayList<ResourceDescriptorRecord> getRegisteredResources() throws java.lang.Exception
java.lang.Exception
public static java.util.ArrayList<ResourceDescriptorRecord> getPendingResources() throws java.lang.Exception
java.lang.Exception
public static java.lang.Integer applyForRegistration(ResourceDescriptorRecord __resource) throws java.lang.Exception
confirmRegistration
call before
the resource can have its certificates signed by the RCA.
If the resource is already on any of the lists, then their entry
gets replaced with the new value, thus updating the application
or the registration.
resource
- The descriptor of the resource applying for the
registration.
java.lang.Exception
public static java.lang.Integer confirmRegistration(ResourceID __id) throws java.lang.Exception
applyForRegistration
. After
this call, the RCA will sign certificates for the registered resource
(requestCertificate
).
id
- The id of the resource record signifying the resource to be
confirmed for the registration.
java.lang.Exception
public static ResourceDescriptorRecord unregisterResource(ResourceID __id) throws java.lang.Exception
id
- The id of the resource record signifying the resource to be
removed for the list of registered resources.
java.lang.Exception
public static java.lang.Integer getResourceStatus(ResourceID __id) throws java.lang.Exception
id
- The identifier of the resource to check the status of.
java.lang.Exception
public static java.lang.Integer notifyVOMembershipChange(ResourceID __id, java.lang.String __vo, java.lang.Boolean __addition) throws java.lang.Exception
id
- The identification of the resource we are setting the
membership in a VO of.vo
- The VO to set the membership in.addition
- If true, the membership will be set, and if false, the
VO will be removed from the list of VOs the resource is a member of.
ResourceNotRegisteredException
- If the resource is not on the
list of the registered resources.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |