airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anujb...@apache.org
Subject [19/23] airavata git commit: pull request review implemented, adding reset pass and find user api's
Date Tue, 02 May 2017 16:49:34 GMT
http://git-wip-us.apache.org/repos/asf/airavata/blob/686d8e30/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam-admin-services-cpi.thrift
----------------------------------------------------------------------
diff --git a/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam-admin-services-cpi.thrift
b/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam-admin-services-cpi.thrift
index 320f4ce..3f4d63e 100644
--- a/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam-admin-services-cpi.thrift
+++ b/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam-admin-services-cpi.thrift
@@ -41,6 +41,7 @@ service IamAdminServices {
                        throws (1: iam_admin_services_cpi_errors.IamAdminServicesException
Idse,
                                2: airavata_errors.AuthorizationException ae)
 
+
     workspace_model.Gateway setUpGateway (1: required security_model.AuthzToken authzToken,
                        2: required workspace_model.Gateway gateway
                        3: required credential_store_data_models.PasswordCredential isSuperAdminCredentials)
@@ -60,4 +61,21 @@ service IamAdminServices {
                             throws (1: iam_admin_services_cpi_errors.IamAdminServicesException
Idse,
                                                         2: airavata_errors.AuthorizationException
ae)
 
+    /* set only available data in userProfile, ex: gatewayID (required), userId(optional)
and email(required). */
+    bool resetUserPassword(1: required security_model.AuthzToken authzToken,
+                            2: required user_profile_model.UserProfile userDetails
+                            3: required credential_store_data_models.PasswordCredential isRealmAdminCredentials
+                            4: required string newPassword)
+                            throws (1: iam_admin_services_cpi_errors.IamAdminServicesException
Idse,
+                                                        2: airavata_errors.AuthorizationException
ae)
+
+    /*userId can be null*/
+    list<user_profile_model.UserProfile> findUsers(1: required security_model.AuthzToken
authzToken,
+                                2: required string gatewayID,
+                                3: required string email,
+                                4: required string userId,
+                                5: required credential_store_data_models.PasswordCredential
isRealmAdminCredentials)
+                                throws (1: iam_admin_services_cpi_errors.IamAdminServicesException
Idse,
+                                                            2: airavata_errors.AuthorizationException
ae)
+
 }
\ No newline at end of file


Mime
View raw message