You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2019/08/27 06:15:33 UTC

[airavata-custos] 13/30: Merge pull request #1 from aarushiibisht/custos-dev-abisht

This is an automated email from the ASF dual-hosted git repository.

smarru pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-custos.git

commit 1f8697ef5cf18efc1971dcb479789e5779a8e5b5
Merge: 3802acd 37a1821
Author: Aarushi Bisht <39...@users.noreply.github.com>
AuthorDate: Tue Jul 9 11:09:19 2019 -0400

    Merge pull request #1 from aarushiibisht/custos-dev-abisht
    
    Added authentication server, client and other common utilities

 .gitignore                                         |   39 +
 custos-authentication/pom.xml                      |   29 +
 .../cpi/CustosAuthenticationService.java           | 3408 ++++++++++++++++++++
 .../CustosAuthenticationServiceException.java      |  370 +++
 .../handler/CustosAuthenticationHandler.java       |   54 +
 .../server/CustosAuthenticationServer.java         |  137 +
 custos-client/pom.xml                              |   33 +
 .../service/AuthenticationServiceClient.java       |   23 +
 custos-commons/custos-server.properties            |    0
 custos-commons/pom.xml                             |   37 +
 .../exceptions/ApplicationSettingsException.java   |   14 +
 .../custos/commons/exceptions/CustosException.java |   35 +
 .../exceptions/CustosSecurityException.java        |   39 +
 .../custos/commons/model/security/AuthzToken.java  |  541 ++++
 .../custos/commons/model/security/UserInfo.java    |  875 +++++
 .../custos/commons/utils/ApplicationSettings.java  |  171 +
 .../org/apache/custos/commons/utils/Constants.java |   39 +
 .../apache/custos/commons/utils/CustosUtils.java   |   45 +
 .../org/apache/custos/commons/utils/IServer.java   |   49 +
 .../commons/utils/KeyStorePasswordCallback.java    |   69 +
 .../apache/custos/commons/utils/SecurityUtil.java  |  192 ++
 .../custos/commons/utils/ServerSettings.java       |   64 +
 .../apache/custos/commons/utils/StringUtil.java    |   43 +
 .../apache/custos/commons/utils/ThriftUtils.java   |   34 +
 custos-connectors/pom.xml                          |   41 +
 .../authzcache/AuthzCache.java                     |   61 +
 .../authzcache/AuthzCacheEntry.java                |   63 +
 .../authzcache/AuthzCacheIndex.java                |   90 +
 .../authzcache/AuthzCacheManager.java              |   80 +
 .../authzcache/AuthzCacheManagerFactory.java       |   60 +
 .../authzcache/AuthzCachedStatus.java              |   34 +
 .../authzcache/DefaultAuthzCacheManager.java       |  106 +
 .../manager/CustosSecurityManager.java             |   60 +
 .../manager/IdentityContext.java                   |   45 +
 .../manager/KeyCloakSecurityManager.java           |  242 ++
 .../manager/SecurityManagerFactory.java            |   60 +
 .../utils/TrustStoreManager.java                   |  100 +
 ide-integration/pom.xml                            |   29 +
 .../src/main/java/CustosAPIServerStarted.java      |    8 +
 .../src/main/resources/custos-server.properties    |   46 +
 .../src/main/resources/docker-compose.yml          |   15 +
 .../main/resources/keycloak/Default-export.json    | 1508 +++++++++
 .../main/resources/keycloak/Default-export.json.bk | 1507 +++++++++
 .../src/main/resources/keycloak/standalone.xml     |  521 +++
 pom.xml                                            |   67 +
 .../authentication-service-cpi.thrift              |   14 +
 .../authentication_service_cpi_errors.thrift       |   27 +
 .../authentication-service/security_model.thrift   |   15 +
 .../authentication-service/userInfo_model.thrift   |   33 +
 49 files changed, 11172 insertions(+)