eu.xtreemos.xosd.services
Class SVOPS

java.lang.Object
  extended by eu.xtreemos.xosd.services.SVOPS

public class SVOPS
extends java.lang.Object


Field Summary
private  CommunicationAddress _accesspoint_remoteaddress
           
private  eu.xtreemos.system.eventmachine.queue.Context context
           
static java.lang.String servicename
          AUTOGENERATED CODE
 
Constructor Summary
SVOPS(eu.xtreemos.system.eventmachine.queue.Context context)
           
 
Method Summary
 void addPolicy(java.lang.String __xacmlPolicy, java.security.cert.X509Certificate __userCtx)
          Adds XACML policy into policy storage.
 void addPolicy(java.lang.String __xacmlPolicy, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Adds XACML policy into policy storage.
 void addPolicy(java.lang.String __xacmlPolicy, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Adds XACML policy into policy storage.
 void addRule(java.lang.String __ruleXML, java.lang.String __policyId)
          Adds rule which is passed as XML string to the policy identified by policyId.
 void addRule(java.lang.String __ruleXML, java.lang.String __policyId, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Adds rule which is passed as XML string to the policy identified by policyId.
 void addRule(java.lang.String __ruleXML, java.lang.String __policyId, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Adds rule which is passed as XML string to the policy identified by policyId.
 void addXACMLRule(java.lang.String __ruleXACML, java.lang.String __policyId, java.security.cert.X509Certificate __userCtx)
          Adds rule which is passed as XML string in XACML format to the policy identified by policyId.Returns rule created as String object.
 void addXACMLRule(java.lang.String __ruleXACML, java.lang.String __policyId, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Adds rule which is passed as XML string in XACML format to the policy identified by policyId.Returns rule created as String object.
 void addXACMLRule(java.lang.String __ruleXACML, java.lang.String __policyId, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Adds rule which is passed as XML string in XACML format to the policy identified by policyId.Returns rule created as String object.
 void createPolicy(java.lang.String __policyID, java.lang.String __description)
          Deprecated.  
 void createPolicy(java.lang.String __policyID, java.lang.String __description, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Deprecated.  
 void createPolicy(java.lang.String __policyID, java.lang.String __description, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Deprecated.  
 void createPolicyWithTarget(java.lang.String __policyID, java.lang.String __description, java.lang.String __target)
          Creates an empty policy containing target as provided.
 void createPolicyWithTarget(java.lang.String __policyID, java.lang.String __description, java.lang.String __target, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Creates an empty policy containing target as provided.
 void createPolicyWithTarget(java.lang.String __policyID, java.lang.String __description, java.lang.String __target, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Creates an empty policy containing target as provided.
 void evaluateRequest(java.lang.String __xacmlRequest)
          Method constructs XACML request from XML passed as request and applies xacml request against policies stored in policy storage @see PolicyFactory.
 void evaluateRequest(java.lang.String __xacmlRequest, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Method constructs XACML request from XML passed as request and applies xacml request against policies stored in policy storage @see PolicyFactory.
 void evaluateRequest(java.lang.String __xacmlRequest, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Method constructs XACML request from XML passed as request and applies xacml request against policies stored in policy storage @see PolicyFactory.
 void generateRequest(java.security.cert.X509Certificate __targetSubjectCertificate)
           
 void generateRequest(java.security.cert.X509Certificate __targetSubjectCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void generateRequest(java.security.cert.X509Certificate __targetSubjectCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getActionAttributes()
          These attributes can be used in XACML policies, requests and rules.
 void getActionAttributes(eu.xtreemos.system.communication.bus.CallbackMessage callback)
          These attributes can be used in XACML policies, requests and rules.
 void getActionAttributes(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          These attributes can be used in XACML policies, requests and rules.
 void getFilteredResources()
          Deprecated.  
 void getFilteredResources(eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Deprecated.  
 void getFilteredResources(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Deprecated.  
 void getResourceAttributes()
          These attributes can be used in XACML policies, requests and rules.
 void getResourceAttributes(eu.xtreemos.system.communication.bus.CallbackMessage callback)
          These attributes can be used in XACML policies, requests and rules.
 void getResourceAttributes(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          These attributes can be used in XACML policies, requests and rules.
 void getResultFromResMngProcess(ReturnMessage __retMsg)
          Deprecated.  
 void getResultFromResMngProcess(ReturnMessage __retMsg, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Deprecated.  
 void getResultFromResMngProcess(ReturnMessage __retMsg, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Deprecated.  
 void getResultsFromResMng(java.util.ArrayList<CommunicationAddress> __list)
           
 void getResultsFromResMng(java.util.ArrayList<CommunicationAddress> __list, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void getResultsFromResMng(java.util.ArrayList<CommunicationAddress> __list, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getSubjectAttributes()
          These attributes can be used in XACML policies, requests and rules.
 void getSubjectAttributes(eu.xtreemos.system.communication.bus.CallbackMessage callback)
          These attributes can be used in XACML policies, requests and rules.
 void getSubjectAttributes(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          These attributes can be used in XACML policies, requests and rules.
 void listFilteredPolicy(java.lang.String __xacmlRequest)
          Returns a policy comprising rules which comply with the request passed as an argument.
 void listFilteredPolicy(java.lang.String __xacmlRequest, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Returns a policy comprising rules which comply with the request passed as an argument.
 void listFilteredPolicy(java.lang.String __xacmlRequest, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Returns a policy comprising rules which comply with the request passed as an argument.
 void listFilteredPolicyCert(java.security.cert.X509Certificate __targetSubjectCertificate)
          Lists policies which apply to certificate provided.
 void listFilteredPolicyCert(java.security.cert.X509Certificate __targetSubjectCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Lists policies which apply to certificate provided.
 void listFilteredPolicyCert(java.security.cert.X509Certificate __targetSubjectCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Lists policies which apply to certificate provided.
 void listPolicies(java.security.cert.X509Certificate __userCtx)
          Note that list of all policies can be very large.
 void listPolicies(java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Note that list of all policies can be very large.
 void listPolicies(java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Note that list of all policies can be very large.
 void listPoliciesHandler(java.util.ArrayList<java.lang.String> __alPolicies)
          Executed as a consequence of the VOPS#listPolicies() method.
 void listPoliciesHandler(java.util.ArrayList<java.lang.String> __alPolicies, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Executed as a consequence of the VOPS#listPolicies() method.
 void listPoliciesHandler(java.util.ArrayList<java.lang.String> __alPolicies, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Executed as a consequence of the VOPS#listPolicies() method.
 void listPolicy(java.lang.String __policyId, java.security.cert.X509Certificate __userCtx)
          Lists specific policy with policyId.
 void listPolicy(java.lang.String __policyId, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Lists specific policy with policyId.
 void listPolicy(java.lang.String __policyId, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Lists specific policy with policyId.
 void listVoAdmins()
          Lists registered VO administrators.
 void listVoAdmins(eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Lists registered VO administrators.
 void listVoAdmins(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Lists registered VO administrators.
 void obtainFilterPolicyAEM(java.lang.Object __xosUserCert, java.lang.String __jsdlContent, java.lang.String __action)
           
 void obtainFilterPolicyAEM(java.lang.Object __xosUserCert, java.lang.String __jsdlContent, java.lang.String __action, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void obtainFilterPolicyAEM(java.lang.Object __xosUserCert, java.lang.String __jsdlContent, java.lang.String __action, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void policyEnforceRequestCertificateCatcher(RCASignedResponse __response)
          Refers to VOPS#verifyPolicyAEM(Object, ResourceMatching, String).
 void policyEnforceRequestCertificateCatcher(RCASignedResponse __response, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Refers to VOPS#verifyPolicyAEM(Object, ResourceMatching, String).
 void policyEnforceRequestCertificateCatcher(RCASignedResponse __response, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Refers to VOPS#verifyPolicyAEM(Object, ResourceMatching, String).
 void policyEnforceRequestCertificateCatcherFailure(java.lang.Exception __err)
          Catches failures of CDAMng.getResourceCertificate call.
 void policyEnforceRequestCertificateCatcherFailure(java.lang.Exception __err, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Catches failures of CDAMng.getResourceCertificate call.
 void policyEnforceRequestCertificateCatcherFailure(java.lang.Exception __err, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Catches failures of CDAMng.getResourceCertificate call.
 void registerVoAdmin(java.security.cert.X509Certificate __voAdminsCert)
          Adds certificate passed as an argument into a list of trusted certificates (VO admins list).
 void registerVoAdmin(java.security.cert.X509Certificate __voAdminsCert, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Adds certificate passed as an argument into a list of trusted certificates (VO admins list).
 void registerVoAdmin(java.security.cert.X509Certificate __voAdminsCert, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Adds certificate passed as an argument into a list of trusted certificates (VO admins list).
 void registerVOPSToGlobalVOPS(CommunicationAddress __address, java.security.cert.X509Certificate __certificate)
          This registers VOPS to global VOPS service where decisions are made.
 void registerVOPSToGlobalVOPS(CommunicationAddress __address, java.security.cert.X509Certificate __certificate, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          This registers VOPS to global VOPS service where decisions are made.
 void registerVOPSToGlobalVOPS(CommunicationAddress __address, java.security.cert.X509Certificate __certificate, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          This registers VOPS to global VOPS service where decisions are made.
 void reloadVOPS(java.security.cert.X509Certificate __userCtx)
          Reloads all policies stored in policy storage.
 void reloadVOPS(java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Reloads all policies stored in policy storage.
 void reloadVOPS(java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Reloads all policies stored in policy storage.
 void removePolicy(java.lang.String __policyId, java.security.cert.X509Certificate __userCtx)
          Policy with policyId will be removed from policy storage.
 void removePolicy(java.lang.String __policyId, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Policy with policyId will be removed from policy storage.
 void removePolicy(java.lang.String __policyId, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Policy with policyId will be removed from policy storage.
 void removeRuleFromPolicy(java.lang.String __ruleId, java.lang.String __policyId, java.security.cert.X509Certificate __userCtx)
          Removes rule from policy with specified policyId.
 void removeRuleFromPolicy(java.lang.String __ruleId, java.lang.String __policyId, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Removes rule from policy with specified policyId.
 void removeRuleFromPolicy(java.lang.String __ruleId, java.lang.String __policyId, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Removes rule from policy with specified policyId.
 void setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)
           
 void unregisterVoAdmin(java.lang.Integer __index)
          Removes certificate with specified index from a list of trusted certificates.
 void unregisterVoAdmin(java.lang.Integer __index, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Removes certificate with specified index from a list of trusted certificates.
 void unregisterVoAdmin(java.lang.Integer __index, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Removes certificate with specified index from a list of trusted certificates.
 void verifyPolicyAEM(java.lang.Object __xos_cert, ResourceMatching __resources, java.lang.String __action)
          Used by AEM framework to check if resources listed in comply with policies stored in VO policy storage PolicyFactory#listPolicies().
 void verifyPolicyAEM(java.lang.Object __xos_cert, ResourceMatching __resources, java.lang.String __action, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Used by AEM framework to check if resources listed in comply with policies stored in VO policy storage PolicyFactory#listPolicies().
 void verifyPolicyAEM(java.lang.Object __xos_cert, ResourceMatching __resources, java.lang.String __action, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Used by AEM framework to check if resources listed in comply with policies stored in VO policy storage PolicyFactory#listPolicies().
 void verifyPolicyAemJsdl(java.lang.Object __xosUserCert, ResourceMatching __resources, java.lang.String __jsdlContent, java.lang.String __action)
          Verifies if request is permitted.
 void verifyPolicyAemJsdl(java.lang.Object __xosUserCert, ResourceMatching __resources, java.lang.String __jsdlContent, java.lang.String __action, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Verifies if request is permitted.
 void verifyPolicyAemJsdl(java.lang.Object __xosUserCert, ResourceMatching __resources, java.lang.String __jsdlContent, java.lang.String __action, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Verifies if request is permitted.
 void verifyPolicyCertRes(java.security.cert.X509Certificate __xos_cert, ResourceMatching __resources)
          This method is called by consequence of the VOPS#verifyPolicyAEM(Object, ResourceMatching, String) method.
 void verifyPolicyCertRes(java.security.cert.X509Certificate __xos_cert, ResourceMatching __resources, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          This method is called by consequence of the VOPS#verifyPolicyAEM(Object, ResourceMatching, String) method.
 void verifyPolicyCertRes(java.security.cert.X509Certificate __xos_cert, ResourceMatching __resources, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          This method is called by consequence of the VOPS#verifyPolicyAEM(Object, ResourceMatching, String) method.
 void verifyPolicyCertResHandle(ResourceMatching __returnedResMatching)
          This callback gets filtered resources based on query which was submitted by verifyPolicyCertRes.
 void verifyPolicyCertResHandle(ResourceMatching __returnedResMatching, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          This callback gets filtered resources based on query which was submitted by verifyPolicyCertRes.
 void verifyPolicyCertResHandle(ResourceMatching __returnedResMatching, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          This callback gets filtered resources based on query which was submitted by verifyPolicyCertRes.
 void writeBack(java.security.cert.X509Certificate __userCtx)
          Writes back policies from policy storage in PolicyFactory on to local disk.
 void writeBack(java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Writes back policies from policy storage in PolicyFactory on to local disk.
 void writeBack(java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Writes back policies from policy storage in PolicyFactory on to local disk.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servicename

public static java.lang.String servicename
AUTOGENERATED CODE


context

private eu.xtreemos.system.eventmachine.queue.Context context

_accesspoint_remoteaddress

private CommunicationAddress _accesspoint_remoteaddress
Constructor Detail

SVOPS

public SVOPS(eu.xtreemos.system.eventmachine.queue.Context context)
Method Detail

setRemoteaddress

public void setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)

registerVoAdmin

public void registerVoAdmin(java.security.cert.X509Certificate __voAdminsCert)
Adds certificate passed as an argument into a list of trusted certificates (VO admins list). This method is used as a base of access control.

Parameters:
voAdminsCert - certificate to add into a list of trusted certificates. See also X509Certificate.

registerVoAdmin

public void registerVoAdmin(java.security.cert.X509Certificate __voAdminsCert,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback)
Adds certificate passed as an argument into a list of trusted certificates (VO admins list). This method is used as a base of access control.

Parameters:
voAdminsCert - certificate to add into a list of trusted certificates. See also X509Certificate.

registerVoAdmin

public void registerVoAdmin(java.security.cert.X509Certificate __voAdminsCert,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback,
                            eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Adds certificate passed as an argument into a list of trusted certificates (VO admins list). This method is used as a base of access control.

Parameters:
voAdminsCert - certificate to add into a list of trusted certificates. See also X509Certificate.

unregisterVoAdmin

public void unregisterVoAdmin(java.lang.Integer __index)
Removes certificate with specified index from a list of trusted certificates.

Parameters:
voAdminsCert -

unregisterVoAdmin

public void unregisterVoAdmin(java.lang.Integer __index,
                              eu.xtreemos.system.communication.bus.CallbackMessage callback)
Removes certificate with specified index from a list of trusted certificates.

Parameters:
voAdminsCert -

unregisterVoAdmin

public void unregisterVoAdmin(java.lang.Integer __index,
                              eu.xtreemos.system.communication.bus.CallbackMessage callback,
                              eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Removes certificate with specified index from a list of trusted certificates.

Parameters:
voAdminsCert -

listVoAdmins

public void listVoAdmins()
Lists registered VO administrators.


listVoAdmins

public void listVoAdmins(eu.xtreemos.system.communication.bus.CallbackMessage callback)
Lists registered VO administrators.


listVoAdmins

public void listVoAdmins(eu.xtreemos.system.communication.bus.CallbackMessage callback,
                         eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Lists registered VO administrators.


obtainFilterPolicyAEM

public void obtainFilterPolicyAEM(java.lang.Object __xosUserCert,
                                  java.lang.String __jsdlContent,
                                  java.lang.String __action)

obtainFilterPolicyAEM

public void obtainFilterPolicyAEM(java.lang.Object __xosUserCert,
                                  java.lang.String __jsdlContent,
                                  java.lang.String __action,
                                  eu.xtreemos.system.communication.bus.CallbackMessage callback)

obtainFilterPolicyAEM

public void obtainFilterPolicyAEM(java.lang.Object __xosUserCert,
                                  java.lang.String __jsdlContent,
                                  java.lang.String __action,
                                  eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                  eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

verifyPolicyAemJsdl

public void verifyPolicyAemJsdl(java.lang.Object __xosUserCert,
                                ResourceMatching __resources,
                                java.lang.String __jsdlContent,
                                java.lang.String __action)
Verifies if request is permitted. Request is constricted from xos user certificate, jsdl, action and resources, which are provided by resource discovery system (forwarded by AEM).

Parameters:
xosUserCert - user certificate (instance of X509Certificate).
resources - list of potential compliant resource, see also ResourceMathching class.
jsdlContent - content of the JSDL document.
action - If action is null, action attribute is by default submit job.

verifyPolicyAemJsdl

public void verifyPolicyAemJsdl(java.lang.Object __xosUserCert,
                                ResourceMatching __resources,
                                java.lang.String __jsdlContent,
                                java.lang.String __action,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback)
Verifies if request is permitted. Request is constricted from xos user certificate, jsdl, action and resources, which are provided by resource discovery system (forwarded by AEM).

Parameters:
xosUserCert - user certificate (instance of X509Certificate).
resources - list of potential compliant resource, see also ResourceMathching class.
jsdlContent - content of the JSDL document.
action - If action is null, action attribute is by default submit job.

verifyPolicyAemJsdl

public void verifyPolicyAemJsdl(java.lang.Object __xosUserCert,
                                ResourceMatching __resources,
                                java.lang.String __jsdlContent,
                                java.lang.String __action,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Verifies if request is permitted. Request is constricted from xos user certificate, jsdl, action and resources, which are provided by resource discovery system (forwarded by AEM).

Parameters:
xosUserCert - user certificate (instance of X509Certificate).
resources - list of potential compliant resource, see also ResourceMathching class.
jsdlContent - content of the JSDL document.
action - If action is null, action attribute is by default submit job.

verifyPolicyAEM

public void verifyPolicyAEM(java.lang.Object __xos_cert,
                            ResourceMatching __resources,
                            java.lang.String __action)
Used by AEM framework to check if resources listed in comply with policies stored in VO policy storage PolicyFactory#listPolicies().

Parameters:
xos_cert - instance of X509Certificate.
resources - list of potential compliant resource, see also ResourceMathching class.
action - String used to denote the action taken by the user over resources. Use constants declared inside XACMLConstants#Action.

verifyPolicyAEM

public void verifyPolicyAEM(java.lang.Object __xos_cert,
                            ResourceMatching __resources,
                            java.lang.String __action,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback)
Used by AEM framework to check if resources listed in comply with policies stored in VO policy storage PolicyFactory#listPolicies().

Parameters:
xos_cert - instance of X509Certificate.
resources - list of potential compliant resource, see also ResourceMathching class.
action - String used to denote the action taken by the user over resources. Use constants declared inside XACMLConstants#Action.

verifyPolicyAEM

public void verifyPolicyAEM(java.lang.Object __xos_cert,
                            ResourceMatching __resources,
                            java.lang.String __action,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback,
                            eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Used by AEM framework to check if resources listed in comply with policies stored in VO policy storage PolicyFactory#listPolicies().

Parameters:
xos_cert - instance of X509Certificate.
resources - list of potential compliant resource, see also ResourceMathching class.
action - String used to denote the action taken by the user over resources. Use constants declared inside XACMLConstants#Action.

verifyPolicyCertResHandle

public void verifyPolicyCertResHandle(ResourceMatching __returnedResMatching)
This callback gets filtered resources based on query which was submitted by verifyPolicyCertRes. See also VOPS#verifyPolicyAEM(Object, ResourceMatching, String).

Parameters:
returnedResMatching -

verifyPolicyCertResHandle

public void verifyPolicyCertResHandle(ResourceMatching __returnedResMatching,
                                      eu.xtreemos.system.communication.bus.CallbackMessage callback)
This callback gets filtered resources based on query which was submitted by verifyPolicyCertRes. See also VOPS#verifyPolicyAEM(Object, ResourceMatching, String).

Parameters:
returnedResMatching -

verifyPolicyCertResHandle

public void verifyPolicyCertResHandle(ResourceMatching __returnedResMatching,
                                      eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                      eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
This callback gets filtered resources based on query which was submitted by verifyPolicyCertRes. See also VOPS#verifyPolicyAEM(Object, ResourceMatching, String).

Parameters:
returnedResMatching -

policyEnforceRequestCertificateCatcher

public void policyEnforceRequestCertificateCatcher(RCASignedResponse __response)
Refers to VOPS#verifyPolicyAEM(Object, ResourceMatching, String). It catches all resource attribute certificates and adds them into list VOPSStorage#alResources. When all certificates are obtained, call to VOPS#verifyPolicyCertRes(X509Certificate, ResourceMatching) is made.

Parameters:
cert - is a returned certificate from RCA Client

policyEnforceRequestCertificateCatcher

public void policyEnforceRequestCertificateCatcher(RCASignedResponse __response,
                                                   eu.xtreemos.system.communication.bus.CallbackMessage callback)
Refers to VOPS#verifyPolicyAEM(Object, ResourceMatching, String). It catches all resource attribute certificates and adds them into list VOPSStorage#alResources. When all certificates are obtained, call to VOPS#verifyPolicyCertRes(X509Certificate, ResourceMatching) is made.

Parameters:
cert - is a returned certificate from RCA Client

policyEnforceRequestCertificateCatcher

public void policyEnforceRequestCertificateCatcher(RCASignedResponse __response,
                                                   eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                                   eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Refers to VOPS#verifyPolicyAEM(Object, ResourceMatching, String). It catches all resource attribute certificates and adds them into list VOPSStorage#alResources. When all certificates are obtained, call to VOPS#verifyPolicyCertRes(X509Certificate, ResourceMatching) is made.

Parameters:
cert - is a returned certificate from RCA Client

policyEnforceRequestCertificateCatcherFailure

public void policyEnforceRequestCertificateCatcherFailure(java.lang.Exception __err)
Catches failures of CDAMng.getResourceCertificate call.

Parameters:
err -

policyEnforceRequestCertificateCatcherFailure

public void policyEnforceRequestCertificateCatcherFailure(java.lang.Exception __err,
                                                          eu.xtreemos.system.communication.bus.CallbackMessage callback)
Catches failures of CDAMng.getResourceCertificate call.

Parameters:
err -

policyEnforceRequestCertificateCatcherFailure

public void policyEnforceRequestCertificateCatcherFailure(java.lang.Exception __err,
                                                          eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                                          eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Catches failures of CDAMng.getResourceCertificate call.

Parameters:
err -

verifyPolicyCertRes

public void verifyPolicyCertRes(java.security.cert.X509Certificate __xos_cert,
                                ResourceMatching __resources)
This method is called by consequence of the VOPS#verifyPolicyAEM(Object, ResourceMatching, String) method. Enforces policies - generates XACML request for each of the resource and checks it against policies residing in policy storage, see PolicyFactory#listPolicies().

Parameters:
xos_cert - User certificate which has been stored in VOPSStorage
resources - are collection from process of resource mathcing, see ResourceMatching.

verifyPolicyCertRes

public void verifyPolicyCertRes(java.security.cert.X509Certificate __xos_cert,
                                ResourceMatching __resources,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback)
This method is called by consequence of the VOPS#verifyPolicyAEM(Object, ResourceMatching, String) method. Enforces policies - generates XACML request for each of the resource and checks it against policies residing in policy storage, see PolicyFactory#listPolicies().

Parameters:
xos_cert - User certificate which has been stored in VOPSStorage
resources - are collection from process of resource mathcing, see ResourceMatching.

verifyPolicyCertRes

public void verifyPolicyCertRes(java.security.cert.X509Certificate __xos_cert,
                                ResourceMatching __resources,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
This method is called by consequence of the VOPS#verifyPolicyAEM(Object, ResourceMatching, String) method. Enforces policies - generates XACML request for each of the resource and checks it against policies residing in policy storage, see PolicyFactory#listPolicies().

Parameters:
xos_cert - User certificate which has been stored in VOPSStorage
resources - are collection from process of resource mathcing, see ResourceMatching.

createPolicy

public void createPolicy(java.lang.String __policyID,
                         java.lang.String __description)
Deprecated. 

A new policy file is created in policy storage using static PolicyFactory class. Policy has policyID, description.

Parameters:
policyID - Id of new policy created
description - of new policy

createPolicy

public void createPolicy(java.lang.String __policyID,
                         java.lang.String __description,
                         eu.xtreemos.system.communication.bus.CallbackMessage callback)
Deprecated. 

A new policy file is created in policy storage using static PolicyFactory class. Policy has policyID, description.

Parameters:
policyID - Id of new policy created
description - of new policy

createPolicy

public void createPolicy(java.lang.String __policyID,
                         java.lang.String __description,
                         eu.xtreemos.system.communication.bus.CallbackMessage callback,
                         eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Deprecated. 

A new policy file is created in policy storage using static PolicyFactory class. Policy has policyID, description.

Parameters:
policyID - Id of new policy created
description - of new policy

createPolicyWithTarget

public void createPolicyWithTarget(java.lang.String __policyID,
                                   java.lang.String __description,
                                   java.lang.String __target)
Creates an empty policy containing target as provided.

Parameters:
policyID - policy's id
description - description of the policy
target - target upon whom this policy apply
Throws:
java.lang.Exception

createPolicyWithTarget

public void createPolicyWithTarget(java.lang.String __policyID,
                                   java.lang.String __description,
                                   java.lang.String __target,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback)
Creates an empty policy containing target as provided.

Parameters:
policyID - policy's id
description - description of the policy
target - target upon whom this policy apply
Throws:
java.lang.Exception

createPolicyWithTarget

public void createPolicyWithTarget(java.lang.String __policyID,
                                   java.lang.String __description,
                                   java.lang.String __target,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                   eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Creates an empty policy containing target as provided.

Parameters:
policyID - policy's id
description - description of the policy
target - target upon whom this policy apply
Throws:
java.lang.Exception

removePolicy

public void removePolicy(java.lang.String __policyId,
                         java.security.cert.X509Certificate __userCtx)
Policy with policyId will be removed from policy storage.

Parameters:
policyId -
userCtx - certificate of the subject executing this call.
Throws:
instance - of Exception, error from PolicyFactory#removePolicy(String).

removePolicy

public void removePolicy(java.lang.String __policyId,
                         java.security.cert.X509Certificate __userCtx,
                         eu.xtreemos.system.communication.bus.CallbackMessage callback)
Policy with policyId will be removed from policy storage.

Parameters:
policyId -
userCtx - certificate of the subject executing this call.
Throws:
instance - of Exception, error from PolicyFactory#removePolicy(String).

removePolicy

public void removePolicy(java.lang.String __policyId,
                         java.security.cert.X509Certificate __userCtx,
                         eu.xtreemos.system.communication.bus.CallbackMessage callback,
                         eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Policy with policyId will be removed from policy storage.

Parameters:
policyId -
userCtx - certificate of the subject executing this call.
Throws:
instance - of Exception, error from PolicyFactory#removePolicy(String).

listPolicies

public void listPolicies(java.security.cert.X509Certificate __userCtx)
Note that list of all policies can be very large. See also VOPS#listFilteredPolicy(String) and VOPS#listPolicy(String).

Parameters:
userCtx - certificate of the subject executing this call.

listPolicies

public void listPolicies(java.security.cert.X509Certificate __userCtx,
                         eu.xtreemos.system.communication.bus.CallbackMessage callback)
Note that list of all policies can be very large. See also VOPS#listFilteredPolicy(String) and VOPS#listPolicy(String).

Parameters:
userCtx - certificate of the subject executing this call.

listPolicies

public void listPolicies(java.security.cert.X509Certificate __userCtx,
                         eu.xtreemos.system.communication.bus.CallbackMessage callback,
                         eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Note that list of all policies can be very large. See also VOPS#listFilteredPolicy(String) and VOPS#listPolicy(String).

Parameters:
userCtx - certificate of the subject executing this call.

listPoliciesHandler

public void listPoliciesHandler(java.util.ArrayList<java.lang.String> __alPolicies)
Executed as a consequence of the VOPS#listPolicies() method. Catches global VOPS' reply of the policies and returns it to the client or server side.

Parameters:
alPolicies - list of XACML policies

listPoliciesHandler

public void listPoliciesHandler(java.util.ArrayList<java.lang.String> __alPolicies,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback)
Executed as a consequence of the VOPS#listPolicies() method. Catches global VOPS' reply of the policies and returns it to the client or server side.

Parameters:
alPolicies - list of XACML policies

listPoliciesHandler

public void listPoliciesHandler(java.util.ArrayList<java.lang.String> __alPolicies,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Executed as a consequence of the VOPS#listPolicies() method. Catches global VOPS' reply of the policies and returns it to the client or server side.

Parameters:
alPolicies - list of XACML policies

listPolicy

public void listPolicy(java.lang.String __policyId,
                       java.security.cert.X509Certificate __userCtx)
Lists specific policy with policyId. Returns XACML policy as String object.

Parameters:
policy - id.
userCtx - certificate of the subject executing this call.

listPolicy

public void listPolicy(java.lang.String __policyId,
                       java.security.cert.X509Certificate __userCtx,
                       eu.xtreemos.system.communication.bus.CallbackMessage callback)
Lists specific policy with policyId. Returns XACML policy as String object.

Parameters:
policy - id.
userCtx - certificate of the subject executing this call.

listPolicy

public void listPolicy(java.lang.String __policyId,
                       java.security.cert.X509Certificate __userCtx,
                       eu.xtreemos.system.communication.bus.CallbackMessage callback,
                       eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Lists specific policy with policyId. Returns XACML policy as String object.

Parameters:
policy - id.
userCtx - certificate of the subject executing this call.

addPolicy

public void addPolicy(java.lang.String __xacmlPolicy,
                      java.security.cert.X509Certificate __userCtx)
Adds XACML policy into policy storage.

Parameters:
Policy - in XML passed as string (XACML format).
userCtx - certificate of the subject executing this call.

addPolicy

public void addPolicy(java.lang.String __xacmlPolicy,
                      java.security.cert.X509Certificate __userCtx,
                      eu.xtreemos.system.communication.bus.CallbackMessage callback)
Adds XACML policy into policy storage.

Parameters:
Policy - in XML passed as string (XACML format).
userCtx - certificate of the subject executing this call.

addPolicy

public void addPolicy(java.lang.String __xacmlPolicy,
                      java.security.cert.X509Certificate __userCtx,
                      eu.xtreemos.system.communication.bus.CallbackMessage callback,
                      eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Adds XACML policy into policy storage.

Parameters:
Policy - in XML passed as string (XACML format).
userCtx - certificate of the subject executing this call.

addRule

public void addRule(java.lang.String __ruleXML,
                    java.lang.String __policyId)
Adds rule which is passed as XML string to the policy identified by policyId. Returns rule as String object. See also VOPS#addXACMLRule(String, String), where rule is passed in a XACML format.

Parameters:
ruleXML - description of the rule.
policyId - defines destination policy.

addRule

public void addRule(java.lang.String __ruleXML,
                    java.lang.String __policyId,
                    eu.xtreemos.system.communication.bus.CallbackMessage callback)
Adds rule which is passed as XML string to the policy identified by policyId. Returns rule as String object. See also VOPS#addXACMLRule(String, String), where rule is passed in a XACML format.

Parameters:
ruleXML - description of the rule.
policyId - defines destination policy.

addRule

public void addRule(java.lang.String __ruleXML,
                    java.lang.String __policyId,
                    eu.xtreemos.system.communication.bus.CallbackMessage callback,
                    eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Adds rule which is passed as XML string to the policy identified by policyId. Returns rule as String object. See also VOPS#addXACMLRule(String, String), where rule is passed in a XACML format.

Parameters:
ruleXML - description of the rule.
policyId - defines destination policy.

addXACMLRule

public void addXACMLRule(java.lang.String __ruleXACML,
                         java.lang.String __policyId,
                         java.security.cert.X509Certificate __userCtx)
Adds rule which is passed as XML string in XACML format to the policy identified by policyId.Returns rule created as String object.

Parameters:
ruleXACML - XACML string presenting rule to be added to policy
policyId - identifies to which type of policies are we this rule.
userCtx - certificate of the subject executing this call.

addXACMLRule

public void addXACMLRule(java.lang.String __ruleXACML,
                         java.lang.String __policyId,
                         java.security.cert.X509Certificate __userCtx,
                         eu.xtreemos.system.communication.bus.CallbackMessage callback)
Adds rule which is passed as XML string in XACML format to the policy identified by policyId.Returns rule created as String object.

Parameters:
ruleXACML - XACML string presenting rule to be added to policy
policyId - identifies to which type of policies are we this rule.
userCtx - certificate of the subject executing this call.

addXACMLRule

public void addXACMLRule(java.lang.String __ruleXACML,
                         java.lang.String __policyId,
                         java.security.cert.X509Certificate __userCtx,
                         eu.xtreemos.system.communication.bus.CallbackMessage callback,
                         eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Adds rule which is passed as XML string in XACML format to the policy identified by policyId.Returns rule created as String object.

Parameters:
ruleXACML - XACML string presenting rule to be added to policy
policyId - identifies to which type of policies are we this rule.
userCtx - certificate of the subject executing this call.

listFilteredPolicy

public void listFilteredPolicy(java.lang.String __xacmlRequest)
Returns a policy comprising rules which comply with the request passed as an argument.

Parameters:
xacmlRequest - XACML request which is applied to policies residing in PolicyFactory.

listFilteredPolicy

public void listFilteredPolicy(java.lang.String __xacmlRequest,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback)
Returns a policy comprising rules which comply with the request passed as an argument.

Parameters:
xacmlRequest - XACML request which is applied to policies residing in PolicyFactory.

listFilteredPolicy

public void listFilteredPolicy(java.lang.String __xacmlRequest,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback,
                               eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Returns a policy comprising rules which comply with the request passed as an argument.

Parameters:
xacmlRequest - XACML request which is applied to policies residing in PolicyFactory.

listFilteredPolicyCert

public void listFilteredPolicyCert(java.security.cert.X509Certificate __targetSubjectCertificate)
Lists policies which apply to certificate provided.

Parameters:
targetSubject -

listFilteredPolicyCert

public void listFilteredPolicyCert(java.security.cert.X509Certificate __targetSubjectCertificate,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback)
Lists policies which apply to certificate provided.

Parameters:
targetSubject -

listFilteredPolicyCert

public void listFilteredPolicyCert(java.security.cert.X509Certificate __targetSubjectCertificate,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                   eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Lists policies which apply to certificate provided.

Parameters:
targetSubject -

generateRequest

public void generateRequest(java.security.cert.X509Certificate __targetSubjectCertificate)

generateRequest

public void generateRequest(java.security.cert.X509Certificate __targetSubjectCertificate,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback)

generateRequest

public void generateRequest(java.security.cert.X509Certificate __targetSubjectCertificate,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback,
                            eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

evaluateRequest

public void evaluateRequest(java.lang.String __xacmlRequest)
Method constructs XACML request from XML passed as request and applies xacml request against policies stored in policy storage @see PolicyFactory.

Parameters:
request - String presenting XACMl request

evaluateRequest

public void evaluateRequest(java.lang.String __xacmlRequest,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback)
Method constructs XACML request from XML passed as request and applies xacml request against policies stored in policy storage @see PolicyFactory.

Parameters:
request - String presenting XACMl request

evaluateRequest

public void evaluateRequest(java.lang.String __xacmlRequest,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback,
                            eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Method constructs XACML request from XML passed as request and applies xacml request against policies stored in policy storage @see PolicyFactory.

Parameters:
request - String presenting XACMl request

removeRuleFromPolicy

public void removeRuleFromPolicy(java.lang.String __ruleId,
                                 java.lang.String __policyId,
                                 java.security.cert.X509Certificate __userCtx)
Removes rule from policy with specified policyId.

Parameters:
ruleId - Rule which will be removed from policy.
policyId - policy from which this rule is removed.
userCtx - certificate of the subject executing this call.

removeRuleFromPolicy

public void removeRuleFromPolicy(java.lang.String __ruleId,
                                 java.lang.String __policyId,
                                 java.security.cert.X509Certificate __userCtx,
                                 eu.xtreemos.system.communication.bus.CallbackMessage callback)
Removes rule from policy with specified policyId.

Parameters:
ruleId - Rule which will be removed from policy.
policyId - policy from which this rule is removed.
userCtx - certificate of the subject executing this call.

removeRuleFromPolicy

public void removeRuleFromPolicy(java.lang.String __ruleId,
                                 java.lang.String __policyId,
                                 java.security.cert.X509Certificate __userCtx,
                                 eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                 eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Removes rule from policy with specified policyId.

Parameters:
ruleId - Rule which will be removed from policy.
policyId - policy from which this rule is removed.
userCtx - certificate of the subject executing this call.

writeBack

public void writeBack(java.security.cert.X509Certificate __userCtx)
Writes back policies from policy storage in PolicyFactory on to local disk.

Parameters:
userCtx - certificate of the subject executing this call.

writeBack

public void writeBack(java.security.cert.X509Certificate __userCtx,
                      eu.xtreemos.system.communication.bus.CallbackMessage callback)
Writes back policies from policy storage in PolicyFactory on to local disk.

Parameters:
userCtx - certificate of the subject executing this call.

writeBack

public void writeBack(java.security.cert.X509Certificate __userCtx,
                      eu.xtreemos.system.communication.bus.CallbackMessage callback,
                      eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Writes back policies from policy storage in PolicyFactory on to local disk.

Parameters:
userCtx - certificate of the subject executing this call.

reloadVOPS

public void reloadVOPS(java.security.cert.X509Certificate __userCtx)
Reloads all policies stored in policy storage.

Parameters:
userCtx - certificate of the subject executing this call.

reloadVOPS

public void reloadVOPS(java.security.cert.X509Certificate __userCtx,
                       eu.xtreemos.system.communication.bus.CallbackMessage callback)
Reloads all policies stored in policy storage.

Parameters:
userCtx - certificate of the subject executing this call.

reloadVOPS

public void reloadVOPS(java.security.cert.X509Certificate __userCtx,
                       eu.xtreemos.system.communication.bus.CallbackMessage callback,
                       eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Reloads all policies stored in policy storage.

Parameters:
userCtx - certificate of the subject executing this call.

getResultsFromResMng

public void getResultsFromResMng(java.util.ArrayList<CommunicationAddress> __list)

getResultsFromResMng

public void getResultsFromResMng(java.util.ArrayList<CommunicationAddress> __list,
                                 eu.xtreemos.system.communication.bus.CallbackMessage callback)

getResultsFromResMng

public void getResultsFromResMng(java.util.ArrayList<CommunicationAddress> __list,
                                 eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                 eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

getResultFromResMngProcess

public void getResultFromResMngProcess(ReturnMessage __retMsg)
Deprecated. 

Get answers from other nodes. Store answer into current context as pairs (address,isPermitted).

Parameters:
retMsg -

getResultFromResMngProcess

public void getResultFromResMngProcess(ReturnMessage __retMsg,
                                       eu.xtreemos.system.communication.bus.CallbackMessage callback)
Deprecated. 

Get answers from other nodes. Store answer into current context as pairs (address,isPermitted).

Parameters:
retMsg -

getResultFromResMngProcess

public void getResultFromResMngProcess(ReturnMessage __retMsg,
                                       eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                       eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Deprecated. 

Get answers from other nodes. Store answer into current context as pairs (address,isPermitted).

Parameters:
retMsg -

getFilteredResources

public void getFilteredResources()
Deprecated. 

Return list of filtered addresses where execution is permitted.


getFilteredResources

public void getFilteredResources(eu.xtreemos.system.communication.bus.CallbackMessage callback)
Deprecated. 

Return list of filtered addresses where execution is permitted.


getFilteredResources

public void getFilteredResources(eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                 eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Deprecated. 

Return list of filtered addresses where execution is permitted.


registerVOPSToGlobalVOPS

public void registerVOPSToGlobalVOPS(CommunicationAddress __address,
                                     java.security.cert.X509Certificate __certificate)
This registers VOPS to global VOPS service where decisions are made.

Parameters:
address - VOPS address to register
certificate - of the VOPS

registerVOPSToGlobalVOPS

public void registerVOPSToGlobalVOPS(CommunicationAddress __address,
                                     java.security.cert.X509Certificate __certificate,
                                     eu.xtreemos.system.communication.bus.CallbackMessage callback)
This registers VOPS to global VOPS service where decisions are made.

Parameters:
address - VOPS address to register
certificate - of the VOPS

registerVOPSToGlobalVOPS

public void registerVOPSToGlobalVOPS(CommunicationAddress __address,
                                     java.security.cert.X509Certificate __certificate,
                                     eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                     eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
This registers VOPS to global VOPS service where decisions are made.

Parameters:
address - VOPS address to register
certificate - of the VOPS

getSubjectAttributes

public void getSubjectAttributes()
These attributes can be used in XACML policies, requests and rules.


getSubjectAttributes

public void getSubjectAttributes(eu.xtreemos.system.communication.bus.CallbackMessage callback)
These attributes can be used in XACML policies, requests and rules.


getSubjectAttributes

public void getSubjectAttributes(eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                 eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
These attributes can be used in XACML policies, requests and rules.


getResourceAttributes

public void getResourceAttributes()
These attributes can be used in XACML policies, requests and rules.


getResourceAttributes

public void getResourceAttributes(eu.xtreemos.system.communication.bus.CallbackMessage callback)
These attributes can be used in XACML policies, requests and rules.


getResourceAttributes

public void getResourceAttributes(eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                  eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
These attributes can be used in XACML policies, requests and rules.


getActionAttributes

public void getActionAttributes()
These attributes can be used in XACML policies, requests and rules.


getActionAttributes

public void getActionAttributes(eu.xtreemos.system.communication.bus.CallbackMessage callback)
These attributes can be used in XACML policies, requests and rules.


getActionAttributes

public void getActionAttributes(eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
These attributes can be used in XACML policies, requests and rules.