airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata] branch group-based-auth updated: AIRAVATA-2793 Adding @SecurityCheck annotations
Date Mon, 21 May 2018 15:37:12 GMT
This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch group-based-auth
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/group-based-auth by this push:
     new d279ebc  AIRAVATA-2793 Adding @SecurityCheck annotations
d279ebc is described below

commit d279ebc865b73e21158c9c98ebc148c4b8c2b207
Author: Marcus Christie <machristie@apache.org>
AuthorDate: Mon May 21 11:36:49 2018 -0400

    AIRAVATA-2793 Adding @SecurityCheck annotations
---
 .../org/apache/airavata/api/server/handler/AiravataServerHandler.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
index 66e2011..9b6aae9 100644
--- a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
+++ b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
@@ -4987,6 +4987,7 @@ public class AiravataServerHandler implements Airavata.Iface {
     }
 
     @Override
+    @SecurityCheck
     public boolean shareResourceWithGroups(AuthzToken authzToken, String resourceId, ResourceType
resourceType,
                                            Map<String, ResourcePermissionType> groupPermissionList)
             throws InvalidRequestException, AiravataClientException, AiravataSystemException,
AuthorizationException, TException {
@@ -5063,6 +5064,7 @@ public class AiravataServerHandler implements Airavata.Iface {
     }
 
     @Override
+    @SecurityCheck
     public boolean revokeSharingOfResourceFromGroups(AuthzToken authzToken, String resourceId,
ResourceType resourceType,
                                                      Map<String, ResourcePermissionType>
groupPermissionList) 
             throws InvalidRequestException, AiravataClientException, AiravataSystemException,
AuthorizationException, TException {

-- 
To stop receiving notification emails like this one, please contact
machristie@apache.org.

Mime
View raw message