You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2018/10/11 16:40:07 UTC
[airavata] 01/03: AIRAVATA-2890 Add isUsernameAvailable to IAM CPI
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git
commit 0d47a945edb0ba6f7cd7644578f893d2d598b840
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Thu Oct 11 09:38:38 2018 -0400
AIRAVATA-2890 Add isUsernameAvailable to IAM CPI
---
.../profile-service/iam-admin-services/iam-admin-services-cpi.thrift | 5 +++++
1 file changed, 5 insertions(+)
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 de1dcef..8b21348 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
@@ -49,6 +49,11 @@ service IamAdminServices {
throws (1: iam_admin_services_cpi_errors.IamAdminServicesException Idse,
2: airavata_errors.AuthorizationException ae)
+ bool isUsernameAvailable(1: required security_model.AuthzToken authzToken,
+ 2: required string username)
+ throws (1: iam_admin_services_cpi_errors.IamAdminServicesException Idse,
+ 2: airavata_errors.AuthorizationException ae)
+
bool registerUser(1: required security_model.AuthzToken authzToken,
2: required string username,
3: required string emailAddress,