Package io.fathom.cloud.protobuf.IdentityModel

Examples of io.fathom.cloud.protobuf.IdentityModel.ProjectData


        return authRepository.getRoles().list();
    }

    @Override
    public void fixupProject(AuthenticatedUser user, long projectId) throws CloudException {
        ProjectData project = findProject(user, projectId);
        if (project == null) {
            log.warn("Could not find project");
            return;
        }

        ProjectRoles projectRoles = Users.findProjectRoles(user.getUserData(), project.getId());
        if (projectRoles == null) {
            log.warn("Could not find role on project");
            // TODO: We probably need another path for domain admins
            return;
        }
View Full Code Here


        }
    }

    @Override
    public AuthenticatedProject authenticateToProject(AuthenticatedUser user, long projectId) throws CloudException {
        ProjectData project = findProject(user, projectId);
        if (project == null) {
            return null;
        }

        AuthenticatedProject authenticatedProject = secretService.authenticate(project, user);
View Full Code Here

TOP

Related Classes of io.fathom.cloud.protobuf.IdentityModel.ProjectData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.