|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.xtreemos.xosd.services.SRCAServer
public class SRCAServer
Field Summary | |
---|---|
private CommunicationAddress |
_accesspoint_remoteaddress
|
private eu.xtreemos.system.eventmachine.queue.Context |
context
|
static java.lang.String |
servicename
AUTOGENERATED CODE |
Constructor Summary | |
---|---|
SRCAServer(eu.xtreemos.system.eventmachine.queue.Context context)
|
Method Summary | |
---|---|
void |
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. |
void |
applyForRegistration(ResourceDescriptorRecord __resource,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
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. |
void |
applyForRegistration(ResourceDescriptorRecord __resource,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
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. |
void |
confirmRegistration(ResourceID __id)
Confirm the registration of a resource that has previously been applied for the registration using applyForRegistration . |
void |
confirmRegistration(ResourceID __id,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Confirm the registration of a resource that has previously been applied for the registration using applyForRegistration . |
void |
confirmRegistration(ResourceID __id,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Confirm the registration of a resource that has previously been applied for the registration using applyForRegistration . |
void |
getPendingResources()
Returns a list of resource descriptions describing the resources listed in the RCA DB as pending for registration. |
void |
getPendingResources(eu.xtreemos.system.communication.bus.CallbackMessage callback)
Returns a list of resource descriptions describing the resources listed in the RCA DB as pending for registration. |
void |
getPendingResources(eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Returns a list of resource descriptions describing the resources listed in the RCA DB as pending for registration. |
void |
getRegisteredResources()
Returns a list of resource descriptions describing the resources listed in the RCA DB as registered. |
void |
getRegisteredResources(eu.xtreemos.system.communication.bus.CallbackMessage callback)
Returns a list of resource descriptions describing the resources listed in the RCA DB as registered. |
void |
getRegisteredResources(eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Returns a list of resource descriptions describing the resources listed in the RCA DB as registered. |
void |
getResourceStatus(ResourceID __id)
Retrieves the current status of the resource according to the RCA DB. |
void |
getResourceStatus(ResourceID __id,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Retrieves the current status of the resource according to the RCA DB. |
void |
getResourceStatus(ResourceID __id,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Retrieves the current status of the resource according to the RCA DB. |
void |
notifyVOMembershipChange(ResourceID __id,
java.lang.String __vo,
java.lang.Boolean __addition)
Lets manipulate with the resource's membership of a VO. |
void |
notifyVOMembershipChange(ResourceID __id,
java.lang.String __vo,
java.lang.Boolean __addition,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Lets manipulate with the resource's membership of a VO. |
void |
notifyVOMembershipChange(ResourceID __id,
java.lang.String __vo,
java.lang.Boolean __addition,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Lets manipulate with the resource's membership of a VO. |
void |
processClientCertificateDeletion(java.lang.Integer __result)
|
void |
processClientCertificateDeletion(java.lang.Integer __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
|
void |
processClientCertificateDeletion(java.lang.Integer __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
void |
processClientCertificateDeletionFailure(java.lang.Exception __ex)
|
void |
processClientCertificateDeletionFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
|
void |
processClientCertificateDeletionFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
void |
processMachineCertForNodeNotification(java.security.cert.X509Certificate __cert)
Proceed with the execution from notifyVOMembershipChange, receiving the certificate from the client. |
void |
processMachineCertForNodeNotification(java.security.cert.X509Certificate __cert,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Proceed with the execution from notifyVOMembershipChange, receiving the certificate from the client. |
void |
processMachineCertForNodeNotification(java.security.cert.X509Certificate __cert,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Proceed with the execution from notifyVOMembershipChange, receiving the certificate from the client. |
void |
processMachineCertForNodeNotificationFailed(java.lang.Exception __ex)
|
void |
processMachineCertForNodeNotificationFailed(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
|
void |
processMachineCertForNodeNotificationFailed(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
void |
requestCertificate(ResourceID __id,
org.bouncycastle.jce.PKCS10CertificationRequest __certRequest)
Serves the client's request for signing the certificate. |
void |
requestCertificate(ResourceID __id,
org.bouncycastle.jce.PKCS10CertificationRequest __certRequest,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Serves the client's request for signing the certificate. |
void |
requestCertificate(ResourceID __id,
org.bouncycastle.jce.PKCS10CertificationRequest __certRequest,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Serves the client's request for signing the certificate. |
void |
requestVOCertificate(ResourceID __id,
java.security.cert.X509Certificate __certificate,
java.lang.String __vo)
|
void |
requestVOCertificate(ResourceID __id,
java.security.cert.X509Certificate __certificate,
java.lang.String __vo,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
|
void |
requestVOCertificate(ResourceID __id,
java.security.cert.X509Certificate __certificate,
java.lang.String __vo,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
void |
setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)
|
void |
unregisterResource(ResourceID __id)
Remove the resource from the list of registered resources. |
void |
unregisterResource(ResourceID __id,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Remove the resource from the list of registered resources. |
void |
unregisterResource(ResourceID __id,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
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
private eu.xtreemos.system.eventmachine.queue.Context context
private CommunicationAddress _accesspoint_remoteaddress
Constructor Detail |
---|
public SRCAServer(eu.xtreemos.system.eventmachine.queue.Context context)
Method Detail |
---|
public void setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)
public void getRegisteredResources()
public void getRegisteredResources(eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getRegisteredResources(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void getPendingResources()
public void getPendingResources(eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getPendingResources(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void applyForRegistration(ResourceDescriptorRecord __resource)
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.public void applyForRegistration(ResourceDescriptorRecord __resource, eu.xtreemos.system.communication.bus.CallbackMessage callback)
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.public void applyForRegistration(ResourceDescriptorRecord __resource, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
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.public void confirmRegistration(ResourceID __id)
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.public void confirmRegistration(ResourceID __id, eu.xtreemos.system.communication.bus.CallbackMessage callback)
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.public void confirmRegistration(ResourceID __id, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
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.public void unregisterResource(ResourceID __id)
id
- The id of the resource record signifying the resource to be
removed for the list of registered resources.public void unregisterResource(ResourceID __id, eu.xtreemos.system.communication.bus.CallbackMessage callback)
id
- The id of the resource record signifying the resource to be
removed for the list of registered resources.public void unregisterResource(ResourceID __id, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
id
- The id of the resource record signifying the resource to be
removed for the list of registered resources.public void requestCertificate(ResourceID __id, org.bouncycastle.jce.PKCS10CertificationRequest __certRequest)
applyForRegistration
and confirmRegistration
have to precede
this call.
id
- The id of the resource that requests the certificate signature.certRequest
- The certificate signature request.
java.lang.IllegalArgumentException
- Thrown when the certificate request is
invalid.
InvalidKeyException
SignatureException
java.lang.Exception
public void requestCertificate(ResourceID __id, org.bouncycastle.jce.PKCS10CertificationRequest __certRequest, eu.xtreemos.system.communication.bus.CallbackMessage callback)
applyForRegistration
and confirmRegistration
have to precede
this call.
id
- The id of the resource that requests the certificate signature.certRequest
- The certificate signature request.
java.lang.IllegalArgumentException
- Thrown when the certificate request is
invalid.
InvalidKeyException
SignatureException
java.lang.Exception
public void requestCertificate(ResourceID __id, org.bouncycastle.jce.PKCS10CertificationRequest __certRequest, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
applyForRegistration
and confirmRegistration
have to precede
this call.
id
- The id of the resource that requests the certificate signature.certRequest
- The certificate signature request.
java.lang.IllegalArgumentException
- Thrown when the certificate request is
invalid.
InvalidKeyException
SignatureException
java.lang.Exception
public void getResourceStatus(ResourceID __id)
id
- The identifier of the resource to check the status of.public void getResourceStatus(ResourceID __id, eu.xtreemos.system.communication.bus.CallbackMessage callback)
id
- The identifier of the resource to check the status of.public void getResourceStatus(ResourceID __id, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
id
- The identifier of the resource to check the status of.public void requestVOCertificate(ResourceID __id, java.security.cert.X509Certificate __certificate, java.lang.String __vo)
public void requestVOCertificate(ResourceID __id, java.security.cert.X509Certificate __certificate, java.lang.String __vo, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void requestVOCertificate(ResourceID __id, java.security.cert.X509Certificate __certificate, java.lang.String __vo, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void notifyVOMembershipChange(ResourceID __id, java.lang.String __vo, java.lang.Boolean __addition)
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.public void notifyVOMembershipChange(ResourceID __id, java.lang.String __vo, java.lang.Boolean __addition, eu.xtreemos.system.communication.bus.CallbackMessage callback)
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.public void notifyVOMembershipChange(ResourceID __id, java.lang.String __vo, java.lang.Boolean __addition, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
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.public void processMachineCertForNodeNotification(java.security.cert.X509Certificate __cert)
cert
- The client's certificate.
java.lang.Exception
BadResourceException
SignatureException
java.lang.IllegalArgumentException
InvalidKeyException
public void processMachineCertForNodeNotification(java.security.cert.X509Certificate __cert, eu.xtreemos.system.communication.bus.CallbackMessage callback)
cert
- The client's certificate.
java.lang.Exception
BadResourceException
SignatureException
java.lang.IllegalArgumentException
InvalidKeyException
public void processMachineCertForNodeNotification(java.security.cert.X509Certificate __cert, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
cert
- The client's certificate.
java.lang.Exception
BadResourceException
SignatureException
java.lang.IllegalArgumentException
InvalidKeyException
public void processMachineCertForNodeNotificationFailed(java.lang.Exception __ex)
public void processMachineCertForNodeNotificationFailed(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void processMachineCertForNodeNotificationFailed(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void processClientCertificateDeletion(java.lang.Integer __result)
public void processClientCertificateDeletion(java.lang.Integer __result, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void processClientCertificateDeletion(java.lang.Integer __result, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void processClientCertificateDeletionFailure(java.lang.Exception __ex)
public void processClientCertificateDeletionFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void processClientCertificateDeletionFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |