|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.xtreemos.xosd.services.SVOPS
public class SVOPS
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 |
---|
public static java.lang.String servicename
private eu.xtreemos.system.eventmachine.queue.Context context
private CommunicationAddress _accesspoint_remoteaddress
Constructor Detail |
---|
public SVOPS(eu.xtreemos.system.eventmachine.queue.Context context)
Method Detail |
---|
public void setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)
public void registerVoAdmin(java.security.cert.X509Certificate __voAdminsCert)
voAdminsCert
- certificate to add into a list of trusted certificates.
See also X509Certificate
.public void registerVoAdmin(java.security.cert.X509Certificate __voAdminsCert, eu.xtreemos.system.communication.bus.CallbackMessage callback)
voAdminsCert
- certificate to add into a list of trusted certificates.
See also X509Certificate
.public void registerVoAdmin(java.security.cert.X509Certificate __voAdminsCert, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
voAdminsCert
- certificate to add into a list of trusted certificates.
See also X509Certificate
.public void unregisterVoAdmin(java.lang.Integer __index)
voAdminsCert
- public void unregisterVoAdmin(java.lang.Integer __index, eu.xtreemos.system.communication.bus.CallbackMessage callback)
voAdminsCert
- public void unregisterVoAdmin(java.lang.Integer __index, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
voAdminsCert
- public void listVoAdmins()
public void listVoAdmins(eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void listVoAdmins(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void obtainFilterPolicyAEM(java.lang.Object __xosUserCert, java.lang.String __jsdlContent, java.lang.String __action)
public void obtainFilterPolicyAEM(java.lang.Object __xosUserCert, java.lang.String __jsdlContent, java.lang.String __action, eu.xtreemos.system.communication.bus.CallbackMessage callback)
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)
public void verifyPolicyAemJsdl(java.lang.Object __xosUserCert, ResourceMatching __resources, java.lang.String __jsdlContent, java.lang.String __action)
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.public void verifyPolicyAemJsdl(java.lang.Object __xosUserCert, ResourceMatching __resources, java.lang.String __jsdlContent, java.lang.String __action, eu.xtreemos.system.communication.bus.CallbackMessage callback)
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.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)
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.public void verifyPolicyAEM(java.lang.Object __xos_cert, ResourceMatching __resources, java.lang.String __action)
PolicyFactory#listPolicies()
.
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
.public void verifyPolicyAEM(java.lang.Object __xos_cert, ResourceMatching __resources, java.lang.String __action, eu.xtreemos.system.communication.bus.CallbackMessage callback)
PolicyFactory#listPolicies()
.
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
.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)
PolicyFactory#listPolicies()
.
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
.public void verifyPolicyCertResHandle(ResourceMatching __returnedResMatching)
VOPS#verifyPolicyAEM(Object, ResourceMatching, String)
.
returnedResMatching
- public void verifyPolicyCertResHandle(ResourceMatching __returnedResMatching, eu.xtreemos.system.communication.bus.CallbackMessage callback)
VOPS#verifyPolicyAEM(Object, ResourceMatching, String)
.
returnedResMatching
- public void verifyPolicyCertResHandle(ResourceMatching __returnedResMatching, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
VOPS#verifyPolicyAEM(Object, ResourceMatching, String)
.
returnedResMatching
- public void policyEnforceRequestCertificateCatcher(RCASignedResponse __response)
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.
cert
- is a returned certificate from RCA Clientpublic void policyEnforceRequestCertificateCatcher(RCASignedResponse __response, eu.xtreemos.system.communication.bus.CallbackMessage callback)
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.
cert
- is a returned certificate from RCA Clientpublic void policyEnforceRequestCertificateCatcher(RCASignedResponse __response, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
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.
cert
- is a returned certificate from RCA Clientpublic void policyEnforceRequestCertificateCatcherFailure(java.lang.Exception __err)
err
- public void policyEnforceRequestCertificateCatcherFailure(java.lang.Exception __err, eu.xtreemos.system.communication.bus.CallbackMessage callback)
err
- public void policyEnforceRequestCertificateCatcherFailure(java.lang.Exception __err, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
err
- public void verifyPolicyCertRes(java.security.cert.X509Certificate __xos_cert, ResourceMatching __resources)
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()
.
xos_cert
- User certificate which has been stored in VOPSStorageresources
- are collection from process of resource mathcing, see
ResourceMatching
.public void verifyPolicyCertRes(java.security.cert.X509Certificate __xos_cert, ResourceMatching __resources, eu.xtreemos.system.communication.bus.CallbackMessage callback)
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()
.
xos_cert
- User certificate which has been stored in VOPSStorageresources
- are collection from process of resource mathcing, see
ResourceMatching
.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)
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()
.
xos_cert
- User certificate which has been stored in VOPSStorageresources
- are collection from process of resource mathcing, see
ResourceMatching
.public void createPolicy(java.lang.String __policyID, java.lang.String __description)
policyID
- Id of new policy createddescription
- of new policypublic void createPolicy(java.lang.String __policyID, java.lang.String __description, eu.xtreemos.system.communication.bus.CallbackMessage callback)
policyID
- Id of new policy createddescription
- of new policypublic void createPolicy(java.lang.String __policyID, java.lang.String __description, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
policyID
- Id of new policy createddescription
- of new policypublic void createPolicyWithTarget(java.lang.String __policyID, java.lang.String __description, java.lang.String __target)
policyID
- policy's iddescription
- description of the policytarget
- target upon whom this policy apply
java.lang.Exception
public void createPolicyWithTarget(java.lang.String __policyID, java.lang.String __description, java.lang.String __target, eu.xtreemos.system.communication.bus.CallbackMessage callback)
policyID
- policy's iddescription
- description of the policytarget
- target upon whom this policy apply
java.lang.Exception
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)
policyID
- policy's iddescription
- description of the policytarget
- target upon whom this policy apply
java.lang.Exception
public void removePolicy(java.lang.String __policyId, java.security.cert.X509Certificate __userCtx)
policyId
- userCtx
- certificate of the subject executing this call.
instance
- of Exception, error from PolicyFactory#removePolicy(String)
.public void removePolicy(java.lang.String __policyId, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
policyId
- userCtx
- certificate of the subject executing this call.
instance
- of Exception, error from PolicyFactory#removePolicy(String)
.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)
policyId
- userCtx
- certificate of the subject executing this call.
instance
- of Exception, error from PolicyFactory#removePolicy(String)
.public void listPolicies(java.security.cert.X509Certificate __userCtx)
VOPS#listFilteredPolicy(String)
and VOPS#listPolicy(String)
.
userCtx
- certificate of the subject executing this call.public void listPolicies(java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
VOPS#listFilteredPolicy(String)
and VOPS#listPolicy(String)
.
userCtx
- certificate of the subject executing this call.public void listPolicies(java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
VOPS#listFilteredPolicy(String)
and VOPS#listPolicy(String)
.
userCtx
- certificate of the subject executing this call.public void listPoliciesHandler(java.util.ArrayList<java.lang.String> __alPolicies)
VOPS#listPolicies()
method.
Catches global VOPS' reply of the policies and returns it to the client
or server side.
alPolicies
- list of XACML policiespublic void listPoliciesHandler(java.util.ArrayList<java.lang.String> __alPolicies, eu.xtreemos.system.communication.bus.CallbackMessage callback)
VOPS#listPolicies()
method.
Catches global VOPS' reply of the policies and returns it to the client
or server side.
alPolicies
- list of XACML policiespublic void listPoliciesHandler(java.util.ArrayList<java.lang.String> __alPolicies, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
VOPS#listPolicies()
method.
Catches global VOPS' reply of the policies and returns it to the client
or server side.
alPolicies
- list of XACML policiespublic void listPolicy(java.lang.String __policyId, java.security.cert.X509Certificate __userCtx)
policy
- id.userCtx
- certificate of the subject executing this call.public void listPolicy(java.lang.String __policyId, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
policy
- id.userCtx
- certificate of the subject executing this call.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)
policy
- id.userCtx
- certificate of the subject executing this call.public void addPolicy(java.lang.String __xacmlPolicy, java.security.cert.X509Certificate __userCtx)
Policy
- in XML passed as string (XACML format).userCtx
- certificate of the subject executing this call.public void addPolicy(java.lang.String __xacmlPolicy, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
Policy
- in XML passed as string (XACML format).userCtx
- certificate of the subject executing this call.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)
Policy
- in XML passed as string (XACML format).userCtx
- certificate of the subject executing this call.public void addRule(java.lang.String __ruleXML, java.lang.String __policyId)
VOPS#addXACMLRule(String, String)
, where rule is passed in a
XACML format.
ruleXML
- description of the rule.policyId
- defines destination policy.public void addRule(java.lang.String __ruleXML, java.lang.String __policyId, eu.xtreemos.system.communication.bus.CallbackMessage callback)
VOPS#addXACMLRule(String, String)
, where rule is passed in a
XACML format.
ruleXML
- description of the rule.policyId
- defines destination policy.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)
VOPS#addXACMLRule(String, String)
, where rule is passed in a
XACML format.
ruleXML
- description of the rule.policyId
- defines destination policy.public void addXACMLRule(java.lang.String __ruleXACML, java.lang.String __policyId, java.security.cert.X509Certificate __userCtx)
ruleXACML
- XACML string presenting rule to be added to policypolicyId
- identifies to which type of policies are we this rule.userCtx
- certificate of the subject executing this call.public void addXACMLRule(java.lang.String __ruleXACML, java.lang.String __policyId, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
ruleXACML
- XACML string presenting rule to be added to policypolicyId
- identifies to which type of policies are we this rule.userCtx
- certificate of the subject executing this call.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)
ruleXACML
- XACML string presenting rule to be added to policypolicyId
- identifies to which type of policies are we this rule.userCtx
- certificate of the subject executing this call.public void listFilteredPolicy(java.lang.String __xacmlRequest)
xacmlRequest
- XACML request which is applied to policies residing in
PolicyFactory.public void listFilteredPolicy(java.lang.String __xacmlRequest, eu.xtreemos.system.communication.bus.CallbackMessage callback)
xacmlRequest
- XACML request which is applied to policies residing in
PolicyFactory.public void listFilteredPolicy(java.lang.String __xacmlRequest, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
xacmlRequest
- XACML request which is applied to policies residing in
PolicyFactory.public void listFilteredPolicyCert(java.security.cert.X509Certificate __targetSubjectCertificate)
targetSubject
- public void listFilteredPolicyCert(java.security.cert.X509Certificate __targetSubjectCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback)
targetSubject
- public void listFilteredPolicyCert(java.security.cert.X509Certificate __targetSubjectCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
targetSubject
- public void generateRequest(java.security.cert.X509Certificate __targetSubjectCertificate)
public void generateRequest(java.security.cert.X509Certificate __targetSubjectCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void generateRequest(java.security.cert.X509Certificate __targetSubjectCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void evaluateRequest(java.lang.String __xacmlRequest)
request
- String presenting XACMl requestpublic void evaluateRequest(java.lang.String __xacmlRequest, eu.xtreemos.system.communication.bus.CallbackMessage callback)
request
- String presenting XACMl requestpublic void evaluateRequest(java.lang.String __xacmlRequest, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
request
- String presenting XACMl requestpublic void removeRuleFromPolicy(java.lang.String __ruleId, java.lang.String __policyId, java.security.cert.X509Certificate __userCtx)
ruleId
- Rule which will be removed from policy.policyId
- policy from which this rule is removed.userCtx
- certificate of the subject executing this call.public void removeRuleFromPolicy(java.lang.String __ruleId, java.lang.String __policyId, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
ruleId
- Rule which will be removed from policy.policyId
- policy from which this rule is removed.userCtx
- certificate of the subject executing this call.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)
ruleId
- Rule which will be removed from policy.policyId
- policy from which this rule is removed.userCtx
- certificate of the subject executing this call.public void writeBack(java.security.cert.X509Certificate __userCtx)
userCtx
- certificate of the subject executing this call.public void writeBack(java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
userCtx
- certificate of the subject executing this call.public void writeBack(java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
userCtx
- certificate of the subject executing this call.public void reloadVOPS(java.security.cert.X509Certificate __userCtx)
userCtx
- certificate of the subject executing this call.public void reloadVOPS(java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
userCtx
- certificate of the subject executing this call.public void reloadVOPS(java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
userCtx
- certificate of the subject executing this call.public void getResultsFromResMng(java.util.ArrayList<CommunicationAddress> __list)
public void getResultsFromResMng(java.util.ArrayList<CommunicationAddress> __list, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getResultsFromResMng(java.util.ArrayList<CommunicationAddress> __list, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void getResultFromResMngProcess(ReturnMessage __retMsg)
retMsg
- public void getResultFromResMngProcess(ReturnMessage __retMsg, eu.xtreemos.system.communication.bus.CallbackMessage callback)
retMsg
- public void getResultFromResMngProcess(ReturnMessage __retMsg, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
retMsg
- public void getFilteredResources()
public void getFilteredResources(eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getFilteredResources(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void registerVOPSToGlobalVOPS(CommunicationAddress __address, java.security.cert.X509Certificate __certificate)
address
- VOPS address to registercertificate
- of the VOPSpublic void registerVOPSToGlobalVOPS(CommunicationAddress __address, java.security.cert.X509Certificate __certificate, eu.xtreemos.system.communication.bus.CallbackMessage callback)
address
- VOPS address to registercertificate
- of the VOPSpublic void registerVOPSToGlobalVOPS(CommunicationAddress __address, java.security.cert.X509Certificate __certificate, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
address
- VOPS address to registercertificate
- of the VOPSpublic void getSubjectAttributes()
public void getSubjectAttributes(eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getSubjectAttributes(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void getResourceAttributes()
public void getResourceAttributes(eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getResourceAttributes(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void getActionAttributes()
public void getActionAttributes(eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getActionAttributes(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 |